diff options
author | 2017-01-31 11:40:03 +0100 | |
---|---|---|
committer | 2017-01-31 12:59:33 +0100 | |
commit | 025301d08b061482c1f046d562bf017c8cbcfe8d (patch) | |
tree | 68a2a549736c9bf0f7cd4e71c76e40ef7e2606f2 /asdc-controller/src/test/java/org/openecomp/mso/asdc/ASDCControllerSingletonESTest.java | |
parent | 2754ad52f833278a5c925bd788a16d1dce16a598 (diff) |
Initial OpenECOMP MSO commit
Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d
Signed-off-by: ChrisC <cc697w@intl.att.com>
Diffstat (limited to 'asdc-controller/src/test/java/org/openecomp/mso/asdc/ASDCControllerSingletonESTest.java')
-rw-r--r-- | asdc-controller/src/test/java/org/openecomp/mso/asdc/ASDCControllerSingletonESTest.java | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/asdc-controller/src/test/java/org/openecomp/mso/asdc/ASDCControllerSingletonESTest.java b/asdc-controller/src/test/java/org/openecomp/mso/asdc/ASDCControllerSingletonESTest.java new file mode 100644 index 0000000000..9ca02e218a --- /dev/null +++ b/asdc-controller/src/test/java/org/openecomp/mso/asdc/ASDCControllerSingletonESTest.java @@ -0,0 +1,38 @@ +/* + * This file was automatically generated by EvoSuite + * Fri Nov 25 13:38:29 GMT 2016 + */ + +package org.openecomp.mso.asdc; + +import org.junit.Test; +import static org.junit.Assert.*; + +import org.evosuite.runtime.EvoRunner; +import org.evosuite.runtime.EvoRunnerParameters; +import org.evosuite.runtime.PrivateAccess; +import org.junit.runner.RunWith; + +@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) +public class ASDCControllerSingletonESTest extends ASDCControllerSingletonESTestscaffolding { + + @Test(timeout = 4000) + public void test0() throws Throwable { + ASDCControllerSingleton aSDCControllerSingleton0 = new ASDCControllerSingleton(); + PrivateAccess.callMethod((Class<ASDCControllerSingleton>) ASDCControllerSingleton.class, aSDCControllerSingleton0, "setWorking", (Object) true, (Class<?>) boolean.class); + aSDCControllerSingleton0.periodicControllerTask(); + } + + @Test(timeout = 4000) + public void test1() throws Throwable { + ASDCControllerSingleton aSDCControllerSingleton0 = new ASDCControllerSingleton(); + Object object0 = PrivateAccess.callMethod((Class<ASDCControllerSingleton>) ASDCControllerSingleton.class, aSDCControllerSingleton0, "terminate"); + assertNull(object0); + } + + @Test(timeout = 4000) + public void test2() throws Throwable { + ASDCControllerSingleton aSDCControllerSingleton0 = new ASDCControllerSingleton(); + aSDCControllerSingleton0.periodicControllerTask(); + } +} |