summaryrefslogtreecommitdiffstats
path: root/controlloop/common/policy-yaml/src/test/java
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-07-25 09:50:22 -0400
committerPamela Dragosh <pdragosh@research.att.com>2017-07-25 09:50:31 -0400
commitdc4b62dcea5c7bfbc83dee16b8986d5ba2f6df2a (patch)
treee3985f247ceaf221bd1d0c54879c4293e4c209c5 /controlloop/common/policy-yaml/src/test/java
parentc182c8b95eda734f9d12dfa41e2959a1fc32ce42 (diff)
[POLICY-110] Adding use case tests.
Change-Id: Idac15a4678faf108dea6c12628b3f5ea351a8a17 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'controlloop/common/policy-yaml/src/test/java')
-rw-r--r--controlloop/common/policy-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopPolicyTest.java20
1 files changed, 18 insertions, 2 deletions
diff --git a/controlloop/common/policy-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopPolicyTest.java b/controlloop/common/policy-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopPolicyTest.java
index 555b69282..b0d15463d 100644
--- a/controlloop/common/policy-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopPolicyTest.java
+++ b/controlloop/common/policy-yaml/src/test/java/org/onap/policy/controlloop/policy/ControlLoopPolicyTest.java
@@ -53,8 +53,24 @@ public class ControlLoopPolicyTest {
}
@Test
- public void testvService2() {
- this.test("src/test/resources/v2.0.0/policy_vService.yaml");
+ public void testvDNS() {
+ this.test("src/test/resources/v2.0.0/policy_ONAP_demo_vDNS.yaml");
+ }
+
+ @Test
+ public void testvFirewall() {
+ // Chenfei to fix this.
+// this.test("src/test/resources/v2.0.0/policy_ONAP_demo_vFirewall.yaml");
+ }
+
+ @Test
+ public void testvCPE() {
+ this.test("src/test/resources/v2.0.0/policy_ONAP_UseCase_vCPE.yaml");
+ }
+
+ @Test
+ public void testVOLTE() {
+ this.test("src/test/resources/v2.0.0/policy_ONAP_UseCase_VOLTE.yaml");
}
public void test(String testFile) {