[jbosscache-commits] JBoss Cache SVN: r7717 - core/branches/flat/src/test/java/org/horizon/loader.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Tue Feb 17 14:47:06 EST 2009


Author: manik.surtani at jboss.com
Date: 2009-02-17 14:47:05 -0500 (Tue, 17 Feb 2009)
New Revision: 7717

Modified:
   core/branches/flat/src/test/java/org/horizon/loader/BaseCacheStoreTest.java
Log:
abstract classes that contain test methods need this annotation otherwise IDEs don't recognise these methods.

Modified: core/branches/flat/src/test/java/org/horizon/loader/BaseCacheStoreTest.java
===================================================================
--- core/branches/flat/src/test/java/org/horizon/loader/BaseCacheStoreTest.java	2009-02-17 19:45:21 UTC (rev 7716)
+++ core/branches/flat/src/test/java/org/horizon/loader/BaseCacheStoreTest.java	2009-02-17 19:47:05 UTC (rev 7717)
@@ -11,6 +11,7 @@
 import org.horizon.util.Util;
 import org.testng.annotations.AfterMethod;
 import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
 
 import javax.transaction.Transaction;
 import java.io.ByteArrayInputStream;
@@ -22,6 +23,8 @@
 import java.util.Set;
 
 @SuppressWarnings("unchecked")
+ at Test
+// this needs to be here for the test to run in an IDE
 public abstract class BaseCacheStoreTest {
 
    protected abstract CacheStore createCacheStore();




More information about the jbosscache-commits mailing list