From 0323dc0535e4af4c5aa2d7ef4a3fb4eb4cb9a813 Mon Sep 17 00:00:00 2001 From: vasraz Date: Wed, 1 Apr 2020 14:43:08 +0100 Subject: Increase test coverage Change-Id: I290371a025ba3376a013ba464e4dfb601d74aa8b Signed-off-by: Vasyl Razinkov Issue-ID: SDC-2833 --- .../sdc/asdctool/enums/SchemaZipFileEnumTest.java | 99 ---------------------- 1 file changed, 99 deletions(-) delete mode 100644 asdctool/src/test/java/org/openecomp/sdc/asdctool/enums/SchemaZipFileEnumTest.java (limited to 'asdctool/src/test/java') diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/enums/SchemaZipFileEnumTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/enums/SchemaZipFileEnumTest.java deleted file mode 100644 index 73291ca5a4..0000000000 --- a/asdctool/src/test/java/org/openecomp/sdc/asdctool/enums/SchemaZipFileEnumTest.java +++ /dev/null @@ -1,99 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.sdc.asdctool.enums; - -import org.junit.After; -import org.junit.Before; -import org.junit.Test; - -public class SchemaZipFileEnumTest { - - private SchemaZipFileEnum testSubject; - private String result; - - @Before - public void setUp() { - testSubject = createTestSubject(); - } - - @After - public void tearDown() { - testSubject = null; - result = null; - } - - - private SchemaZipFileEnum createTestSubject() { - return SchemaZipFileEnum.DATA; - } - - @Test - public void testGetFileName() throws Exception { - SchemaZipFileEnum testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getFileName(); - } - - @Test - public void testGetSourceFolderName() throws Exception { - SchemaZipFileEnum testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getSourceFolderName(); - } - - - @Test - public void testGetSourceFileName() throws Exception { - SchemaZipFileEnum testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getSourceFileName(); - } - - @Test - public void testGetCollectionTitle() throws Exception { - SchemaZipFileEnum testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getCollectionTitle(); - } - - @Test - public void testGetImportFileList() throws Exception { - SchemaZipFileEnum testSubject; - String[] result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getImportFileList(); - } - -} -- cgit 1.2.3-korg