use of com.synopsys.integration.detectable.detectables.bitbake.parse.BitbakeRecipesParser in project synopsys-detect by blackducksoftware.
the class BitbakeRecipesParserTest method test.
@Test
void test() {
BitbakeRecipesParser parser = new BitbakeRecipesParser();
ShowRecipesResults results = parser.parseShowRecipes(showRecipesOutputLines);
assertEquals(3, results.getLayerNames().size());
assertTrue(results.getLayerNames().contains("meta"));
assertEquals(4, results.getRecipesWithLayers().size());
assertTrue(results.getRecipesWithLayers().containsKey("adcli"));
}
Aggregations