Methods Summary |
---|
static void | common()
String oldThreadName = Thread.currentThread().getName();
Thread.currentThread().setName("main");
logger.log(XLevel.TRACE, "m0");
logger.debug("m1");
logger.info("m2");
logger.warn("m3");
logger.error("m4");
logger.fatal("m5");
Thread.currentThread().setName(oldThreadName);
|
public void | setUp()
|
public static junit.framework.Test | suite()
TestSuite suite = new TestSuite();
suite.addTest(new HierarchyThresholdTestCase("test1"));
suite.addTest(new HierarchyThresholdTestCase("test2"));
suite.addTest(new HierarchyThresholdTestCase("test3"));
suite.addTest(new HierarchyThresholdTestCase("test4"));
suite.addTest(new HierarchyThresholdTestCase("test5"));
suite.addTest(new HierarchyThresholdTestCase("test6"));
suite.addTest(new HierarchyThresholdTestCase("test7"));
suite.addTest(new HierarchyThresholdTestCase("test8"));
return suite;
|
public void | tearDown()
System.out.println("Tearing down test case.");
logger.getLoggerRepository().resetConfiguration();
|
public void | test1()
PropertyConfigurator.configure("input/hierarchyThreshold1.properties");
common();
assertTrue(Compare.compare(TEMP, "witness/hierarchyThreshold.1"));
|
public void | test2()
PropertyConfigurator.configure("input/hierarchyThreshold2.properties");
common();
assertTrue(Compare.compare(TEMP, "witness/hierarchyThreshold.2"));
|
public void | test3()
PropertyConfigurator.configure("input/hierarchyThreshold3.properties");
common();
assertTrue(Compare.compare(TEMP, "witness/hierarchyThreshold.3"));
|
public void | test4()
PropertyConfigurator.configure("input/hierarchyThreshold4.properties");
common();
assertTrue(Compare.compare(TEMP, "witness/hierarchyThreshold.4"));
|
public void | test5()
PropertyConfigurator.configure("input/hierarchyThreshold5.properties");
common();
assertTrue(Compare.compare(TEMP, "witness/hierarchyThreshold.5"));
|
public void | test6()
PropertyConfigurator.configure("input/hierarchyThreshold6.properties");
common();
assertTrue(Compare.compare(TEMP, "witness/hierarchyThreshold.6"));
|
public void | test7()
PropertyConfigurator.configure("input/hierarchyThreshold7.properties");
common();
assertTrue(Compare.compare(TEMP, "witness/hierarchyThreshold.7"));
|
public void | test8()
PropertyConfigurator.configure("input/hierarchyThreshold8.properties");
common();
assertTrue(Compare.compare(TEMP, "witness/hierarchyThreshold.8"));
|