diff options
author | vasraz <vasyl.razinkov@est.tech> | 2019-10-15 10:23:08 +0100 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-01-26 09:17:08 +0000 |
commit | cb7a00bf89efca5b784120e990f79c475347e89d (patch) | |
tree | 2e434c227f7ac2bf3ba024f9496ded1f399554b9 /ui-ci/src/main/java/org | |
parent | c113cc3f10f72013a66c2eb5a52ab8460da196f9 (diff) |
Increase junit TCs
1. Re-enable disabled TCs (enable = true)
2. Enable @Ignored TCs
3. Add some Assert when missing
4. Remove old unused TCs (covered in UI)
Change-Id: I900e52f4860b1fdc5bd1e529a1fe7f5c3491465b
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-2672
Diffstat (limited to 'ui-ci/src/main/java/org')
5 files changed, 10 insertions, 10 deletions
diff --git a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/AdminUserManagment.java b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/AdminUserManagment.java index b1a5b5060e..5dd7412666 100644 --- a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/AdminUserManagment.java +++ b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/AdminUserManagment.java @@ -103,7 +103,7 @@ public class AdminUserManagment extends SetupCDTest { // design changed and now one letter user should exist //TC922253 - @Test(enabled = false) + @Test(enabled = true) public void createInvalidMacIdTest() { ExtentTestActions.log(Status.INFO, "Open bug 324032"); diff --git a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/ImportDCAE.java b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/ImportDCAE.java index f9cb233448..5e240c025b 100644 --- a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/ImportDCAE.java +++ b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/ImportDCAE.java @@ -289,7 +289,7 @@ public class ImportDCAE extends SetupCDTest { } // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void addUpdateDeleteSimplePropertiesToDCAEAssetTest() throws Exception { createDCAEAsset(); @@ -313,7 +313,7 @@ public class ImportDCAE extends SetupCDTest { } // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void DCAEAssetInstancesInputScreenTest() throws Exception { createDCAEAsset(); @@ -454,7 +454,7 @@ public class ImportDCAE extends SetupCDTest { } // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void addPropertyInCompositionScreenDCAEAssetTest() throws Exception { createDCAEAsset(); diff --git a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/Service.java b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/Service.java index fc4dd88185..df94a14b58 100644 --- a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/Service.java +++ b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/Service.java @@ -569,7 +569,7 @@ public class Service extends SetupCDTest { } // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void inputsTest() throws Exception { String fileName = "service_input_test_VF2.csar"; diff --git a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfAPI.java b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfAPI.java index fe6718eea2..accea723b8 100644 --- a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfAPI.java +++ b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfAPI.java @@ -340,7 +340,7 @@ public class VfAPI extends SetupCDTest { }*/ // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void addUpdateDeleteSimplePropertiesToVfTest() throws Exception { ResourceReqDetails vfMetaData = ElementFactory.getDefaultResourceByType(ResourceTypeEnum.VF, getUser()); ResourceUIUtils.createVF(vfMetaData, getUser()); @@ -366,7 +366,7 @@ public class VfAPI extends SetupCDTest { } // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void vfcInstancesInputScreenTest() throws Exception { ResourceReqDetails vfMetaData = ElementFactory.getDefaultResourceByType(ResourceTypeEnum.VF, getUser()); ResourceUIUtils.createVF(vfMetaData, getUser()); @@ -450,7 +450,7 @@ public class VfAPI extends SetupCDTest { VfVerificator.verifyToscaArtifactsInfo(vfMetaData, getUser()); } - @Test(enabled = false) + @Test(enabled = true) public void testDownload() throws Exception { // ResourceReqDetails vfMetaData = ElementFactory.getDefaultResourceByType(ResourceTypeEnum.VF, getUser()); // ResourceUIUtils.createResource(vfMetaData, getUser()); @@ -542,7 +542,7 @@ public class VfAPI extends SetupCDTest { } // future removed from ui - @Test(enabled = false) + @Test(enabled = true) public void addPropertyInCompositionScreenTest() throws Exception { ResourceReqDetails vfMetaData = ElementFactory.getDefaultResourceByType(ResourceTypeEnum.VF, getUser()); ResourceUIUtils.createVF(vfMetaData, getUser()); diff --git a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfDeploymentInformationalArtifacts.java b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfDeploymentInformationalArtifacts.java index f0d9d720ef..4523571085 100644 --- a/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfDeploymentInformationalArtifacts.java +++ b/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/execute/sanity/VfDeploymentInformationalArtifacts.java @@ -204,7 +204,7 @@ public class VfDeploymentInformationalArtifacts extends SetupCDTest { // TC1438232 - Import VF Artifacts - Informational Artifacts - Artifact Name To Long // TODO: make informational artifact name longer then 255 // TODO: windows/linux not allowed it - @Test(enabled = false) + @Test(enabled = true) public void importVfArtifactsInformationalArtifactsArtifactNameToLong() throws Exception { String folder = "US825779"; ResourceReqDetails resourceMetaData = ElementFactory.getDefaultResourceByType(ResourceTypeEnum.VF, getUser()); |