From 2ce32e94ab1175f5b5fb72c732e5d9e44377c0a5 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Wed, 11 Apr 2007 20:45:10 +0000 Subject: [PATCH] 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 --- .../executors/ArchivaScheduledTaskExecutorTest.java | 3 +-- .../executors/ArchivaScheduledTaskExecutorTest.xml | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) 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 @@ - + -- 2.39.5