From 025301d08b061482c1f046d562bf017c8cbcfe8d Mon Sep 17 00:00:00 2001 From: ChrisC Date: Tue, 31 Jan 2017 11:40:03 +0100 Subject: Initial OpenECOMP MSO commit Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d Signed-off-by: ChrisC --- .../mso/asdc/ASDCControllerSingletonESTest.java | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 asdc-controller/src/test/java/org/openecomp/mso/asdc/ASDCControllerSingletonESTest.java (limited to 'asdc-controller/src/test/java/org/openecomp/mso/asdc/ASDCControllerSingletonESTest.java') 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.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.class, aSDCControllerSingleton0, "terminate"); + assertNull(object0); + } + + @Test(timeout = 4000) + public void test2() throws Throwable { + ASDCControllerSingleton aSDCControllerSingleton0 = new ASDCControllerSingleton(); + aSDCControllerSingleton0.periodicControllerTask(); + } +} -- cgit 1.2.3-korg