]> source.dussan.org Git - archiva.git/commitdiff
Correcting unit tests for jesse.
authorJoakim Erdfelt <joakime@apache.org>
Wed, 11 Apr 2007 20:45:10 +0000 (20:45 +0000)
committerJoakim Erdfelt <joakime@apache.org>
Wed, 11 Apr 2007 20:45:10 +0000 (20:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527658 13f79535-47bb-0310-9956-ffa450edef68

archiva-base/archiva-scheduled/src/test/java/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.java
archiva-base/archiva-scheduled/src/test/resources/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.xml

index ac19bc29700f81ca26879de69a4193fa0c954d77..a3028ee2e2e8bb3b5f5e97333635343c77d3d8f0 100644 (file)
@@ -45,8 +45,7 @@ public class ArchivaScheduledTaskExecutorTest
     {
         super.setUp();
 
-        taskExecutor = (TaskExecutor) lookup( "org.codehaus.plexus.taskqueue.execution.TaskExecutor", "test-archiva-task-executor" );
-       
+        taskExecutor = (TaskExecutor) lookup( TaskExecutor.class.getName(), "test-archiva-task-executor" );
     }
 
     public void testExecutor()
index 5f2269d2fec029c01290772d784c3c84839c0711..4212f04c9506a0b1ae3deffc109c2374827c0b5a 100644 (file)
@@ -19,8 +19,8 @@
   -->
 
 <component-set>
-
-  <component>
+  <components>
+    <component>
       <role>org.codehaus.plexus.taskqueue.execution.TaskExecutor</role>
       <role-hint>test-archiva-task-executor</role-hint>
       <implementation>org.apache.maven.archiva.scheduled.executors.ArchivaScheduledTaskExecutor</implementation>
@@ -63,5 +63,5 @@
         </properties>
       </configuration>
     </component>
-
+  </components>
 </component-set>