2 * This file was automatically generated by EvoSuite
3 * Mon Nov 14 08:17:06 GMT 2016
6 package org.openecomp.mso.db.catalog.beans;
9 import static org.junit.Assert.*;
11 import java.sql.Timestamp;
12 import org.evosuite.runtime.EvoRunner;
13 import org.evosuite.runtime.EvoRunnerParameters;
14 import org.junit.runner.RunWith;
16 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
17 public class HeatFilesESTest extends HeatFilesESTestscaffolding {
20 public void test00() throws Throwable {
21 HeatFiles heatFiles0 = new HeatFiles();
22 heatFiles0.setVnfResourceId(1);
23 int int0 = heatFiles0.getVnfResourceId();
24 assertEquals(1, int0);
28 public void test01() throws Throwable {
29 HeatFiles heatFiles0 = new HeatFiles();
30 heatFiles0.setVnfResourceId((-1));
31 int int0 = heatFiles0.getVnfResourceId();
32 assertEquals((-1), int0);
36 public void test02() throws Throwable {
37 HeatFiles heatFiles0 = new HeatFiles();
38 heatFiles0.setId(1401);
39 int int0 = heatFiles0.getId();
40 assertEquals(1401, int0);
44 public void test03() throws Throwable {
45 HeatFiles heatFiles0 = new HeatFiles();
46 heatFiles0.setId((-356));
47 int int0 = heatFiles0.getId();
48 assertEquals((-356), int0);
52 public void test04() throws Throwable {
53 HeatFiles heatFiles0 = new HeatFiles();
54 heatFiles0.setFileName("~%Ab#a%tf");
55 String string0 = heatFiles0.getFileName();
56 assertEquals("~%Ab#a%tf", string0);
60 public void test05() throws Throwable {
61 HeatFiles heatFiles0 = new HeatFiles();
62 heatFiles0.setFileName("");
63 String string0 = heatFiles0.getFileName();
64 assertEquals("", string0);
68 public void test06() throws Throwable {
69 HeatFiles heatFiles0 = new HeatFiles();
70 heatFiles0.setFileBody("M9]V'AWK/44+BD");
71 String string0 = heatFiles0.getFileBody();
72 assertEquals("M9]V'AWK/44+BD", string0);
76 public void test07() throws Throwable {
77 HeatFiles heatFiles0 = new HeatFiles();
78 heatFiles0.setFileBody("");
79 String string0 = heatFiles0.getFileBody();
80 assertEquals("", string0);
84 public void test08() throws Throwable {
85 HeatFiles heatFiles0 = new HeatFiles();
86 heatFiles0.setDescription("~%Ab#a%tf");
87 String string0 = heatFiles0.getDescription();
88 assertEquals("~%Ab#a%tf", string0);
92 public void test09() throws Throwable {
93 HeatFiles heatFiles0 = new HeatFiles();
94 heatFiles0.setDescription("");
95 String string0 = heatFiles0.getDescription();
96 assertEquals("", string0);
100 public void test10() throws Throwable {
101 HeatFiles heatFiles0 = new HeatFiles();
102 Timestamp timestamp0 = new Timestamp(0L);
103 heatFiles0.setCreated(timestamp0);
104 Timestamp timestamp1 = heatFiles0.getCreated();
105 assertEquals("1970-01-01 00:00:00.0", timestamp1.toString());
108 @Test(timeout = 4000)
109 public void test11() throws Throwable {
110 HeatFiles heatFiles0 = new HeatFiles();
111 heatFiles0.setAsdcUuid("g$ vwC-q.`GT#b[<C");
112 String string0 = heatFiles0.getAsdcUuid();
113 assertEquals("g$ vwC-q.`GT#b[<C", string0);
116 @Test(timeout = 4000)
117 public void test12() throws Throwable {
118 HeatFiles heatFiles0 = new HeatFiles();
119 heatFiles0.setAsdcUuid("");
120 String string0 = heatFiles0.getAsdcUuid();
121 assertEquals("", string0);
124 @Test(timeout = 4000)
125 public void test13() throws Throwable {
126 HeatFiles heatFiles0 = new HeatFiles();
127 heatFiles0.setAsdcResourceName("");
128 String string0 = heatFiles0.getAsdcResourceName();
129 assertEquals("", string0);
132 @Test(timeout = 4000)
133 public void test14() throws Throwable {
134 HeatFiles heatFiles0 = new HeatFiles();
135 heatFiles0.setAsdcLabel("ID=0, description=null, fileName=null, fileBody=null, asdcResourceName=null, vnfResourceId=0");
136 String string0 = heatFiles0.getAsdcLabel();
137 assertEquals("ID=0, description=null, fileName=null, fileBody=null, asdcResourceName=null, vnfResourceId=0", string0);
140 @Test(timeout = 4000)
141 public void test15() throws Throwable {
142 HeatFiles heatFiles0 = new HeatFiles();
143 Timestamp timestamp0 = new Timestamp(0L);
144 heatFiles0.setCreated(timestamp0);
145 String string0 = heatFiles0.toString();
146 assertEquals("ID=0, description=null, fileName=null, fileBody=null, asdcResourceName=null,created=1/1/70 12:00 AM, vnfResourceId=0", string0);
149 @Test(timeout = 4000)
150 public void test16() throws Throwable {
151 HeatFiles heatFiles0 = new HeatFiles();
152 heatFiles0.setAsdcResourceName("ID=0, description=null, fileName=null, fileBody=null, asdcResourceName=null, vnfResourceId=0");
153 String string0 = heatFiles0.toString();
154 assertEquals("ID=0, description=null, fileName=null, fileBody=null,asdcResourceName=ID=0, description=null, fileName=null, fileBody=null, asdcResourceName=null, vnfResourceId=0, vnfResourceId=0", string0);
157 @Test(timeout = 4000)
158 public void test17() throws Throwable {
159 HeatFiles heatFiles0 = new HeatFiles();
160 heatFiles0.setDescription(".");
161 String string0 = heatFiles0.toString();
162 assertEquals("ID=0, description=., fileName=null, fileBody=null, asdcResourceName=null, vnfResourceId=0", string0);
165 @Test(timeout = 4000)
166 public void test18() throws Throwable {
167 HeatFiles heatFiles0 = new HeatFiles();
168 heatFiles0.setAsdcResourceName("+^hG");
169 String string0 = heatFiles0.getAsdcResourceName();
170 assertEquals("+^hG", string0);
173 @Test(timeout = 4000)
174 public void test19() throws Throwable {
175 HeatFiles heatFiles0 = new HeatFiles();
176 heatFiles0.setFileName("");
177 String string0 = heatFiles0.toString();
178 assertEquals("ID=0, description=null,fileName=, fileBody=null, asdcResourceName=null, vnfResourceId=0", string0);
181 @Test(timeout = 4000)
182 public void test20() throws Throwable {
183 HeatFiles heatFiles0 = new HeatFiles();
184 int int0 = heatFiles0.getVnfResourceId();
185 assertEquals(0, int0);
188 @Test(timeout = 4000)
189 public void test21() throws Throwable {
190 HeatFiles heatFiles0 = new HeatFiles();
191 Timestamp timestamp0 = heatFiles0.getCreated();
192 assertNull(timestamp0);
195 @Test(timeout = 4000)
196 public void test22() throws Throwable {
197 HeatFiles heatFiles0 = new HeatFiles();
198 String string0 = heatFiles0.getDescription();
202 @Test(timeout = 4000)
203 public void test23() throws Throwable {
204 HeatFiles heatFiles0 = new HeatFiles();
205 Timestamp timestamp0 = new Timestamp(2247L);
206 heatFiles0.setCreated(timestamp0);
207 Timestamp timestamp1 = heatFiles0.getCreated();
208 assertEquals(247000000, timestamp1.getNanos());
211 @Test(timeout = 4000)
212 public void test24() throws Throwable {
213 HeatFiles heatFiles0 = new HeatFiles();
214 heatFiles0.setFileBody("");
215 String string0 = heatFiles0.toString();
216 assertEquals("ID=0, description=null, fileName=null,fileBody=, asdcResourceName=null, vnfResourceId=0", string0);
219 @Test(timeout = 4000)
220 public void test25() throws Throwable {
221 HeatFiles heatFiles0 = new HeatFiles();
222 String string0 = heatFiles0.getAsdcLabel();
226 @Test(timeout = 4000)
227 public void test26() throws Throwable {
228 HeatFiles heatFiles0 = new HeatFiles();
229 String string0 = heatFiles0.getFileName();
233 @Test(timeout = 4000)
234 public void test27() throws Throwable {
235 HeatFiles heatFiles0 = new HeatFiles();
236 int int0 = heatFiles0.getId();
237 assertEquals(0, int0);
240 @Test(timeout = 4000)
241 public void test28() throws Throwable {
242 HeatFiles heatFiles0 = new HeatFiles();
243 String string0 = heatFiles0.getFileBody();
247 @Test(timeout = 4000)
248 public void test29() throws Throwable {
249 HeatFiles heatFiles0 = new HeatFiles();
250 String string0 = heatFiles0.getAsdcResourceName();
254 @Test(timeout = 4000)
255 public void test30() throws Throwable {
256 HeatFiles heatFiles0 = new HeatFiles();
257 String string0 = heatFiles0.getAsdcUuid();
261 @Test(timeout = 4000)
262 public void test31() throws Throwable {
263 HeatFiles heatFiles0 = new HeatFiles();
264 heatFiles0.setAsdcLabel("");
265 String string0 = heatFiles0.getAsdcLabel();
266 assertEquals("", string0);