diff options
author | 2017-09-08 13:27:46 -0400 | |
---|---|---|
committer | 2017-09-08 13:32:24 -0400 | |
commit | 62cd6aaaf74aa91ee0037c0e155c8e7284f07567 (patch) | |
tree | 68c0c53c9156f5aa3c6b3599ac940770f986633d /mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/RecipeESTest.java | |
parent | fa1a211d28a912892fcd888569df033900eb01ee (diff) |
1710 Rebase - Second Attempt
This commit rebases changes from openecomp-mso/internal-staging-1710 up to and including this codecloud commit:
54483fc6606ddb1591a2e9da61bff8712325f924
Wed Sep 6 18:12:56 2017 -0400
Rebasing was done on a branch on top of this commit in so/master in ONAP:
93fbdfbe46104f8859d4754040f979cb7997c157
Thu Sep 7 16:42:59 2017 +0000
Change-Id: I4ad9abf40da32bf5bdca43e868b8fa2dbcd9dc59
Issue-id: SO-107
Signed-off-by: Arthur Martella <amartell@research.att.com>
Diffstat (limited to 'mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/RecipeESTest.java')
-rw-r--r-- | mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/RecipeESTest.java | 183 |
1 files changed, 0 insertions, 183 deletions
diff --git a/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/RecipeESTest.java b/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/RecipeESTest.java deleted file mode 100644 index 03ad09cda5..0000000000 --- a/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/RecipeESTest.java +++ /dev/null @@ -1,183 +0,0 @@ -/* - * This file was automatically generated by EvoSuite - * Mon Nov 14 08:21:28 GMT 2016 - */ - -package org.openecomp.mso.db.catalog.beans; - -import org.junit.Test; -import static org.junit.Assert.*; -import static org.evosuite.shaded.org.mockito.Mockito.*; - -import java.sql.Timestamp; -import org.evosuite.runtime.EvoRunner; -import org.evosuite.runtime.EvoRunnerParameters; -import org.evosuite.runtime.ViolatedAssumptionAnswer; -import org.junit.runner.RunWith; - -@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) -public class RecipeESTest extends RecipeESTestscaffolding { - - @Test(timeout = 4000) - public void test00() throws Throwable { - Recipe recipe0 = new Recipe(); - recipe0.setOrchestrationUri(""); - String string0 = recipe0.toString(); - assertEquals("RECIPE: null,uri=", string0); - } - - @Test(timeout = 4000) - public void test01() throws Throwable { - Recipe recipe0 = new Recipe(); - recipe0.setServiceType("s5s< CkZ9K:R0~ ;"); - String string0 = recipe0.getServiceType(); - assertEquals("s5s< CkZ9K:R0~ ;", string0); - } - - @Test(timeout = 4000) - public void test02() throws Throwable { - Recipe recipe0 = new Recipe(); - recipe0.setServiceType(""); - String string0 = recipe0.getServiceType(); - assertEquals("", string0); - } - - @Test(timeout = 4000) - public void test03() throws Throwable { - Recipe recipe0 = new Recipe(); - recipe0.setRecipeTimeout((-639)); - int int0 = recipe0.getRecipeTimeout(); - assertEquals((-639), int0); - } - - @Test(timeout = 4000) - public void test04() throws Throwable { - Recipe recipe0 = new Recipe(); - recipe0.orchestrationUri = "."; - String string0 = recipe0.getOrchestrationUri(); - assertEquals(".", string0); - } - - @Test(timeout = 4000) - public void test05() throws Throwable { - Recipe recipe0 = new Recipe(); - recipe0.setOrchestrationUri(""); - String string0 = recipe0.getOrchestrationUri(); - assertEquals("", string0); - } - - @Test(timeout = 4000) - public void test06() throws Throwable { - Recipe recipe0 = new Recipe(); - recipe0.setId(1); - int int0 = recipe0.getId(); - assertEquals(1, int0); - } - - @Test(timeout = 4000) - public void test07() throws Throwable { - Recipe recipe0 = new Recipe(); - recipe0.setId((-529)); - int int0 = recipe0.getId(); - assertEquals((-529), int0); - } - - @Test(timeout = 4000) - public void test08() throws Throwable { - Recipe recipe0 = new Recipe(); - recipe0.setDescription("F+/="); - String string0 = recipe0.getDescription(); - assertEquals("F+/=", string0); - } - - @Test(timeout = 4000) - public void test09() throws Throwable { - Recipe recipe0 = new Recipe(); - recipe0.setDescription(""); - String string0 = recipe0.getDescription(); - assertEquals("", string0); - } - - @Test(timeout = 4000) - public void test10() throws Throwable { - Recipe recipe0 = new Recipe(); - recipe0.setAction("RECIPE: null,uri=null"); - String string0 = recipe0.getAction(); - assertEquals("RECIPE: null,uri=null", string0); - } - - @Test(timeout = 4000) - public void test11() throws Throwable { - Recipe recipe0 = new Recipe(); - recipe0.action = ""; - String string0 = recipe0.getAction(); - assertEquals("", string0); - } - - @Test(timeout = 4000) - public void test12() throws Throwable { - Recipe recipe0 = new Recipe(); - Timestamp timestamp0 = mock(Timestamp.class, new ViolatedAssumptionAnswer()); - doReturn(0L).when(timestamp0).getTime(); - recipe0.setCreated(timestamp0); - String string0 = recipe0.toString(); - assertEquals("RECIPE: null,uri=null,created=1/1/70 12:00 AM", string0); - } - - @Test(timeout = 4000) - public void test13() throws Throwable { - Recipe recipe0 = new Recipe(); - int int0 = recipe0.getId(); - assertEquals(0, int0); - } - - @Test(timeout = 4000) - public void test14() throws Throwable { - Recipe recipe0 = new Recipe(); - String string0 = recipe0.getDescription(); - assertNull(string0); - } - - @Test(timeout = 4000) - public void test15() throws Throwable { - Recipe recipe0 = new Recipe(); - int int0 = recipe0.getRecipeTimeout(); - assertEquals(0, int0); - } - - @Test(timeout = 4000) - public void test16() throws Throwable { - Recipe recipe0 = new Recipe(); - recipe0.setRecipeTimeout(957); - int int0 = recipe0.getRecipeTimeout(); - assertEquals(957, int0); - } - - @Test(timeout = 4000) - public void test17() throws Throwable { - Recipe recipe0 = new Recipe(); - String string0 = recipe0.getAction(); - assertNull(string0); - } - - @Test(timeout = 4000) - public void test18() throws Throwable { - Recipe recipe0 = new Recipe(); - Timestamp timestamp0 = recipe0.getCreated(); - assertNull(timestamp0); - } - - @Test(timeout = 4000) - public void test19() throws Throwable { - Recipe recipe0 = new Recipe(); - String string0 = recipe0.getOrchestrationUri(); - assertNull(string0); - } - - @Test(timeout = 4000) - public void test20() throws Throwable { - Recipe recipe0 = new Recipe(); - String string0 = recipe0.getServiceType(); - assertNull(string0); - } -} |