diff options
author | ChrisC <cc697w@intl.att.com> | 2017-01-31 11:40:03 +0100 |
---|---|---|
committer | ChrisC <cc697w@intl.att.com> | 2017-01-31 12:59:33 +0100 |
commit | 025301d08b061482c1f046d562bf017c8cbcfe8d (patch) | |
tree | 68a2a549736c9bf0f7cd4e71c76e40ef7e2606f2 /mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/NetworkRecipeESTest.java | |
parent | 2754ad52f833278a5c925bd788a16d1dce16a598 (diff) |
Initial OpenECOMP MSO commit
Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d
Signed-off-by: ChrisC <cc697w@intl.att.com>
Diffstat (limited to 'mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/NetworkRecipeESTest.java')
-rw-r--r-- | mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/NetworkRecipeESTest.java | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/NetworkRecipeESTest.java b/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/NetworkRecipeESTest.java new file mode 100644 index 0000000000..4d7d131b00 --- /dev/null +++ b/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/NetworkRecipeESTest.java @@ -0,0 +1,79 @@ +/* + * This file was automatically generated by EvoSuite + * Mon Nov 14 08:22:12 GMT 2016 + */ + +package org.openecomp.mso.db.catalog.beans; + +import org.junit.Test; +import static org.junit.Assert.*; + +import org.evosuite.runtime.EvoRunner; +import org.evosuite.runtime.EvoRunnerParameters; +import org.junit.runner.RunWith; + +@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) +public class NetworkRecipeESTest extends NetworkRecipeESTestscaffolding { + + @Test(timeout = 4000) + public void test0() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + networkRecipe0.setOrchestrationUri(""); + String string0 = networkRecipe0.toString(); + assertEquals("RECIPE: null,uri=,networkType=null,networkParamXSD=null", string0); + } + + @Test(timeout = 4000) + public void test1() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + networkRecipe0.setAction("WL:?f53^x"); + String string0 = networkRecipe0.toString(); + assertEquals("RECIPE: WL:?f53^x,uri=null,networkType=null,networkParamXSD=null", string0); + } + + @Test(timeout = 4000) + public void test2() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + networkRecipe0.setNetworkType("RECIPE: "); + String string0 = networkRecipe0.getNetworkType(); + assertEquals("RECIPE: ", string0); + } + + @Test(timeout = 4000) + public void test3() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + networkRecipe0.setNetworkParamXSD("!R\"am4?r!"); + String string0 = networkRecipe0.getNetworkParamXSD(); + assertEquals("!R\"am4?r!", string0); + } + + @Test(timeout = 4000) + public void test4() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + String string0 = networkRecipe0.getNetworkParamXSD(); + assertNull(string0); + } + + @Test(timeout = 4000) + public void test5() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + networkRecipe0.setNetworkType(""); + String string0 = networkRecipe0.getNetworkType(); + assertEquals("", string0); + } + + @Test(timeout = 4000) + public void test6() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + networkRecipe0.setNetworkParamXSD(""); + String string0 = networkRecipe0.getNetworkParamXSD(); + assertEquals("", string0); + } + + @Test(timeout = 4000) + public void test7() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + String string0 = networkRecipe0.getNetworkType(); + assertNull(string0); + } +} |