From: Steve L. <st...@us...> - 2004-07-06 09:30:45
|
Update of /cvsroot/smartfrog/core/testharness/testcases/org/smartfrog/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26689/testharness/testcases/org/smartfrog/test Modified Files: SmartFrogTestBase.java Log Message: move startup code into startup(). Index: SmartFrogTestBase.java =================================================================== RCS file: /cvsroot/smartfrog/core/testharness/testcases/org/smartfrog/test/SmartFrogTestBase.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SmartFrogTestBase.java 23 Jun 2004 12:31:54 -0000 1.5 --- SmartFrogTestBase.java 6 Jul 2004 09:30:36 -0000 1.6 *************** *** 74,80 **** public SmartFrogTestBase(String name) { super(name); ! hostname = TestHelper.getTestProperty(TestHelper.HOSTNAME,"localhost"); ! String classesdirname = TestHelper.getTestProperty(TestHelper.CLASSESDIR,null); ! if(classesdirname!=null) { classesDir = new File(classesdirname); } --- 74,88 ---- public SmartFrogTestBase(String name) { super(name); ! } ! ! /** ! * Sets up the fixture, for example, open a network connection. This method ! * is called before a test is executed. ! */ ! protected void setUp() throws Exception { ! super.setUp(); ! hostname = TestHelper.getTestProperty(TestHelper.HOSTNAME, "localhost"); ! String classesdirname = TestHelper.getTestProperty(TestHelper.CLASSESDIR, null); ! if (classesdirname != null) { classesDir = new File(classesdirname); } |