Author: manik.surtani(a)jboss.com
Date: 2008-05-16 10:46:15 -0400 (Fri, 16 May 2008)
New Revision: 5868
Modified:
core/trunk/src/test/java/org/jboss/cache/commands/read/AbstractDataCommandTest.java
Log:
Need to annotate abstract superclasses so that @BeforeMethod methods will be called. This
is only a bug when executing from Maven.
Modified:
core/trunk/src/test/java/org/jboss/cache/commands/read/AbstractDataCommandTest.java
===================================================================
---
core/trunk/src/test/java/org/jboss/cache/commands/read/AbstractDataCommandTest.java 2008-05-16
14:42:33 UTC (rev 5867)
+++
core/trunk/src/test/java/org/jboss/cache/commands/read/AbstractDataCommandTest.java 2008-05-16
14:46:15 UTC (rev 5868)
@@ -1,10 +1,10 @@
package org.jboss.cache.commands.read;
+import static org.easymock.EasyMock.createMock;
+import org.jboss.cache.DataContainer;
import org.jboss.cache.Fqn;
-import org.jboss.cache.DataContainer;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
-import static org.easymock.EasyMock.createMock;
/**
* Class that has convinience fixture for all tests that operated on {@link
AbstractDataCommand}
@@ -12,6 +12,7 @@
* @author Mircea.Markus(a)jboss.com
* @since 2.2
*/
+@Test(groups = "unit")
public abstract class AbstractDataCommandTest
{
protected Fqn testFqn = Fqn.fromString("/testfqn");
Show replies by date