org.junit.Test



Project Activiti/Activiti in file ...src.test.java.org.activiti.test.json.JsonTest.java (2010-06-21)
@@ -19,6 +19,7 @@ import org.activiti.ProcessService;
 import org.activiti.json.JsonListConverter;
 import org.activiti.json.JsonProcessDefinitionConverter;
 import org.activiti.test.ActivitiTestCase;
+import org.junit.Test;
 
 
 /**
@@ -26,6 +27,7 @@ import org.activiti.test.ActivitiTestCase;
  */
 public class JsonTest extends ActivitiTestCase {
 
+  @Test
   public void testJson() {
     deployProcessString(
       "<definitions xmlns='http://www.omg.org/spec/BPMN/20100524/MODEL'" +
Project alibaba/dubbo in file ...dubbo.monitor.simple.SimpleMonitorServiceTest.java (2011-11-28)
@@ -15,6 +15,8 @@
  */
 package com.alibaba.dubbo.monitor.simple;
 
+import org.junit.Test;
+
 import com.alibaba.dubbo.common.URL;
 import com.alibaba.dubbo.common.utils.NetUtils;
 
@@ -25,6 +27,7 @@ import com.alibaba.dubbo.common.utils.NetUtils;
  */
 public class SimpleMonitorServiceTest {
     
+    @Test
     public void testMonitor() {
         new SimpleMonitorService().count(new URL("dubbo", NetUtils.getLocalHost(), 0));
     }
Project alibaba/dubbo in file ...ubbo.registry.dubbo.SimpleRegistryServiceTest.java (2011-11-28)
@@ -15,6 +15,8 @@
  */
 package com.alibaba.dubbo.registry.dubbo;
 
+import org.junit.Test;
+
 import com.alibaba.dubbo.registry.simple.SimpleRegistryService;
 
 /**
@@ -24,6 +26,7 @@ import com.alibaba.dubbo.registry.simple.SimpleRegistryService;
  */
 public class SimpleRegistryServiceTest {
 
+    @Test
     public void testRegistry() {
         new SimpleRegistryService();
     }
Project apache/hbase in file ...e.hadoop.hbase.regionserver.TestStoreFileInfo.java (2014-11-03)
@@ -23,6 +23,7 @@ import org.apache.hadoop.hbase.HBaseTestingUtility;
 import org.apache.hadoop.hbase.testclassification.RegionServerTests;
 import org.apache.hadoop.hbase.testclassification.SmallTests;
 import org.apache.hadoop.hbase.io.HFileLink;
+import org.junit.Test;
 import org.junit.experimental.categories.Category;
 
 /**
@@ -35,6 +36,7 @@ public class TestStoreFileInfo extends HBaseTestCase {
   /**
    * Validate that we can handle valid tables with '.', '_', and '-' chars.
    */
+  @Test
   public void testStoreFileNames() {
     String[] legalHFileLink = { "MyTable_02=abc012-def345", "MyTable_02.300=abc012-def345",
       "MyTable_02-400=abc012-def345", "MyTable_02-400.200=abc012-def345",
Project apache/hbase in file ...che.hadoop.hbase.regionserver.TestWideScanner.java (2014-11-03)
@@ -39,6 +39,7 @@ import org.apache.hadoop.hbase.client.Durability;
 import org.apache.hadoop.hbase.client.Put;
 import org.apache.hadoop.hbase.client.Scan;
 import org.apache.hadoop.hbase.util.Bytes;
+import org.junit.Test;
 import org.junit.experimental.categories.Category;
 
 @Category({RegionServerTests.class, SmallTests.class})
@@ -85,6 +86,7 @@ public class TestWideScanner extends HBaseTestCase {
     return count;
   }
 
+  @Test
   public void testWideScanBatching() throws IOException {
     final int batch = 256;
     try {