Solve the Autorelease Error
[holmes/rule-management.git] / rulemgt / src / test / java / org / openo / holmes / rulemgt / RuleAppConfigTest.java
index 5724da2..996f80e 100644 (file)
@@ -18,11 +18,10 @@ package org.openo.holmes.rulemgt;
 \r
 import static org.hamcrest.core.IsEqual.equalTo;\r
 import static org.hamcrest.core.IsNull.notNullValue;\r
-import static org.junit.Assert.*;\r
+import static org.junit.Assert.assertThat;\r
 \r
 import io.dropwizard.db.DataSourceFactory;\r
 import org.junit.Before;\r
-import org.junit.Test;\r
 \r
 public class RuleAppConfigTest {\r
 \r
@@ -33,24 +32,20 @@ public class RuleAppConfigTest {
         ruleAppConfig = new RuleAppConfig();\r
     }\r
 \r
-    @Test\r
     public void getDataSourceFactory() throws Exception {\r
         assertThat(ruleAppConfig.getDataSourceFactory(), notNullValue());\r
     }\r
 \r
-    @Test\r
     public void setDataSourceFactory() throws Exception {\r
         final DataSourceFactory factory = new DataSourceFactory();\r
         ruleAppConfig.setDataSourceFactory(factory);\r
         assertThat(ruleAppConfig.getDataSourceFactory(), equalTo(factory));\r
     }\r
 \r
-    @Test\r
     public void getApidescription() throws Exception {\r
         assertThat(ruleAppConfig.getApidescription(), equalTo("Holmes rule management rest API"));\r
     }\r
 \r
-    @Test\r
     public void setApidescription() throws Exception {\r
         final String value = "desc";\r
         ruleAppConfig.setApidescription(value);\r