Author: ozizka(a)redhat.com
Date: 2009-08-27 20:18:29 -0400 (Thu, 27 Aug 2009)
New Revision: 706
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java
Log:
* JMS test updated.
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java 2009-08-27
23:32:36 UTC (rev 705)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java 2009-08-28
00:18:29 UTC (rev 706)
@@ -645,6 +645,7 @@
expectedBuffer.append(formatTableCell("(-|\\d+)")); // Count delta
-
expectedBuffer.append(formatTableCell("2")); // Depth
2
expectedBuffer.append(formatTableCell("\\d+")); // Depth delta
2
+ expectedBuffer.append(formatTableCell(".*")); // Depth delta 2
expectedValues.add(expectedBuffer.toString());
@@ -979,7 +980,7 @@
for(int i = 0; i < expectedValues.size(); i++) {
//if( !shortenedResult.contains(expectedValues.get(i)) )
if( !shortenedResult.matches(expectedValues.get(i)) )
- fail("Expected the result to contain:\n\n" + expectedValues.get(i) +
"\n\nbut was:\n\n" + shortenedResult);
+ fail("Expected the result to match:\n\n" + expectedValues.get(i) +
"\n\nbut was:\n\n" + shortenedResult);
}
// Clean up
Show replies by date