From: Teiniker E. <tei...@us...> - 2007-04-12 12:47:36
|
Update of /cvsroot/ccmtools/ccmtools/src-test/ccmtools/generator/java/remote In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9800/src-test/ccmtools/generator/java/remote Modified Files: FacetTest.java Log Message: Refactored JUnit test to support Makefile.xml Index: FacetTest.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/src-test/ccmtools/generator/java/remote/FacetTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FacetTest.java 8 Nov 2006 10:31:41 -0000 1.1 --- FacetTest.java 12 Apr 2007 12:47:33 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package ccmtools.generator.java.remote; + import java.io.File; + import junit.framework.Test; import junit.framework.TestSuite; *************** *** 8,11 **** --- 10,14 ---- extends CcmtoolsTestCase { + private final String SEP = File.separator; private String ccmtoolsDir; private String testDir; *************** *** 78,83 **** { try ! { ! executeCommandLine("make -C " + testDir + "/facet_simple test"); } catch(Exception e) --- 81,86 ---- { try ! { ! executeCommandLine("ant -f " + testDir + SEP + "facet_simple" + SEP + "Makefile.xml"); } catch(Exception e) |