Interface ZatsEnvironment

  • All Known Implementing Classes:
    DefaultZatsEnvironment

    public interface ZatsEnvironment
    the ZATS environment, to init/destroy a ZATS runtime for testing.
    Author:
    Hawk, Dennis
    • Method Detail

      • init

        void init​(String resourceRoot)
        initialize testing environment
        Parameters:
        resourceRoot - the resource root folder of the zul, it is usually the web content folder.
      • destroy

        void destroy()
        destroy this environment to release the resource.
      • newClient

        Client newClient()
        create a client
      • cleanup

        void cleanup()
        to close all the unclosed client