Correcting unit tests for jesse.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joakim Erdfelt 2007-04-11 20:45:10 +00:00
parent 454fb5b0be
commit 2ce32e94ab
2 changed files with 4 additions and 5 deletions

View 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()

View 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>