diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2020-08-24 15:06:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-08-24 15:06:10 +0000 |
commit | 3d2058a63eb8996d9af6f9f6142a9f882895d682 (patch) | |
tree | 6b572a6d0a8b0392b83344b7584976663b51cd92 /controlloop/common/eventmanager/src/test/java | |
parent | 0a5d9cf30c61956e62cc7db4faf84f999a7196cc (diff) | |
parent | 6a37af48d1db199a0f5a9e9c48f7c5f834a90d1b (diff) |
Merge "Add "special" Operation classes for new usecases"
Diffstat (limited to 'controlloop/common/eventmanager/src/test/java')
-rw-r--r-- | controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/StepTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/StepTest.java b/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/StepTest.java index 1472adc18..c4121bb38 100644 --- a/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/StepTest.java +++ b/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/StepTest.java @@ -147,6 +147,7 @@ public class StepTest { public void testConstructor() { assertTrue(step.isPolicyStep()); assertSame(params, step.getParams()); + assertNull(step.getParentStep()); // check that it recorded the startTime by starting and checking it step.init(); @@ -163,6 +164,7 @@ public class StepTest { public void testConstructorWithOtherStep_testInitStartTime_testGetStartTimeRef() { Step step2 = new Step(step, "actorB", "operB"); assertFalse(step2.isPolicyStep()); + assertSame(step, step2.getParentStep()); ControlLoopOperationParams params2 = step2.getParams(); assertEquals("actorB", params2.getActor()); |