continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r578487 - /maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/installation/DefaultInstallationServiceTest.java
Date Sat, 22 Sep 2007 20:12:27 GMT
Author: olamy
Date: Sat Sep 22 13:12:26 2007
New Revision: 578487

URL: http://svn.apache.org/viewvc?rev=578487&view=rev
Log:
[CONTINUUM-1392] Continuum tests require too much external set up
remove the use of M2_HOME in test

Modified:
    maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/installation/DefaultInstallationServiceTest.java

Modified: maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/installation/DefaultInstallationServiceTest.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/installation/DefaultInstallationServiceTest.java?rev=578487&r1=578486&r2=578487&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/installation/DefaultInstallationServiceTest.java
(original)
+++ maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/installation/DefaultInstallationServiceTest.java
Sat Sep 22 13:12:26 2007
@@ -173,8 +173,7 @@
     {
         InstallationService installationService = (InstallationService) lookup( InstallationService.ROLE,
"default" );
         ExecutorConfigurator java = installationService.getExecutorConfigurator( InstallationService.MAVEN2_TYPE
);
-        String javaHome = System.getProperty( "M2_HOME" );
-        List<String> infos = installationService.getExecutorConfiguratorVersion( javaHome,
java, null );
+        List<String> infos = installationService.getExecutorConfiguratorVersion( null,
java, null );
         assertNotNull( infos );
     }
 



Mime
View raw message