summaryrefslogtreecommitdiffstats
path: root/appc-config/appc-flow-controller/provider
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2019-03-15 01:35:20 +0530
committerTakamune Cho <takamune.cho@att.com>2019-03-14 23:33:56 +0000
commitbccb7d2c3f6ab6bb59e1a9388be593060d660c38 (patch)
tree72667901a9dfa923cdf7e3e8da8a1953722fd1d2 /appc-config/appc-flow-controller/provider
parent35a43b2dc02cb1c338cc047227463fa7dce99f75 (diff)
added test case to TunableParametersTest.java
to increase code coverage Issue-ID: APPC-1086 Change-Id: I0ad33fb62276caeb91e08cd1d0aef7a2e2c39864 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'appc-config/appc-flow-controller/provider')
-rw-r--r--appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/TunableParametersTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/TunableParametersTest.java b/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/TunableParametersTest.java
index 8c7cf1033..e28a82f9b 100644
--- a/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/TunableParametersTest.java
+++ b/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/TunableParametersTest.java
@@ -22,6 +22,7 @@
package org.onap.appc.flow.controller.interfaceData;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
@@ -51,4 +52,9 @@ public class TunableParametersTest {
tunableParameters.setRetryCount("RetryCount");
assertEquals("RetryCount", tunableParameters.getRetryCount());
}
+
+ @Test
+ public void testToString() {
+ assertTrue(tunableParameters.toString() instanceof String);
+ }
}