summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/test/java
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-07-03 09:01:01 +0200
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-07-03 09:23:37 +0200
commit9b9c5a4773d301757a7e6d936e62d7e52db29815 (patch)
tree1c59bcca947f9c298eaa2ffa95f3ea99ae1bbf2e /csarvalidation/src/test/java
parent1686a032febc302d66fe6fc8ae01e653785352ac (diff)
Add R01123 to pnf validation
Issue-ID: VNFSDK-583 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I2e4ba82e55dc366ea7c5ffb0944fc467ab530076
Diffstat (limited to 'csarvalidation/src/test/java')
-rw-r--r--csarvalidation/src/test/java/org/onap/cvc/csar/CsarValidatorTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/csarvalidation/src/test/java/org/onap/cvc/csar/CsarValidatorTest.java b/csarvalidation/src/test/java/org/onap/cvc/csar/CsarValidatorTest.java
index 2c39f74..ecdd6fe 100644
--- a/csarvalidation/src/test/java/org/onap/cvc/csar/CsarValidatorTest.java
+++ b/csarvalidation/src/test/java/org/onap/cvc/csar/CsarValidatorTest.java
@@ -35,6 +35,7 @@ import static org.onap.cvc.csar.cc.sol004.IntegrationTestUtils.absoluteFilePath;
public class CsarValidatorTest {
public static final String NO_CERTIFICATE_RULE = "r130206";
+ public static final String NO_ALL_FILES_LISTED_IN_MANIFEST = "r01123";
public static final String OPERATION_STATUS_FAILED = "FAILED";
@Test
@@ -93,8 +94,9 @@ public class CsarValidatorTest {
// then
final OnapCommandResult onapCommandResult = cli.getCommandResult();
verifyThatOperation(onapCommandResult, OPERATION_STATUS_FAILED);
- verifyThatXRulesFails(onapCommandResult, 1);
+ verifyThatXRulesFails(onapCommandResult, 2);
verifyThatRuleFails(onapCommandResult, NO_CERTIFICATE_RULE);
+ verifyThatRuleFails(onapCommandResult, NO_ALL_FILES_LISTED_IN_MANIFEST);
verifyThatOperationFinishedWithoutAnyError(cli);
}