Skip to content

Commit 946c25d

Browse files
committed
Update filenames for param files
1 parent 9aaf1a6 commit 946c25d

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/test/java/ldbc/snb/datagen/test/LDBCDatagenTest.java

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -272,16 +272,16 @@ public void queryParamsTest() {
272272

273273

274274

275-
FileChecker fileChecker = new FileChecker(sdir+"/query_1_param.txt");
275+
FileChecker fileChecker = new FileChecker(sdir+"/interactive_1_param.txt");
276276
fileChecker.addCheck(existsPersonCheck);
277277
fileChecker.addCheck(existsNameCheck);
278278
assertTrue("ERROR PASSING TEST QUERY 1 PERSON AND NAME EXISTS ",fileChecker.run(1));
279279

280280
//Crating date interval check
281-
fileChecker = new FileChecker(sdir+"/query_2_param.txt");
281+
fileChecker = new FileChecker(sdir+"/interactive_2_param.txt");
282282
fileChecker.addCheck(existsPersonCheck);
283283
assertTrue("ERROR PASSING TEST QUERY 2 PERSON EXISTS ",fileChecker.run(1));
284-
testLongGE(sdir+"/query_2_param.txt",1, Dictionaries.dates.getStartDateTime());
284+
testLongGE(sdir+"/interactive_2_param.txt",1, Dictionaries.dates.getStartDateTime());
285285

286286
//Creating country check
287287
ColumnSet<String> places = new ColumnSet<String>(strParser,new File(dir+"/place_0_0.csv"),1,1);
@@ -296,21 +296,21 @@ public void queryParamsTest() {
296296
//DateDurationCheck dateDurationCheck = new DateDurationCheck("Date duration check",1,2,Dictionaries.dates
297297
// .getStartDateTime(), Dictionaries.dates.getEndDateTime());
298298

299-
fileChecker = new FileChecker(sdir+"/query_3_param.txt");
299+
fileChecker = new FileChecker(sdir+"/interactive_3_param.txt");
300300
fileChecker.addCheck(existsPersonCheck);
301301
fileChecker.addCheck(countryExists);
302302
assertTrue("ERROR PASSING TEST QUERY 3 PERSON EXISTS ",fileChecker.run(1));
303-
testLongGE(sdir+"/query_3_param.txt",1, Dictionaries.dates.getStartDateTime());
303+
testLongGE(sdir+"/interactive_3_param.txt",1, Dictionaries.dates.getStartDateTime());
304304

305-
fileChecker = new FileChecker(sdir+"/query_4_param.txt");
305+
fileChecker = new FileChecker(sdir+"/interactive_4_param.txt");
306306
fileChecker.addCheck(existsPersonCheck);
307307
assertTrue("ERROR PASSING TEST QUERY 4 PERSON EXISTS ",fileChecker.run(1));
308-
testLongGE(sdir+"/query_4_param.txt",1, Dictionaries.dates.getStartDateTime());
308+
testLongGE(sdir+"/interactive_4_param.txt",1, Dictionaries.dates.getStartDateTime());
309309

310-
fileChecker = new FileChecker(sdir+"/query_5_param.txt");
310+
fileChecker = new FileChecker(sdir+"/interactive_5_param.txt");
311311
fileChecker.addCheck(existsPersonCheck);
312312
assertTrue("ERROR PASSING TEST QUERY 5 PERSON EXISTS ",fileChecker.run(1));
313-
testLongGE(sdir+"/query_5_param.txt",1, Dictionaries.dates.getStartDateTime());
313+
testLongGE(sdir+"/interactive_5_param.txt",1, Dictionaries.dates.getStartDateTime());
314314

315315
//Creating tag check
316316
ColumnSet<String> tags = new ColumnSet<String>(strParser,new File(dir+"/tag_0_0.csv"),1,1);
@@ -320,35 +320,35 @@ public void queryParamsTest() {
320320
tagsIndex.add(1);
321321
ExistsCheck<String> tagExists = new ExistsCheck<String>(strParser,tagsIndex, tagsRef);
322322

323-
fileChecker = new FileChecker(sdir+"/query_6_param.txt");
323+
fileChecker = new FileChecker(sdir+"/interactive_6_param.txt");
324324
fileChecker.addCheck(existsPersonCheck);
325325
fileChecker.addCheck(tagExists);
326326
assertTrue("ERROR PASSING TEST QUERY 6 PERSON EXISTS ",fileChecker.run(1));
327327

328-
fileChecker = new FileChecker(sdir+"/query_7_param.txt");
328+
fileChecker = new FileChecker(sdir+"/interactive_7_param.txt");
329329
fileChecker.addCheck(existsPersonCheck);
330330
assertTrue("ERROR PASSING TEST QUERY 7 PERSON EXISTS ",fileChecker.run(1));
331331

332-
fileChecker = new FileChecker(sdir+"/query_8_param.txt");
332+
fileChecker = new FileChecker(sdir+"/interactive_8_param.txt");
333333
fileChecker.addCheck(existsPersonCheck);
334334
assertTrue("ERROR PASSING TEST QUERY 8 PERSON EXISTS ",fileChecker.run(1));
335335

336-
fileChecker = new FileChecker(sdir+"/query_9_param.txt");
336+
fileChecker = new FileChecker(sdir+"/interactive_9_param.txt");
337337
fileChecker.addCheck(existsPersonCheck);
338338
assertTrue("ERROR PASSING TEST QUERY 9 PERSON EXISTS ",fileChecker.run(1));
339-
testLongGE(sdir+"/query_9_param.txt",1, Dictionaries.dates.getStartDateTime());
339+
testLongGE(sdir+"/interactive_9_param.txt",1, Dictionaries.dates.getStartDateTime());
340340

341-
fileChecker = new FileChecker(sdir+"/query_10_param.txt");
341+
fileChecker = new FileChecker(sdir+"/interactive_10_param.txt");
342342
fileChecker.addCheck(existsPersonCheck);
343343
assertTrue("ERROR PASSING TEST QUERY 10 PERSON EXISTS ",fileChecker.run(1));
344-
testLongBetween(sdir+"/query_10_param.txt",1, 1, 13);
344+
testLongBetween(sdir+"/interactive_10_param.txt",1, 1, 13);
345345

346346
//Creating country check
347347
countriesIndex.clear();
348348
countriesIndex.add(1);
349349
countryExists = new ExistsCheck<String>(strParser,countriesIndex, placesRef);
350350

351-
fileChecker = new FileChecker(sdir+"/query_11_param.txt");
351+
fileChecker = new FileChecker(sdir+"/interactive_11_param.txt");
352352
fileChecker.addCheck(existsPersonCheck);
353353
fileChecker.addCheck(countryExists);
354354
assertTrue("ERROR PASSING TEST QUERY 11 PERSON EXISTS ",fileChecker.run(1));
@@ -361,19 +361,19 @@ public void queryParamsTest() {
361361
tagClassIndex.add(1);
362362
ExistsCheck<String> tagClassExists = new ExistsCheck<String>(strParser,tagClassIndex, tagClassRef);
363363

364-
fileChecker = new FileChecker(sdir+"/query_12_param.txt");
364+
fileChecker = new FileChecker(sdir+"/interactive_12_param.txt");
365365
fileChecker.addCheck(existsPersonCheck);
366366
fileChecker.addCheck(tagClassExists);
367367
assertTrue("ERROR PASSING TEST QUERY 12 PERSON EXISTS ",fileChecker.run(1));
368368

369369
personIndex.add(1);
370370
ExistsCheck<Long> exists2PersonCheck = new ExistsCheck<Long>(parser,personIndex, personsRef);
371371

372-
fileChecker = new FileChecker(sdir+"/query_13_param.txt");
372+
fileChecker = new FileChecker(sdir+"/interactive_13_param.txt");
373373
fileChecker.addCheck(exists2PersonCheck);
374374
assertTrue("ERROR PASSING TEST QUERY 13 PERSON EXISTS ",fileChecker.run(1));
375375

376-
fileChecker = new FileChecker(sdir+"/query_14_param.txt");
376+
fileChecker = new FileChecker(sdir+"/interactive_14_param.txt");
377377
fileChecker.addCheck(exists2PersonCheck);
378378
assertTrue("ERROR PASSING TEST QUERY 14 PERSON EXISTS ",fileChecker.run(1));
379379

0 commit comments

Comments
 (0)