Created
July 27, 2010 23:16
-
-
Save dehowell/493039 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.hadoop.hbase.HBaseTestingUtility; | |
import org.junit.*; | |
import static org.junit.Assert.*; | |
public class HBaseTest { | |
private static final HBaseTestingUtility TEST_UTIL = new HBaseTestingUtility(); | |
@BeforeClass | |
public static void setUpBeforeClass() throws Exception { | |
TEST_UTIL.startMiniCluster(1); | |
} | |
@AfterClass | |
public static void tearDownAfterClass() throws Exception { | |
TEST_UTIL.shutdownMiniCluster(); | |
} | |
@Test | |
public void testSetupShouldSucceed() throws Exception { | |
assertTrue(true); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment