[jboss-svn-commits] JBL Code SVN: r5762 - labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/listeners
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Aug 11 09:59:35 EDT 2006
Author: tfennelly
Date: 2006-08-11 09:59:33 -0400 (Fri, 11 Aug 2006)
New Revision: 5762
Modified:
labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/listeners/DirectoryPollerTest.java
Log:
updated comments
Modified: labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/listeners/DirectoryPollerTest.java
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/listeners/DirectoryPollerTest.java 2006-08-11 13:57:16 UTC (rev 5761)
+++ labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/listeners/DirectoryPollerTest.java 2006-08-11 13:59:33 UTC (rev 5762)
@@ -56,13 +56,13 @@
FileUtils.writeDataToFile(new File(inputDir, "infile1.inp"), "Great goal by Maradona!!".getBytes());
// Make sure the input gets processed to the "inputDoneDir"
FileUtils.assertFileExists(new File(inputDoneDir, "infile1.inp.DONE"), 10000);
- // Make sure the input gets removed from the "inputDoneDir"...
+ // Make sure the input gets removed from the "inputDir"...
FileUtils.assertFileDoesntExists(new File(inputDir, "infile1.inp"), 10000);
// Make sure the notifications appear in the "copiedTo" dir...
FileUtils.assertFileExists(new File(copiedTo, "infile1.inp.outFromFirst"), 10000);
FileUtils.assertFileExists(new File(copiedTo, "infile1.inp.outFromSecond"), 10000);
- // Make sure there's no open fle handles on the files created/copied by the ESB...
+ // Make sure there's no open file handles on the files created/copied by the ESB...
FileUtils.assertCanDelete(new File(inputDoneDir, "infile1.inp.DONE"), 10000);
FileUtils.assertCanDelete(new File(copiedTo, "infile1.inp.outFromFirst"), 10000);
FileUtils.assertCanDelete(new File(copiedTo, "infile1.inp.outFromSecond"), 10000);
@@ -72,6 +72,7 @@
// Send a Shutdown message to the command queue...
JMSClientUtil.sendMessageToQueue("shutdown", JMSClientUtil.QUEUE.A, new KeyValuePair[] {new KeyValuePair("gpMsgSelector", "test")});
+ // Make sure the Shutdown was successful...
listenersMgr.assertShutdownOK(10000);
}
More information about the jboss-svn-commits
mailing list