From 0e3227a45f878c7fe9620ee91b56e4017d515bf8 Mon Sep 17 00:00:00 2001
From: ribeaudc <ribeaudc>
Date: Fri, 23 May 2008 14:48:47 +0000
Subject: [PATCH] fix: - DataMover Unit tests.

SVN: 6279
---
 .../cisd/datamover/IncomingProcessorTest.java        | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/datamover/sourceTest/java/ch/systemsx/cisd/datamover/IncomingProcessorTest.java b/datamover/sourceTest/java/ch/systemsx/cisd/datamover/IncomingProcessorTest.java
index 47ab5a9b008..16dc6e5b050 100644
--- a/datamover/sourceTest/java/ch/systemsx/cisd/datamover/IncomingProcessorTest.java
+++ b/datamover/sourceTest/java/ch/systemsx/cisd/datamover/IncomingProcessorTest.java
@@ -143,7 +143,9 @@ public class IncomingProcessorTest
         dataMoverTimerTask.run(); // 2. round finds that quiet period is over
 
         assertEquals(
-                "DEBUG OPERATION.ch.systemsx.cisd.common.utilities.DirectoryScanningTimerTask - Following store item \'test-data.txt\' has been handled.",
+                "DEBUG OPERATION.ch.systemsx.cisd.common.utilities.DirectoryScanningTimerTask - Following store item 'test-data.txt' has been handled."
+                        + OSUtilities.LINE_SEPARATOR
+                        + "DEBUG OPERATION.ch.systemsx.cisd.common.utilities.FaultyPathDirectoryScanningHandler - Following path 'targets/unit-test/IncomingProcessorTest/incoming/test-data.txt\' has been added to faulty paths file \'<wd>/targets/unit-test/IncomingProcessorTest/copy-in-progress/.faulty_paths'",
                 getNormalizedLogContent());
 
         context.assertIsSatisfied();
@@ -191,7 +193,9 @@ public class IncomingProcessorTest
                         + LOG_DEBUG_MACHINE_PREFIX
                         + "\"hello world\""
                         + OSUtilities.LINE_SEPARATOR
-                        + "DEBUG OPERATION.ch.systemsx.cisd.common.utilities.DirectoryScanningTimerTask - Following store item 'test-data.txt' has been handled.",
+                        + "DEBUG OPERATION.ch.systemsx.cisd.common.utilities.DirectoryScanningTimerTask - Following store item 'test-data.txt' has been handled."
+                        + OSUtilities.LINE_SEPARATOR
+                        + "DEBUG OPERATION.ch.systemsx.cisd.common.utilities.FaultyPathDirectoryScanningHandler - Following path 'targets/unit-test/IncomingProcessorTest/incoming/test-data.txt\' has been added to faulty paths file \'<wd>/targets/unit-test/IncomingProcessorTest/copy-in-progress/.faulty_paths'",
                 getNormalizedLogContent());
 
         context.assertIsSatisfied();
@@ -272,7 +276,9 @@ public class IncomingProcessorTest
                         + LOG_DEBUG_MACHINE_PREFIX
                         + "\"removed `targets/unit-test/IncomingProcessorTest/blabla.txt'\""
                         + OSUtilities.LINE_SEPARATOR
-                        + "DEBUG OPERATION.ch.systemsx.cisd.common.utilities.DirectoryScanningTimerTask - Following store item 'test-data.txt' has been handled.",
+                        + "DEBUG OPERATION.ch.systemsx.cisd.common.utilities.DirectoryScanningTimerTask - Following store item 'test-data.txt' has been handled."
+                        + OSUtilities.LINE_SEPARATOR
+                        + "DEBUG OPERATION.ch.systemsx.cisd.common.utilities.FaultyPathDirectoryScanningHandler - Following path 'targets/unit-test/IncomingProcessorTest/incoming/test-data.txt' has been added to faulty paths file '<wd>/targets/unit-test/IncomingProcessorTest/copy-in-progress/.faulty_paths'",
                 getNormalizedLogContent());
 
         context.assertIsSatisfied();
-- 
GitLab