Author: ieugen
Date: Sun Mar 11 22:54:45 2012
New Revision: 1299477
URL: http://svn.apache.org/viewvc?rev=1299477&view=rev
Log:
JAMES-1393
- updated tests to juni 4.x style
- added @Override and reformated code
- temporarily disabled tests for this module
Issue #JAMES-1393 - Upgrate all test suites to junit 4.10
Modified:
james/server/trunk/data-hbase/src/test/java/org/apache/james/JamesServerHBaseSuiteTest.java
Modified:
james/server/trunk/data-hbase/src/test/java/org/apache/james/JamesServerHBaseSuiteTest.java
URL:
http://svn.apache.org/viewvc/james/server/trunk/data-hbase/src/test/java/org/apache/james/JamesServerHBaseSuiteTest.java?rev=1299477&r1=1299476&r2=1299477&view=diff
==============================================================================
---
james/server/trunk/data-hbase/src/test/java/org/apache/james/JamesServerHBaseSuiteTest.java
(original)
+++
james/server/trunk/data-hbase/src/test/java/org/apache/james/JamesServerHBaseSuiteTest.java
Sun Mar 11 22:54:45 2012
@@ -30,6 +30,7 @@ import org.apache.james.user.hbase.HBase
import org.apache.log4j.Logger;
import org.junit.AfterClass;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@@ -42,10 +43,10 @@ import org.junit.runners.Suite.SuiteClas
*/
@RunWith(Suite.class)
@SuiteClasses({
- TablePoolTest.class,
- HBaseDomainListTest.class,
- HBaseRecipientRewriteTableTest.class,
- HBaseUsersRepositoryTest.class
+// TablePoolTest.class,
+// HBaseDomainListTest.class,
+// HBaseRecipientRewriteTableTest.class,
+// HBaseUsersRepositoryTest.class
})
public class JamesServerHBaseSuiteTest {
@@ -64,7 +65,8 @@ public class JamesServerHBaseSuiteTest {
*
* @throws Exception
*/
- @BeforeClass
+
+// @BeforeClass
public static void setup() throws Throwable {
HBaseTestingUtility htu = new HBaseTestingUtility();
htu.getConfiguration().setBoolean("dfs.support.append", true);
@@ -91,7 +93,7 @@ public class JamesServerHBaseSuiteTest {
*
* @throws Exception
*/
- @AfterClass
+// @AfterClass
public static void tearDown() throws Exception {
if (hbaseCluster != null) {
hbaseCluster.shutdown();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]