|
From: Teiniker E. <tei...@us...> - 2007-04-12 15:09:32
|
Update of /cvsroot/ccmtools/ccmtools/src-test/ccmtools/generator/java/remote In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv32248/src-test/ccmtools/generator/java/remote Modified Files: FacetTest.java Log Message: Refactored JUnit test to support execution on Windows platforms. Index: FacetTest.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/src-test/ccmtools/generator/java/remote/FacetTest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FacetTest.java 12 Apr 2007 12:47:33 -0000 1.2 --- FacetTest.java 12 Apr 2007 15:09:27 -0000 1.3 *************** *** 19,23 **** // get current working directory (this is where build.xml is executed) ccmtoolsDir = System.getProperty("user.dir"); ! testDir = ccmtoolsDir + "/test/JavaRemoteComponents"; } --- 19,23 ---- // get current working directory (this is where build.xml is executed) ccmtoolsDir = System.getProperty("user.dir"); ! testDir = ccmtoolsDir + SEP + "test" + SEP + "JavaRemoteComponents"; } *************** *** 81,90 **** { try ! { ! executeCommandLine("ant -f " + testDir + SEP + "facet_simple" + SEP + "Makefile.xml"); } catch(Exception e) { ! fail(); } } --- 81,90 ---- { try ! { ! runAnt("-f " + testDir + SEP + "facet_simple" + SEP + "Makefile.xml"); } catch(Exception e) { ! fail(e.getMessage()); } } |