use of com.synopsys.integration.detectable.detectables.clang.ClangDetectable in project synopsys-detect by blackducksoftware.
the class ClangDetectableTest method testApplicable.
@Test
public void testApplicable() {
DetectableExecutableRunner executableRunner = null;
List<ClangPackageManager> availablePackageManagers = new ArrayList<>(0);
ClangExtractor clangExtractor = null;
ClangPackageManagerRunner packageManagerRunner = null;
ClangDetectableOptions options = new ClangDetectableOptions(false);
DetectableEnvironment environment = MockDetectableEnvironment.empty();
FileFinder fileFinder = MockFileFinder.withFileNamed(JSON_COMPILATION_DATABASE_FILENAME);
ClangDetectable detectable = new ClangDetectable(environment, executableRunner, fileFinder, availablePackageManagers, clangExtractor, options, packageManagerRunner);
assertTrue(detectable.applicable().getPassed());
}
Aggregations