dion 2002/06/21 21:55:04
Modified: src/test/org/apache/maven BuildTest.java
Log:
Fixed methods being called needlessly.
testProperties was being used, even though only testConfigure.... was needed
Revision Changes Path
1.10 +1 -4 jakarta-turbine-maven/src/test/org/apache/maven/BuildTest.java
Index: BuildTest.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/test/org/apache/maven/BuildTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- BuildTest.java 20 Jun 2002 12:46:05 -0000 1.9
+++ BuildTest.java 22 Jun 2002 04:55:04 -0000 1.10
@@ -138,7 +138,6 @@
public void testProperties() throws Exception
{
testConfigureProjectDescriptorLong();
- instance.loadProperties();
assertTrue(!instance.getProperty("lib.repo").equals("lib.repo"));
assertTrue(!instance.getProperty("maven.home").equals("maven.home"));
}
@@ -162,7 +161,6 @@
*/
public void testProject() throws Exception
{
- testConfigureProjectDescriptorShort();
testProperties();
assertEquals("maven descriptor not loaded correctly", "1.0-b5-dev",
instance.getProperty("maven.currentVersion"));
@@ -176,7 +174,6 @@
*/
public void testRepositories() throws Exception
{
- testConfigureProjectDescriptorShort();
testProperties();
assertTrue("lib.repo is null", instance.getLocalRepository() != null);
assertTrue("maven.jar not found in lib.repo",
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>