[jbosscache-commits] JBoss Cache SVN: r7404 - core/trunk/src/test/java/org/jboss/cache/config/parsing.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Thu Jan 8 08:09:38 EST 2009


Author: mircea.markus
Date: 2009-01-08 08:09:38 -0500 (Thu, 08 Jan 2009)
New Revision: 7404

Modified:
   core/trunk/src/test/java/org/jboss/cache/config/parsing/SampleConfigFilesCorrectnessTest.java
Log:
updated xpected error message

Modified: core/trunk/src/test/java/org/jboss/cache/config/parsing/SampleConfigFilesCorrectnessTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/config/parsing/SampleConfigFilesCorrectnessTest.java	2009-01-08 12:58:39 UTC (rev 7403)
+++ core/trunk/src/test/java/org/jboss/cache/config/parsing/SampleConfigFilesCorrectnessTest.java	2009-01-08 13:09:38 UTC (rev 7404)
@@ -35,6 +35,7 @@
 
 import java.io.File;
 import java.io.FilenameFilter;
+import java.util.Arrays;
 
 /**
  * The purpose of this test is to make sure that the config files we ship are correct both according to xml schema and
@@ -118,7 +119,7 @@
       String[] TOLERABLE_WARNINGS =
             {
                   "DummyTransactionManager",
-                  "could not bind to /228.10.10.10" //this might appear on some linuxes... 
+                  "could not bind to /228.10.10" //this might appear on some linuxes...
             };
       boolean foundUnknownWarning = false;
 
@@ -145,7 +146,11 @@
                }
             }
 
-            if (!skipPrinting) System.out.println("InMemoryAppender ****** " + event.getMessage().toString());
+            if (!skipPrinting)
+            {
+               System.out.println("InMemoryAppender ****** " + event.getMessage().toString());
+               System.out.println("TOLERABLE_WARNINGS: " + Arrays.toString(TOLERABLE_WARNINGS));
+            }
          }
       }
 




More information about the jbosscache-commits mailing list