summaryrefslogtreecommitdiffstats
path: root/applications/guard/src/test/resources
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-08-18 12:24:04 -0400
committerPamela Dragosh <pdragosh@research.att.com>2020-08-18 12:24:08 -0400
commitc663e0061b92542d961db5f88039151acb7f63df (patch)
tree0bb1f2f61d74f6489ea77a872273b57680e25faa /applications/guard/src/test/resources
parentad9d827a43211c087fe4bcf575134aea3a5b316e (diff)
Fix sonar issue and add code coverage
Fixing too much complexity for GuardPolicyRequest by breaking it up into methods. Added more code coverage to guard translator. Added missing code coverage for coordination guard, it was below 66% and there were some trivial fixes that were needed. Seems that a test resource was never really used, or perhaps got omitted in a previous review. Issue-ID: POLICY-2590 Change-Id: I1be4ff166e6c43c1c4ea54fdf7e761e22adcaa2d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'applications/guard/src/test/resources')
-rw-r--r--applications/guard/src/test/resources/test-directive.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/guard/src/test/resources/test-directive.yaml b/applications/guard/src/test/resources/test-directive.yaml
index 44dfa74b..1f477766 100644
--- a/applications/guard/src/test/resources/test-directive.yaml
+++ b/applications/guard/src/test/resources/test-directive.yaml
@@ -1,4 +1,4 @@
controlLoop:
- cl1
- cl2
-directive: whatisthisvaluesupposedtobe
+coordinationFunction: whatisthisvaluesupposedtobe