File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
lesson_09/types/types_app/src/main/java/com/codedifferently/lesson9 Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,14 @@ public void run(String... args) throws Exception {
3232 if (providerName == null ) {
3333 throw new IllegalArgumentException ("Provider name is required" );
3434 }
35+
36+ //if the providerName is equal to '-bulk'
37+ // go through every dataprovider we have and run this code below using their provider name
38+ // example files for usage - each provider file (to get their name)
39+ // String path = getDataPath();
40+ // var fileGenerator = new SampleFileGenerator();
41+ // fileGenerator.createTestFile(path, providerName);
42+
3543 if (providerName .equals ("-bulk" )){
3644 for (DataProvider provider : dataProviders ) {
3745 String path = getDataPath ();
@@ -42,12 +50,7 @@ public void run(String... args) throws Exception {
4250 }
4351
4452
45- // if the providerName is equal to '-bulk'
46- // go through every dataprovider we have and run this code below using their provider name
47- // example files for usage - each provider file (to get their name)
48- // String path = getDataPath();
49- // var fileGenerator = new SampleFileGenerator();
50- // fileGenerator.createTestFile(path, providerName);
53+
5154
5255 String path = getDataPath ();
5356 var fileGenerator = new SampleFileGenerator ();
You can’t perform that action at this time.
0 commit comments