From: Joakim Erdfelt Date: Wed, 11 Apr 2007 20:45:10 +0000 (+0000) Subject: Correcting unit tests for jesse. X-Git-Tag: archiva-1.0-alpha-1~113^2~65 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2ce32e94ab1175f5b5fb72c732e5d9e44377c0a5;p=archiva.git 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 --- diff --git a/archiva-base/archiva-scheduled/src/test/java/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.java b/archiva-base/archiva-scheduled/src/test/java/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.java index ac19bc297..a3028ee2e 100644 --- a/archiva-base/archiva-scheduled/src/test/java/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.java +++ b/archiva-base/archiva-scheduled/src/test/java/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.java @@ -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() diff --git a/archiva-base/archiva-scheduled/src/test/resources/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.xml b/archiva-base/archiva-scheduled/src/test/resources/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.xml index 5f2269d2f..4212f04c9 100644 --- a/archiva-base/archiva-scheduled/src/test/resources/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.xml +++ b/archiva-base/archiva-scheduled/src/test/resources/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.xml @@ -19,8 +19,8 @@ --> - - + + org.codehaus.plexus.taskqueue.execution.TaskExecutor test-archiva-task-executor org.apache.maven.archiva.scheduled.executors.ArchivaScheduledTaskExecutor @@ -63,5 +63,5 @@ - +