Search in sources :

Example 1 with ImageTarFilename

use of com.synopsys.integration.blackduck.dockerinspector.output.ImageTarFilename in project blackduck-docker-inspector by blackducksoftware.

the class DockerClientManagerTest method setUp.

@BeforeAll
public static void setUp() {
    Logger rootLogger = (Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME);
    rootLogger.setLevel(Level.INFO);
    Logger integrationLogger = (Logger) LoggerFactory.getLogger("com.synopsys.integration");
    integrationLogger.setLevel(Level.DEBUG);
    config = Mockito.mock(Config.class);
    programPaths = Mockito.mock(ProgramPaths.class);
    FileOperations fileOperations = new FileOperations();
    dockerClientManager = new DockerClientManager(fileOperations, new ImageNameResolver(), config, new ImageTarFilename(), programPaths);
}
Also used : ImageTarFilename(com.synopsys.integration.blackduck.dockerinspector.output.ImageTarFilename) Config(com.synopsys.integration.blackduck.dockerinspector.config.Config) ImageNameResolver(com.synopsys.integration.blackduck.imageinspector.api.name.ImageNameResolver) FileOperations(com.synopsys.integration.blackduck.imageinspector.linux.FileOperations) ProgramPaths(com.synopsys.integration.blackduck.dockerinspector.config.ProgramPaths) Logger(ch.qos.logback.classic.Logger) BeforeAll(org.junit.jupiter.api.BeforeAll)

Aggregations

Logger (ch.qos.logback.classic.Logger)1 Config (com.synopsys.integration.blackduck.dockerinspector.config.Config)1 ProgramPaths (com.synopsys.integration.blackduck.dockerinspector.config.ProgramPaths)1 ImageTarFilename (com.synopsys.integration.blackduck.dockerinspector.output.ImageTarFilename)1 ImageNameResolver (com.synopsys.integration.blackduck.imageinspector.api.name.ImageNameResolver)1 FileOperations (com.synopsys.integration.blackduck.imageinspector.linux.FileOperations)1 BeforeAll (org.junit.jupiter.api.BeforeAll)1