summaryrefslogtreecommitdiffstats
path: root/test-apis-ci/src
diff options
context:
space:
mode:
Diffstat (limited to 'test-apis-ci/src')
-rw-r--r--test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnbordingDataProviders.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnbordingDataProviders.java b/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnbordingDataProviders.java
index b61daf8075..9f9fd99bd9 100644
--- a/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnbordingDataProviders.java
+++ b/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnbordingDataProviders.java
@@ -29,12 +29,19 @@ public class OnbordingDataProviders {
@DataProvider(name = "VNF_List" , parallel = true)
private static final Object[][] VnfList() throws Exception {
-
List<String> fileNamesFromFolder = OnboardingUtils.getVnfNamesFileList();
-
System.out.println(String.format("There are %s zip file(s) to test", fileNamesFromFolder.size()));
return provideData(fileNamesFromFolder, filepath);
}
+
+ @DataProvider(name = "Single_VNF" , parallel = true)
+ private static final Object[][] SingleVNF() throws Exception {
+ List<String> fileNamesFromFolder = OnboardingUtils.getVnfNamesFileList();
+ List<String> newList = new ArrayList<>();
+ newList.add(fileNamesFromFolder.get(0));
+ System.out.println(String.format("There are %s zip file(s) to test", fileNamesFromFolder.size()));
+ return provideData(newList, filepath);
+ }
// -----------------------factories-----------------------------------------