File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
SequenceAnalysis/src/org/labkey/sequenceanalysis Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 131131import org .labkey .sequenceanalysis .run .reference .SavedReferenceLibraryStep ;
132132import org .labkey .sequenceanalysis .run .reference .VirusReferenceLibraryStep ;
133133import org .labkey .sequenceanalysis .run .util .CombineGVCFsHandler ;
134+ import org .labkey .sequenceanalysis .run .util .FastqcRunner ;
134135import org .labkey .sequenceanalysis .run .util .GenomicsDBAppendHandler ;
135136import org .labkey .sequenceanalysis .run .util .GenomicsDBImportHandler ;
136137import org .labkey .sequenceanalysis .run .variant .CombineVariantsHandler ;
@@ -476,7 +477,8 @@ public Set<Class> getUnitTests()
476477 ProcessVariantsHandler .TestCase .class ,
477478 VariantProcessingJob .TestCase .class ,
478479 ScatterGatherUtils .TestCase .class ,
479- ChainFileValidator .TestCase .class
480+ ChainFileValidator .TestCase .class ,
481+ FastqcRunner .TestCase .class
480482 );
481483 }
482484
Original file line number Diff line number Diff line change 2020import org .apache .logging .log4j .Logger ;
2121import org .apache .logging .log4j .LogManager ;
2222import org .jetbrains .annotations .Nullable ;
23+ import org .junit .Assert ;
24+ import org .junit .Test ;
2325import org .labkey .api .module .Module ;
2426import org .labkey .api .module .ModuleLoader ;
2527import org .labkey .api .pipeline .PipelineJobService ;
@@ -410,5 +412,18 @@ private List<String> getParams(File f) throws FileNotFoundException
410412
411413 return params ;
412414 }
415+
416+ public static class TestCase extends Assert
417+ {
418+ @ Test
419+ public void testApacheJar () throws Exception
420+ {
421+ //This will error if JARs are not found:
422+ FastqcRunner runner = new FastqcRunner (null );
423+ List <String > params = runner .getBaseParams ();
424+
425+ assertEquals ("Incorrect params" , 5 , params .size ());
426+ }
427+ }
413428}
414429
You can’t perform that action at this time.
0 commit comments