summaryrefslogtreecommitdiffstats
path: root/appc-lifecycle-management/state-machine-lib/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'appc-lifecycle-management/state-machine-lib/src/test')
-rw-r--r--appc-lifecycle-management/state-machine-lib/src/test/java/org/onap/appc/statemachine/impl/StateMachineFactoryTest.java2
-rw-r--r--appc-lifecycle-management/state-machine-lib/src/test/java/org/onap/appc/statemachine/impl/StateMachineImplTest.java3
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());
}