[jbosscache-commits] JBoss Cache SVN: r5868 - core/trunk/src/test/java/org/jboss/cache/commands/read.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Fri May 16 10:46:15 EDT 2008
Author: manik.surtani at 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 at jboss.com
* @since 2.2
*/
+ at Test(groups = "unit")
public abstract class AbstractDataCommandTest
{
protected Fqn testFqn = Fqn.fromString("/testfqn");
More information about the jbosscache-commits
mailing list