Author: manik.surtani(a)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")
+@Test
+// this needs to be here for the test to run in an IDE
public abstract class BaseCacheStoreTest {
protected abstract CacheStore createCacheStore();
Show replies by thread