use of com.synopsys.integration.detectable.detectables.clang.linux.LinuxDistro in project synopsys-detect by blackducksoftware.
the class LinuxDistroTest method testNotFound.
@Test
void testNotFound() throws IOException {
File emptyDir = Files.createTempDirectory("linuxDistroTest").toFile();
LinuxDistro linuxDistro = new LinuxDistro();
Optional<String> extractedLinuxDistroName = linuxDistro.extractLinuxDistroNameFromEtcDir(emptyDir);
assertFalse(extractedLinuxDistroName.isPresent());
}
Aggregations