27 lines
530 B
Java
27 lines
530 B
Java
package customization.test;
|
|
|
|
import customization.commons.Console;
|
|
import org.junit.After;
|
|
import org.junit.AfterClass;
|
|
import org.junit.Before;
|
|
import weaver.general.GCONST;
|
|
|
|
import java.net.InetAddress;
|
|
import java.net.UnknownHostException;
|
|
|
|
public class BaseTest {
|
|
|
|
@Before
|
|
public void before() throws Exception {
|
|
GCONST.setServerName("ecology");
|
|
GCONST.setRootPath("H:\\e-cology-dev\\web\\");
|
|
}
|
|
|
|
@AfterClass
|
|
public static void after() {
|
|
System.out.println("单元测试结束!");
|
|
}
|
|
|
|
|
|
}
|