aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src/test/java/org/openecomp/sdc/common/api/UploadArtifactInfoTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'common-app-api/src/test/java/org/openecomp/sdc/common/api/UploadArtifactInfoTest.java')
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/UploadArtifactInfoTest.java146
1 files changed, 146 insertions, 0 deletions
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/UploadArtifactInfoTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/UploadArtifactInfoTest.java
new file mode 100644
index 0000000000..9df5fad7ba
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/UploadArtifactInfoTest.java
@@ -0,0 +1,146 @@
+package org.openecomp.sdc.common.api;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+public class UploadArtifactInfoTest {
+
+ private UploadArtifactInfo createTestSubject() {
+ return new UploadArtifactInfo();
+ }
+
+ @Test
+ public void testGetArtifactName() throws Exception {
+ UploadArtifactInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactName();
+ }
+
+ @Test
+ public void testSetArtifactName() throws Exception {
+ UploadArtifactInfo testSubject;
+ String artifactName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactName(artifactName);
+ }
+
+ @Test
+ public void testGetArtifactPath() throws Exception {
+ UploadArtifactInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactPath();
+ }
+
+ @Test
+ public void testSetArtifactPath() throws Exception {
+ UploadArtifactInfo testSubject;
+ String artifactPath = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactPath(artifactPath);
+ }
+
+ @Test
+ public void testGetArtifactType() throws Exception {
+ UploadArtifactInfo testSubject;
+ ArtifactTypeEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactType();
+ }
+
+ @Test
+ public void testSetArtifactType() throws Exception {
+ UploadArtifactInfo testSubject;
+ ArtifactTypeEnum artifactType = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactType(artifactType);
+ }
+
+ @Test
+ public void testGetArtifactDescription() throws Exception {
+ UploadArtifactInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactDescription();
+ }
+
+ @Test
+ public void testSetArtifactDescription() throws Exception {
+ UploadArtifactInfo testSubject;
+ String artifactDescription = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactDescription(artifactDescription);
+ }
+
+ @Test
+ public void testGetArtifactData() throws Exception {
+ UploadArtifactInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactData();
+ }
+
+ @Test
+ public void testSetArtifactData() throws Exception {
+ UploadArtifactInfo testSubject;
+ String artifactData = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactData(artifactData);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ UploadArtifactInfo testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+ @Test
+ public void testEquals() throws Exception {
+ UploadArtifactInfo testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ UploadArtifactInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file