summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/main/java/org/onap
diff options
context:
space:
mode:
authorGao Weitao <victor.gao@huawei.com>2019-03-11 06:24:01 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-11 06:24:01 +0000
commitebb53e546c55628d718f7d4c3c8c8505cd8c3075 (patch)
tree80d447362cf7a65593944b5656c9ef29cbd3f3cc /csarvalidation/src/main/java/org/onap
parent7a66b3f46efa4aa0a7f2c9ceb4bd423b67a8c0e7 (diff)
parentabffb74716ba22a3c083776e38744b1e80640a02 (diff)
Merge "Add README.md"
Diffstat (limited to 'csarvalidation/src/main/java/org/onap')
-rw-r--r--csarvalidation/src/main/java/org/onap/cvc/csar/CSARArchive.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/csarvalidation/src/main/java/org/onap/cvc/csar/CSARArchive.java b/csarvalidation/src/main/java/org/onap/cvc/csar/CSARArchive.java
index d14c14b..cfea2b4 100644
--- a/csarvalidation/src/main/java/org/onap/cvc/csar/CSARArchive.java
+++ b/csarvalidation/src/main/java/org/onap/cvc/csar/CSARArchive.java
@@ -1309,22 +1309,4 @@ public class CSARArchive {
public File getFileFromCsar(String path) {
return new File(this.tempDir.toFile().getAbsolutePath() + File.separator + path);
}
-
- public static void main(String[] args) {
- System.out.println(CSARArchive.SOL0004_2_4_1);
-
- for (String csarFileName: Arrays.asList(new String[] {"enterprise2DC", "VoLTE", "vEPC_NS", "vIMS_NS", "sample2"})) {
- try {
- CSARArchive csar = new CSARArchive();
- System.out.println(csarFileName);
- csar.init("D:\\workspace\\onap\\1.1\\vnfsdk\\validation\\csarvalidation\\src\\test\\resources\\" + csarFileName + ".csar");
- csar.parse();
- csar.cleanup();
- System.out.println(csar.getErrors());
- } catch (Exception e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
- }
}