X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=rulemgt%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fholmes%2Frulemgt%2FRuleActiveAppTest.java;h=e34643a096d08942f75b4f2f43fcb40cbb8f7b39;hb=abdc7bfcaf9431fd507f0e9cd7fbdb96413386cd;hp=cd79ae884a17ec2cb4ffdfe86abb38c08b2067dc;hpb=20a1514bf93035472d4f940f00a357106d4bec1f;p=holmes%2Frule-management.git diff --git a/rulemgt/src/test/java/org/onap/holmes/rulemgt/RuleActiveAppTest.java b/rulemgt/src/test/java/org/onap/holmes/rulemgt/RuleActiveAppTest.java index cd79ae8..e34643a 100644 --- a/rulemgt/src/test/java/org/onap/holmes/rulemgt/RuleActiveAppTest.java +++ b/rulemgt/src/test/java/org/onap/holmes/rulemgt/RuleActiveAppTest.java @@ -1,5 +1,5 @@ /** - * Copyright 2017 ZTE Corporation. + * Copyright 2017-2020 ZTE Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,21 +16,10 @@ package org.onap.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 = "C:\\correlation-rule.yml"; + String filePath = "E:\\Codes\\ONAP\\holmes\\rule-management\\rulemgt-standalone\\src\\main\\assembly\\conf\\rulemgt.yml"; new RuleActiveApp().run(new String[]{"server", filePath}); } } \ No newline at end of file