continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r220330 - /maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/store/ContinuumTypicalUsageTest.java
Date Fri, 22 Jul 2005 14:36:57 GMT
Author: jvanzyl
Date: Fri Jul 22 07:36:53 2005
New Revision: 220330

URL: http://svn.apache.org/viewcvs?rev=220330&view=rev
Log: (empty)

Modified:
    maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/store/ContinuumTypicalUsageTest.java

Modified: maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/store/ContinuumTypicalUsageTest.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/store/ContinuumTypicalUsageTest.java?rev=220330&r1=220329&r2=220330&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/store/ContinuumTypicalUsageTest.java
(original)
+++ maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/store/ContinuumTypicalUsageTest.java
Fri Jul 22 07:36:53 2005
@@ -17,15 +17,14 @@
  */
 
 import org.apache.maven.continuum.AbstractContinuumTest;
-import org.apache.maven.continuum.project.ContinuumProject;
+import org.apache.maven.continuum.Continuum;
+import org.apache.maven.continuum.initialization.DefaultContinuumInitializer;
 import org.apache.maven.continuum.project.ContinuumProjectGroup;
 import org.apache.maven.continuum.project.MavenTwoProject;
-import org.apache.maven.continuum.initialization.ContinuumInitializer;
-import org.apache.maven.continuum.initialization.DefaultContinuumInitializer;
 
 /**
  * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
- * @version $Id:$
+ * @version $Id$
  */
 public class ContinuumTypicalUsageTest
     extends AbstractContinuumTest
@@ -56,16 +55,9 @@
     public void testContinuumTypicalUsage()
         throws Exception
     {
-        // ----------------------------------------------------------------------
-        // Simulate the initial running of the system which will create the
-        // default project group and the default build settings.
-        // ----------------------------------------------------------------------
-
-        ContinuumInitializer initializer = (ContinuumInitializer) lookup( ContinuumInitializer.ROLE
);
-
-        initializer.initialize();
+        Continuum continuum = (Continuum) lookup( Continuum.ROLE );
 
-        ContinuumProjectGroup defaultProjectGroup = initializer.getDefaultProjectGroup();
+        ContinuumProjectGroup defaultProjectGroup = continuum.getDefaultProjectGroup();
 
         // ----------------------------------------------------------------------
         // At this point we can now accept new projects into the system



Mime
View raw message