[jbosscache-commits] JBoss Cache SVN: r7293 - core/trunk/src/test/java/org/jboss/cache/jmx/deprecated.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Fri Dec 12 03:39:59 EST 2008
Author: mircea.markus
Date: 2008-12-12 03:39:59 -0500 (Fri, 12 Dec 2008)
New Revision: 7293
Modified:
core/trunk/src/test/java/org/jboss/cache/jmx/deprecated/CacheJmxWrapperTest.java
core/trunk/src/test/java/org/jboss/cache/jmx/deprecated/LifecycleNotificationTest.java
Log:
removed System.out.print
Modified: core/trunk/src/test/java/org/jboss/cache/jmx/deprecated/CacheJmxWrapperTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/jmx/deprecated/CacheJmxWrapperTest.java 2008-12-12 08:39:46 UTC (rev 7292)
+++ core/trunk/src/test/java/org/jboss/cache/jmx/deprecated/CacheJmxWrapperTest.java 2008-12-12 08:39:59 UTC (rev 7293)
@@ -291,10 +291,8 @@
assertTrue(cache.getNumberOfNodes() > 0);
assertEquals(0, cache.getNumberOfAttributes());
- System.out.println("cache locks before restart:\n" + cache.printLockInfo());
cache.destroy();
cache.start();
- System.out.println("cache locks after restart:\n" + cache.printLockInfo());
assertEquals(0, cache.getNumberOfNodes());
assertEquals(0, cache.getNumberOfAttributes());
@@ -375,8 +373,6 @@
String details = html ? wrapper.printCacheDetailsAsHtml() : wrapper.printCacheDetails();
- System.out.println("Cache details: " + CachePrinter.printCacheDetails(cache));
- System.out.println("Details: " + details);
assertTrue("Details include testing", details.contains("testing"));
assertTrue("Details include jmx", details.contains("jmx"));
Modified: core/trunk/src/test/java/org/jboss/cache/jmx/deprecated/LifecycleNotificationTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/jmx/deprecated/LifecycleNotificationTest.java 2008-12-12 08:39:46 UTC (rev 7292)
+++ core/trunk/src/test/java/org/jboss/cache/jmx/deprecated/LifecycleNotificationTest.java 2008-12-12 08:39:59 UTC (rev 7293)
@@ -76,7 +76,6 @@
assertEquals("Correct state after unregistration",
CacheJmxWrapperMBean.UNREGISTERED, wrapper.getState());
- System.out.println(listener.notifications);
assertEquals("Correct number of notifications received", 4, listener.notifications.size());
assertEquals("Correct first notification", new Integer(CacheJmxWrapperMBean.STARTING), listener.notifications.get(0));
assertEquals("Correct second notification", new Integer(CacheJmxWrapperMBean.STARTED), listener.notifications.get(1));
More information about the jbosscache-commits
mailing list