summaryrefslogtreecommitdiffstats
path: root/rulemgt/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'rulemgt/src/test/java')
-rw-r--r--rulemgt/src/test/java/org/openo/holmes/rulemgt/RuleActiveAppTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/rulemgt/src/test/java/org/openo/holmes/rulemgt/RuleActiveAppTest.java b/rulemgt/src/test/java/org/openo/holmes/rulemgt/RuleActiveAppTest.java
index 0c2f3c1..4f35b94 100644
--- a/rulemgt/src/test/java/org/openo/holmes/rulemgt/RuleActiveAppTest.java
+++ b/rulemgt/src/test/java/org/openo/holmes/rulemgt/RuleActiveAppTest.java
@@ -19,15 +19,18 @@ package org.openo.holmes.rulemgt;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.IsEqual.equalTo;
+import org.junit.Test;
+
public class RuleActiveAppTest {
+ @Test
public void getName() throws Exception {
RuleActiveApp app = new RuleActiveApp();
assertThat(app.getName(), equalTo("Holmes Rule Management ActiveApp APP "));
}
public static void main(String[] args) throws Exception {
- String filePath = "E:\\code\\OES_Analytics_FM_Relation\\correlation-mgt\\rulemgt-standalone\\src\\assembly\\resource\\conf\\correlation-rule.yml";
+ String filePath = "C:\\correlation-rule.yml";
new RuleActiveApp().run(new String[]{"server", filePath});
}
} \ No newline at end of file