diff options
author | Dilip kumar Pampana <dp583p@att.com> | 2018-01-10 10:26:15 -0500 |
---|---|---|
committer | Skip Wonnell <skip@att.com> | 2018-01-10 16:47:56 +0000 |
commit | 14ee9cc1ceb81bd6fe963e4d3580595830885714 (patch) | |
tree | d3d12b05bffd535bb0c98a1bf1d1309478d49529 /appc-lifecycle-management/state-machine-lib/src/test | |
parent | 40bae6d46b1fc0d91da8b16d07b145c86ecf7c0c (diff) |
Life Cycle Managment Updates
Issue-ID: APPC-349
Change-Id: Ifdb7bf973c08374bea43c298005d88f2a9d15dd0
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
Diffstat (limited to 'appc-lifecycle-management/state-machine-lib/src/test')
2 files changed, 3 insertions, 2 deletions
diff --git a/appc-lifecycle-management/state-machine-lib/src/test/java/org/onap/appc/statemachine/impl/StateMachineFactoryTest.java b/appc-lifecycle-management/state-machine-lib/src/test/java/org/onap/appc/statemachine/impl/StateMachineFactoryTest.java index e35482e45..f0867ae5f 100644 --- a/appc-lifecycle-management/state-machine-lib/src/test/java/org/onap/appc/statemachine/impl/StateMachineFactoryTest.java +++ b/appc-lifecycle-management/state-machine-lib/src/test/java/org/onap/appc/statemachine/impl/StateMachineFactoryTest.java @@ -48,7 +48,7 @@ public class StateMachineFactoryTest { new State("TestingState1"), new Event("TestingEvent1"), new State("TestingState2")); metadata = builder.build(); - } + } @Test public void testGetStateMachine() throws Exception { diff --git a/appc-lifecycle-management/state-machine-lib/src/test/java/org/onap/appc/statemachine/impl/StateMachineImplTest.java b/appc-lifecycle-management/state-machine-lib/src/test/java/org/onap/appc/statemachine/impl/StateMachineImplTest.java index a4a8b9fcc..6de952e2b 100644 --- a/appc-lifecycle-management/state-machine-lib/src/test/java/org/onap/appc/statemachine/impl/StateMachineImplTest.java +++ b/appc-lifecycle-management/state-machine-lib/src/test/java/org/onap/appc/statemachine/impl/StateMachineImplTest.java @@ -36,6 +36,7 @@ import org.onap.appc.statemachine.objects.StateMachineMetadata; import org.onap.appc.statemachine.objects.StateMachineResponse; public class StateMachineImplTest { + private StateMachineMetadata.StateMachineMetadataBuilder builder; private StateMachineMetadata metadata; private StateMachineImpl stateMachine; @@ -100,7 +101,7 @@ public class StateMachineImplTest { @Test public void testToString() throws Exception { Assert.assertEquals( - String.format(stateMachine.toStringFormat, metadata.getStates(), metadata.getEvents()), + String.format(stateMachine.TO_STRING_FORMAT, metadata.getStates(), metadata.getEvents()), stateMachine.toString()); } |