package com.mycompany.app; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( String testName ) { super( testName ); } /** * @return the suite of tests being tested */ public static Test suite() throws java.lang.InterruptedException { System.out.println(Thread.currentThread().getContextClassLoader().getResource("log4j.properties")); System.out.println(AppTest.class.getClassLoader().getResource("log4j.properties")); Thread.currentThread().sleep(1000); return new TestSuite( AppTest.class ); } /** * Rigourous Test :-) */ public void testApp() { assertTrue( true ); } }