diff options
author | 2019-03-21 10:16:55 +0530 | |
---|---|---|
committer | 2019-03-22 06:42:23 +0530 | |
commit | 873fbb49dcd3092d2591a4eca13470713ca443ea (patch) | |
tree | 7bd7b63e4d9938b580a803e69f35ca4994c76c1f /csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR04298.java | |
parent | 0d4544eb82a2ca79d7724e5c1da70d3943db76eb (diff) |
Fix the sol004 minor issues
Issue-ID: VNFSDK-352
Change-Id: I13fb8f0bc13d033c93d516e771afcd3440e0949d
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR04298.java')
-rw-r--r-- | csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR04298.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR04298.java b/csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR04298.java index 6503c54..1be9814 100644 --- a/csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR04298.java +++ b/csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR04298.java @@ -34,7 +34,7 @@ public class VTPValidateCSARR04298 extends VTPValidateCSARBase { @Override protected void validateCSAR(CSARArchive csar) throws Exception { - if (csar.getTestsFolder() == null) { + if (csar.getTestsFolder() == null || csar.getTestsFolder().listFiles().length == 0) { this.errors.add(new CSARErrorEntryMissingTestFolderNotFound()); } } |