private static String resolveImageName() { String image = TestcontainersConfiguration.getInstance() .getProperties().getProperty("oracle.container.image"); if (image == null) { throw new IllegalStateException("An image to use for Oracle containers must be configured. " + "To do this, please place a file on the classpath named `testcontainers.properties`, " + "containing `oracle.container.image=IMAGE`, where IMAGE is a suitable image name and tag."); } return image; }
); if (!config.getProperties().isEmpty()) { log.debug("Testcontainers configuration overrides loaded from {}", config);
@java.lang.Override @java.lang.SuppressWarnings("all") public boolean equals(final java.lang.Object o) { if (o == this) return true; if (!(o instanceof TestcontainersConfiguration)) return false; final TestcontainersConfiguration other = (TestcontainersConfiguration) o; if (!other.canEqual((java.lang.Object) this)) return false; final java.lang.Object this$properties = this.getProperties(); final java.lang.Object other$properties = other.getProperties(); if (this$properties == null ? other$properties != null : !this$properties.equals(other$properties)) return false; return true; }
private static String resolveImageName() { String image = TestcontainersConfiguration.getInstance() .getProperties().getProperty("oracle.container.image"); if (image == null) { throw new IllegalStateException("An image to use for Oracle containers must be configured. " + "To do this, please place a file on the classpath named `testcontainers.properties`, " + "containing `oracle.container.image=IMAGE`, where IMAGE is a suitable image name and tag."); } return image; }