1 5 6 package org.joseki.test; 7 8 import junit.framework.* ; 9 10 14 public class JosekiTests extends TestSuite 15 { 16 17 18 static public TestSuite suite() { 19 return new JosekiTests() ; 20 } 21 22 JosekiClientLibraryTests clientLibraryTests = null ; 23 24 public JosekiTests() 25 { 26 super("Joseki test suite") ; 27 28 if ( System.getProperty("log4j.configuration") == null ) 29 System.setProperty("log4j.configuration", "file:etc/log4j-test.properties") ; 30 31 34 addTest(new JosekiServerInternalTests()) ; 35 TestServer s = new TestServer() ; 36 s.createServer() ; 37 addTest(new JosekiClientLibraryTests(s)) ; 38 } 40 41 public static void main(String [] args) 42 { 43 boolean verboseTests = false ; 44 junit.textui.TestRunner.run(new JosekiTests()) ; 45 } 46 } 47 48 49 75 | Popular Tags |