use of com.google.cloud.tools.jib.api.buildplan.LayerObject in project jib-extensions by GoogleContainerTools.
the class JibSpringBootExtensionTest method testFilterOutDevtools_differentDependencyLayerName.
@Test
public void testFilterOutDevtools_differentDependencyLayerName() {
FileEntriesLayer layer = buildLayer("NOT dependencies", Paths.get("lib").resolve("spring-boot-devtools-1.2.3.jar"), Paths.get("archive").resolve("bar.zip"));
LayerObject newLayer = JibSpringBootExtension.filterOutDevtools(layer);
assertSame(layer, newLayer);
assertEquals(layer.getEntries(), ((FileEntriesLayer) newLayer).getEntries());
}
Aggregations