@@ -348,19 +348,19 @@ public FileWorkspace getPathSetLookup_setup() {
348348 fileWorkspace .writeString ("test/d1/file.txt" , "anything" );
349349 fileWorkspace .writeString ("test/d2/file1.txt" , "anything" );
350350 fileWorkspace .writeString ("test/d2/file2.txt" , "anything" );
351-
351+
352352 // And return
353353 return fileWorkspace ;
354354 }
355-
355+
356356 // Just perform and validate setup
357357 @ Test
358358 public void getPathSetLookup_setupTest () {
359359 // Get the file workspace to use
360360 FileWorkspace fileWorkspace = getPathSetLookup_setup ();
361361 assertNotNull (fileWorkspace );
362362 }
363-
363+
364364 // List all files and folders
365365 // this includes, 5 files, and 3 folders (test/, test/d1/, test/d2/)
366366 //
@@ -369,24 +369,24 @@ public void getPathSetLookup_setupTest() {
369369 public void getPathSetLookup_fullSet () {
370370 // Get the file workspace to use
371371 FileWorkspace fileWorkspace = getPathSetLookup_setup ();
372-
372+
373373 // Test set to use for comparision
374374 Set <String > testFileSet = new HashSet <>();
375375 Set <String > testDirSet = new HashSet <>();
376376 Set <String > testFullSet = new HashSet <>();
377-
377+
378378 // Test files
379379 testFileSet .add ("test/one.txt" );
380380 testFileSet .add ("test/two.txt" );
381381 testFileSet .add ("test/d1/file.txt" );
382382 testFileSet .add ("test/d2/file1.txt" );
383383 testFileSet .add ("test/d2/file2.txt" );
384-
384+
385385 // Test dirs
386386 testDirSet .add ("test/" );
387387 testDirSet .add ("test/d1/" );
388388 testDirSet .add ("test/d2/" );
389-
389+
390390 // Full set
391391 testFullSet .addAll (testFileSet );
392392 testFullSet .addAll (testDirSet );
@@ -398,29 +398,29 @@ public void getPathSetLookup_fullSet() {
398398 assertEquals (testDirSet , fileWorkspace .getFolderPathSet ("" , -1 , -1 ));
399399 assertEquals (testFileSet , fileWorkspace .getFilePathSet ("" , -1 , -1 ));
400400 }
401-
401+
402402 // List all files and folders, with limits
403403 //
404404 // See `getPathSetLookup_setup` for setup code
405405 @ Test
406406 public void getPathSetLookup_fullSet_withLimit () {
407407 // Get the file workspace to use
408408 FileWorkspace fileWorkspace = getPathSetLookup_setup ();
409-
409+
410410 // Test set to use for comparision
411411 Set <String > testFileSet = new HashSet <>();
412412 Set <String > testDirSet = new HashSet <>();
413413 Set <String > testFullSet = new HashSet <>();
414-
414+
415415 // Test files
416416 testFileSet .add ("test/one.txt" );
417417 testFileSet .add ("test/two.txt" );
418-
418+
419419 // Test dirs
420420 testDirSet .add ("test/" );
421421 testDirSet .add ("test/d1/" );
422422 testDirSet .add ("test/d2/" );
423-
423+
424424 // Full set
425425 testFullSet .addAll (testFileSet );
426426 testFullSet .addAll (testDirSet );
@@ -432,31 +432,31 @@ public void getPathSetLookup_fullSet_withLimit() {
432432 assertEquals (testDirSet , fileWorkspace .getFolderPathSet ("" , -1 , 2 ));
433433 assertEquals (testFileSet , fileWorkspace .getFilePathSet ("" , -1 , 2 ));
434434 }
435-
435+
436436 // List all files and folders from the `test/` dir
437437 //
438438 // See `getPathSetLookup_setup` for setup code
439439 @ Test
440440 public void getPathSetLookup_testDir_fullSet () {
441441 // Get the file workspace to use
442442 FileWorkspace fileWorkspace = getPathSetLookup_setup ();
443-
443+
444444 // Test set to use for comparision
445445 Set <String > testFileSet = new HashSet <>();
446446 Set <String > testDirSet = new HashSet <>();
447447 Set <String > testFullSet = new HashSet <>();
448-
448+
449449 // Test files
450450 testFileSet .add ("one.txt" );
451451 testFileSet .add ("two.txt" );
452452 testFileSet .add ("d1/file.txt" );
453453 testFileSet .add ("d2/file1.txt" );
454454 testFileSet .add ("d2/file2.txt" );
455-
455+
456456 // Test dirs
457457 testDirSet .add ("d1/" );
458458 testDirSet .add ("d2/" );
459-
459+
460460 // Full set
461461 testFullSet .addAll (testFileSet );
462462 testFullSet .addAll (testDirSet );
@@ -467,26 +467,26 @@ public void getPathSetLookup_testDir_fullSet() {
467467 assertEquals (testDirSet , fileWorkspace .getFolderPathSet ("test" , -1 , -1 ));
468468 assertEquals (testFileSet , fileWorkspace .getFilePathSet ("test" , -1 , -1 ));
469469 }
470-
470+
471471 // List all files and folders from the `/` dir
472472 //
473473 // See `getPathSetLookup_setup` for setup code
474474 @ Test
475475 public void getPathSetLookup_listRoot () {
476476 // Get the file workspace to use
477477 FileWorkspace fileWorkspace = getPathSetLookup_setup ();
478-
478+
479479 // Test set to use for comparision
480480 Set <String > testFileSet = new HashSet <>();
481481 Set <String > testDirSet = new HashSet <>();
482482 Set <String > testFullSet = new HashSet <>();
483-
483+
484484 // Test files
485485 // -- there is none
486-
486+
487487 // Test dirs
488488 testDirSet .add ("test/" );
489-
489+
490490 // Full set
491491 testFullSet .addAll (testFileSet );
492492 testFullSet .addAll (testDirSet );
@@ -497,27 +497,27 @@ public void getPathSetLookup_listRoot() {
497497 assertEquals (testDirSet , fileWorkspace .getFolderPathSet ("" ));
498498 assertEquals (testFileSet , fileWorkspace .getFilePathSet ("" ));
499499 }
500-
500+
501501 // List all files and folders from the `test/d2/` dir
502502 //
503503 // See `getPathSetLookup_setup` for setup code
504504 @ Test
505505 public void getPathSetLookup_testDir_d2 () {
506506 // Get the file workspace to use
507507 FileWorkspace fileWorkspace = getPathSetLookup_setup ();
508-
508+
509509 // Test set to use for comparision
510510 Set <String > testFileSet = new HashSet <>();
511511 Set <String > testDirSet = new HashSet <>();
512512 Set <String > testFullSet = new HashSet <>();
513-
513+
514514 // Test files
515515 testFileSet .add ("file1.txt" );
516516 testFileSet .add ("file2.txt" );
517-
517+
518518 // Test dirs
519519 // -- there is none
520-
520+
521521 // Full set
522522 testFullSet .addAll (testFileSet );
523523 testFullSet .addAll (testDirSet );
@@ -528,7 +528,7 @@ public void getPathSetLookup_testDir_d2() {
528528 assertEquals (testDirSet , fileWorkspace .getFolderPathSet ("test/d2/" , -1 , -1 ));
529529 assertEquals (testFileSet , fileWorkspace .getFilePathSet ("test/d2/" , -1 , -1 ));
530530 }
531-
531+
532532 @ Test
533533 public void getPathSetLookup () {
534534 // Get the file workspace to use
@@ -538,12 +538,12 @@ public void getPathSetLookup() {
538538 assertEquals (4 , fileWorkspace .getFileAndFolderPathSet ("test" ).size ());
539539 assertEquals (2 , fileWorkspace .getFilePathSet ("test" ).size ());
540540 assertEquals (2 , fileWorkspace .getFolderPathSet ("test" ).size ());
541-
541+
542542 // List files & folders in the `test/d2/` sub folders
543543 assertEquals (2 , fileWorkspace .getFileAndFolderPathSet ("test/d2/" ).size ());
544544 assertEquals (2 , fileWorkspace .getFilePathSet ("test/d2/" ).size ());
545545 assertEquals (0 , fileWorkspace .getFolderPathSet ("test/d2/" ).size ());
546-
546+
547547 }
548548
549549 //-----------------------------------------------------------------------------------
0 commit comments