public class Zats
extends java.lang.Object
ZatsEnvironment
Constructor and Description |
---|
Zats() |
Modifier and Type | Method and Description |
---|---|
static void |
cleanup()
to cleanup the held
ZatsEnvironment |
static void |
end()
to end the test runtime and destroy the held
ZatsEnvironment . |
static void |
init(java.lang.String resourceRoot)
To initialize a test runtime and hold a
ZatsEnvironment , the default environment is DefaultZatsEnvironment . |
static Client |
newClient()
to create a new client
|
public static void init(java.lang.String resourceRoot)
ZatsEnvironment
, the default environment is DefaultZatsEnvironment
.
It use built-in configuration files(web.xml,zk.xml) for starting quickly and safely.resourceRoot
- the resource root folder of the zul, it is usually the web content folder.public static void end()
ZatsEnvironment
.public static Client newClient()
public static void cleanup()
ZatsEnvironment
Copyright © 2019 Potix Corporation. All rights reserved.