EMBJOPR SVN: r781 - trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache.
by embjopr-commits@lists.jboss.org
Author: ozizka(a)redhat.com
Date: 2009-10-07 18:18:59 -0400 (Wed, 07 Oct 2009)
New Revision: 781
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheDataContainerTest.java
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheRegionManagerTest.java
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheRpcManagerTest.java
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheTransactionTableTest.java
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheTxInterceptorTest.java
Log:
* JBCache tests: Added assertion of running in "all" configuration.
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheDataContainerTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheDataContainerTest.java 2009-10-07 02:37:47 UTC (rev 780)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheDataContainerTest.java 2009-10-07 22:18:59 UTC (rev 781)
@@ -51,6 +51,9 @@
/** Helper method - performs an operation, collects the results and checks whether the values are as expected. */
public void checkOperationResults( String opName, Properties expected, ValuesValidator validator ) throws EmbJoprTestException, IOException
{
+ // For all calling test.
+ if( isJBossConfigWithoutCache() ) return;
+
ejtt.navTree.getNodeByLabel(JBCACHE_HA_PARTITION).expand();
ejtt.navTree.getNodeByLabel(SUBNODE_DATA_CONTAINER).click();
ejtt.getTabMenu().clickControlTab();
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheRegionManagerTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheRegionManagerTest.java 2009-10-07 02:37:47 UTC (rev 780)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheRegionManagerTest.java 2009-10-07 22:18:59 UTC (rev 781)
@@ -57,6 +57,7 @@
*
*/
public void testJBossCacheRegionManagerMetrics() throws IOException, EmbJoprTestException {
+ if( isJBossConfigWithoutCache() ) return;
navigateToNode();
ejtt.getTabMenu().clickMetricsTab();
@@ -73,6 +74,7 @@
*
*/
public void testJBossCacheRegionManagerControl() throws IOException, EmbJoprTestException {
+ if( isJBossConfigWithoutCache() ) return;
navigateToNode();
ejtt.getTabMenu().clickControlTab();
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheRpcManagerTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheRpcManagerTest.java 2009-10-07 02:37:47 UTC (rev 780)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheRpcManagerTest.java 2009-10-07 22:18:59 UTC (rev 781)
@@ -61,6 +61,7 @@
*
*/
public void testJBossCacheRpcManagerMetrics() throws IOException, EmbJoprTestException {
+ if( isJBossConfigWithoutCache() ) return;
navigateToNode();
ejtt.getTabMenu().clickMetricsTab();
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheTransactionTableTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheTransactionTableTest.java 2009-10-07 02:37:47 UTC (rev 780)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheTransactionTableTest.java 2009-10-07 22:18:59 UTC (rev 781)
@@ -61,6 +61,7 @@
*
*/
public void testJBossCacheTransactionTableMetrics() throws IOException, EmbJoprTestException {
+ if( isJBossConfigWithoutCache() ) return;
navigateToNode();
ejtt.getTabMenu().clickMetricsTab();
@@ -81,6 +82,7 @@
*
*/
public void testJBossCacheTransactionTableControl() throws IOException, EmbJoprTestException {
+ if( isJBossConfigWithoutCache() ) return;
navigateToNode();
ejtt.getTabMenu().clickControlTab();
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheTxInterceptorTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheTxInterceptorTest.java 2009-10-07 02:37:47 UTC (rev 780)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheTxInterceptorTest.java 2009-10-07 22:18:59 UTC (rev 781)
@@ -65,6 +65,7 @@
*
*/
public void testJBossCacheTxInterceptorMetrics() throws IOException, EmbJoprTestException {
+ if( isJBossConfigWithoutCache() ) return;
navigateToNode();
ejtt.getTabMenu().clickMetricsTab();