re base code
[sdc.git] / asdctool / src / test / java / org / openecomp / sdc / asdctool / enums / SchemaZipFileEnumTest.java
index 2d1c6a8..5638c45 100644 (file)
@@ -1,8 +1,5 @@
 package org.openecomp.sdc.asdctool.enums;
 
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
@@ -23,44 +20,6 @@ public class SchemaZipFileEnumTest {
                result = null;
        }
 
-       @Test
-       public void setGetFileName_shouldSetCustomFileName() {
-               String fileName = "customFileName";
-               testSubject.setFileName(fileName);
-               assertEquals(fileName, testSubject.getFileName());
-       }
-
-       @Test
-       public void setGetSourceFolderName_shouldSetCustomSourceFolderName() {
-               String sourceFolderName = "customSourceFolderName";
-               testSubject.setSourceFolderName(sourceFolderName);
-               assertEquals(sourceFolderName, testSubject.getSourceFolderName());
-       }
-
-       @Test
-       public void setGetSourceFileName_shouldSetCustomSourceFileName() {
-               String sourceFileName = "customSourceFileName";
-               testSubject.setSourceFileName(sourceFileName);
-               assertEquals(sourceFileName, testSubject.getSourceFileName());
-       }
-
-       @Test
-       public void setGetCollectionTitle_shouldSetCustomCollectionTitle() {
-               String collectionTitle = "customCollectionTitle";
-               testSubject.setCollectionTitle(collectionTitle);
-               assertEquals(collectionTitle, testSubject.getCollectionTitle());
-       }
-
-       @Test
-       public void setGetImportFileList_shouldSetGetFile1File2() {
-               String[] importFileList = new String[] { "File1", "File2" };
-               String[] receivedImportFileList;
-               testSubject.setImportFileList(importFileList);
-               receivedImportFileList = testSubject.getImportFileList();
-               assertNotNull(receivedImportFileList);
-               assertEquals("File1", receivedImportFileList[0]);
-               assertEquals("File2", receivedImportFileList[1]);
-       }
 
        private SchemaZipFileEnum createTestSubject() {
                return SchemaZipFileEnum.DATA;
@@ -76,16 +35,6 @@ public class SchemaZipFileEnumTest {
                result = testSubject.getFileName();
        }
 
-       @Test
-       public void testSetFileName() throws Exception {
-               SchemaZipFileEnum testSubject;
-               String fileName = "";
-
-               // default test
-               testSubject = createTestSubject();
-               testSubject.setFileName(fileName);
-       }
-
        @Test
        public void testGetSourceFolderName() throws Exception {
                SchemaZipFileEnum testSubject;
@@ -96,15 +45,6 @@ public class SchemaZipFileEnumTest {
                result = testSubject.getSourceFolderName();
        }
 
-       @Test
-       public void testSetSourceFolderName() throws Exception {
-               SchemaZipFileEnum testSubject;
-               String sourceFolderName = "";
-
-               // default test
-               testSubject = createTestSubject();
-               testSubject.setSourceFolderName(sourceFolderName);
-       }
 
        @Test
        public void testGetSourceFileName() throws Exception {
@@ -116,16 +56,6 @@ public class SchemaZipFileEnumTest {
                result = testSubject.getSourceFileName();
        }
 
-       @Test
-       public void testSetSourceFileName() throws Exception {
-               SchemaZipFileEnum testSubject;
-               String sourceFileName = "";
-
-               // default test
-               testSubject = createTestSubject();
-               testSubject.setSourceFileName(sourceFileName);
-       }
-
        @Test
        public void testGetCollectionTitle() throws Exception {
                SchemaZipFileEnum testSubject;
@@ -136,16 +66,6 @@ public class SchemaZipFileEnumTest {
                result = testSubject.getCollectionTitle();
        }
 
-       @Test
-       public void testSetCollectionTitle() throws Exception {
-               SchemaZipFileEnum testSubject;
-               String collectionTitle = "";
-
-               // default test
-               testSubject = createTestSubject();
-               testSubject.setCollectionTitle(collectionTitle);
-       }
-
        @Test
        public void testGetImportFileList() throws Exception {
                SchemaZipFileEnum testSubject;
@@ -156,13 +76,4 @@ public class SchemaZipFileEnumTest {
                result = testSubject.getImportFileList();
        }
 
-       @Test
-       public void testSetImportFileList() throws Exception {
-               SchemaZipFileEnum testSubject;
-               String[] importFileList = new String[] { "" };
-
-               // default test
-               testSubject = createTestSubject();
-               testSubject.setImportFileList(importFileList);
-       }
 }
\ No newline at end of file