@@ -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'" +
@@ -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)); }
@@ -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(); }
@@ -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",
@@ -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 {