Skip to content
Snippets Groups Projects
Commit 0e3227a4 authored by ribeaudc's avatar ribeaudc
Browse files

fix: - DataMover Unit tests.

SVN: 6279
parent ff073e79
No related branches found
No related tags found
No related merge requests found
...@@ -143,7 +143,9 @@ public class IncomingProcessorTest ...@@ -143,7 +143,9 @@ public class IncomingProcessorTest
dataMoverTimerTask.run(); // 2. round finds that quiet period is over dataMoverTimerTask.run(); // 2. round finds that quiet period is over
assertEquals( 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()); getNormalizedLogContent());
context.assertIsSatisfied(); context.assertIsSatisfied();
...@@ -191,7 +193,9 @@ public class IncomingProcessorTest ...@@ -191,7 +193,9 @@ public class IncomingProcessorTest
+ LOG_DEBUG_MACHINE_PREFIX + LOG_DEBUG_MACHINE_PREFIX
+ "\"hello world\"" + "\"hello world\""
+ OSUtilities.LINE_SEPARATOR + 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()); getNormalizedLogContent());
context.assertIsSatisfied(); context.assertIsSatisfied();
...@@ -272,7 +276,9 @@ public class IncomingProcessorTest ...@@ -272,7 +276,9 @@ public class IncomingProcessorTest
+ LOG_DEBUG_MACHINE_PREFIX + LOG_DEBUG_MACHINE_PREFIX
+ "\"removed `targets/unit-test/IncomingProcessorTest/blabla.txt'\"" + "\"removed `targets/unit-test/IncomingProcessorTest/blabla.txt'\""
+ OSUtilities.LINE_SEPARATOR + 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()); getNormalizedLogContent());
context.assertIsSatisfied(); context.assertIsSatisfied();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment