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 Summary

    Modifier and Type
    Method
    Description
    void
    to close all the unclosed client
    void
    destroy this environment to release the resource.
    void
    init(String resourceRoot)
    initialize testing environment
    create a client
  • Method Details

    • 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