diff options
Diffstat (limited to 'common-app-api/src/test/java/org')
-rw-r--r-- | common-app-api/src/test/java/org/openecomp/sdc/common/test/CommonUtilsTest.java | 8 | ||||
-rw-r--r-- | common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java | 18 |
2 files changed, 0 insertions, 26 deletions
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/test/CommonUtilsTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/test/CommonUtilsTest.java index 73d8c116e2..ca9cc0b068 100644 --- a/common-app-api/src/test/java/org/openecomp/sdc/common/test/CommonUtilsTest.java +++ b/common-app-api/src/test/java/org/openecomp/sdc/common/test/CommonUtilsTest.java @@ -225,14 +225,6 @@ public class CommonUtilsTest { } @Test - public void validateStringNotEmptyTest() { - assertTrue(ValidationUtils.validateStringNotEmpty("fsdlfsdlk")); - assertFalse(ValidationUtils.validateStringNotEmpty("")); - assertFalse(!ValidationUtils.validateStringNotEmpty(" ")); - assertFalse(!ValidationUtils.validateStringNotEmpty(" ")); - } - - @Test public void validateVendorNameTest() { assertTrue(ValidationUtils.validateVendorName("fsdlfsdlk")); assertTrue(ValidationUtils.validateVendorName("fsdlfsdlk.sdsd;")); diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java index e7aad96f60..3408c684de 100644 --- a/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java +++ b/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java @@ -526,24 +526,6 @@ public class ValidationUtilsTest { } @Test - public void checkValidateStringNotEmptyReturnsFalseIfStringIsNotEmpty() { - final String testString = "test"; - - boolean result = ValidationUtils.validateStringNotEmpty(testString); - - assertTrue(result); - } - - @Test - public void checkValidateStringNotEmptyReturnsFTrueIfStringIsEmpty() { - final String testString = ""; - - boolean result = ValidationUtils.validateStringNotEmpty(testString); - - assertFalse(result); - } - - @Test public void checkValidateVendorNameReturnsTrueIfNameFitsPattern() { final String testVendorName = "testVendor"; |