Package org.zkoss.zats.mimic
Interface ZatsEnvironment
-
- All Known Implementing Classes:
DefaultZatsEnvironment
public interface ZatsEnvironmentthe ZATS environment, to init/destroy a ZATS runtime for testing.- Author:
- Hawk, Dennis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcleanup()to close all the unclosed clientvoiddestroy()destroy this environment to release the resource.voidinit(String resourceRoot)initialize testing environmentClientnewClient()create a client
-
-
-
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
-
-