OracleContainer

com.dimafeng.testcontainers.OracleContainer
See theOracleContainer companion object
case class OracleContainer(dockerImageName: DockerImageName, oraUsername: String, oraPassword: String, containerSharedMemory: Long, commonJdbcParams: CommonParams) extends SingleContainer[OracleContainer], JdbcDatabaseContainer

Value parameters

dockerImageName

Oracle doesn't have any official distribution of XE, so we don't provide any default dockerImageName. You either need to build your own image or use some third-party image, for instance "oracleinanutshell/oracle-xe-11g".

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait JdbcDatabaseContainer
class SingleContainer[OracleContainer]
trait TestContainerProxy[OracleContainer]
trait Container
trait Stoppable
trait Andable
trait Startable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def testQueryString: String

Inherited methods

def binds: Seq[Bind]

Attributes

Inherited from:
SingleContainer
def boundPortNumbers: Seq[Int]

Attributes

Inherited from:
SingleContainer
override def close(): Unit

Attributes

Definition Classes
Stoppable -> AutoCloseable
Inherited from:
Stoppable
def command: Seq[String]

Attributes

Inherited from:
SingleContainer
def configure(configProvider: OracleContainer => Unit): SingleContainer.this.type

Attributes

Inherited from:
SingleContainer
def containerId: String

Attributes

Inherited from:
SingleContainer
def containerInfo: InspectContainerResponse

Attributes

Inherited from:
SingleContainer
def containerIpAddress: String

Attributes

Inherited from:
SingleContainer
def containerName: String

Attributes

Inherited from:
SingleContainer
def copyFileFromContainer[T](containerPath: String, f: InputStream => T): T

Attributes

Inherited from:
SingleContainer
def copyFileFromContainer(containerPath: String, destinationPath: String): Unit

Attributes

Inherited from:
SingleContainer
def copyFileToContainer(transferable: Transferable, containerPath: String): Unit

Attributes

Inherited from:
SingleContainer
def copyFileToContainer(mountableFile: MountableFile, containerPath: String): Unit

Attributes

Inherited from:
SingleContainer
def copyToFileContainerPathMap: Map[MountableFile, String]

Attributes

Inherited from:
SingleContainer
def createContainerCmdModifiers: Set[CreateContainerCmdModifier]

Attributes

Inherited from:
SingleContainer
def databaseName: String

Attributes

Inherited from:
JdbcDatabaseContainer
def dockerClient: DockerClient

Attributes

Inherited from:
SingleContainer
def driverClassName: String

Attributes

Inherited from:
JdbcDatabaseContainer
def env: Seq[String]

Attributes

Inherited from:
SingleContainer
def envMap: Map[String, String]

Attributes

Inherited from:
SingleContainer
def execInContainer(outputCharset: Charset, commands: String*): ExecResult

Attributes

Inherited from:
SingleContainer
def execInContainer(commands: String*): ExecResult

Attributes

Inherited from:
SingleContainer
def exposedPorts: Seq[Int]

Attributes

Inherited from:
SingleContainer
def extraHosts: Seq[String]

Attributes

Inherited from:
SingleContainer
def firstMappedPort: Int

Attributes

Inherited from:
SingleContainer
def foreach(f: Stoppable => Unit): Unit

Attributes

Inherited from:
Andable
def getDependencies(): Set[Startable]

Attributes

Inherited from:
Startable
def host: String

Attributes

Inherited from:
SingleContainer
def image: Future[String]

Attributes

Inherited from:
SingleContainer
def jdbcDriverInstance: Driver

Attributes

Inherited from:
JdbcDatabaseContainer
def jdbcUrl: String

Attributes

Inherited from:
JdbcDatabaseContainer
def labels: Map[String, String]

Attributes

Inherited from:
SingleContainer
def livenessCheckPortNumbers: Set[Int]

Attributes

Inherited from:
SingleContainer
def logConsumers: Seq[Consumer[OutputFrame]]

Attributes

Inherited from:
SingleContainer
def logs(outputType: OutputType, outputTypes: OutputType*): String

Attributes

Inherited from:
SingleContainer
def logs: String

Attributes

Inherited from:
SingleContainer
def mappedPort(port: Int): Int

Attributes

Inherited from:
SingleContainer
def network: Network

Attributes

Inherited from:
SingleContainer
def networkAliases: Seq[String]

Attributes

Inherited from:
SingleContainer
def networkMode: String

Attributes

Inherited from:
SingleContainer
def password: String

Attributes

Inherited from:
JdbcDatabaseContainer
def portBindings: Seq[String]

Attributes

Inherited from:
SingleContainer
def privilegedMode: Boolean

Attributes

Inherited from:
SingleContainer
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def shmSize: Long

Attributes

Inherited from:
SingleContainer
override def start(): Unit

Attributes

Definition Classes
SingleContainer -> Startable
Inherited from:
SingleContainer
def startupAttempts: Int

Attributes

Inherited from:
SingleContainer
def startupCheckStrategy: StartupCheckStrategy

Attributes

Inherited from:
SingleContainer
override def stop(): Unit

Attributes

Definition Classes
SingleContainer -> Stoppable -> Andable -> Startable
Inherited from:
SingleContainer
def testHostIpAddress: String

Attributes

Inherited from:
SingleContainer
def tmpFsMapping: Map[String, String]

Attributes

Inherited from:
SingleContainer
def underlyingUnsafeContainer: OracleContainer

Attributes

Inherited from:
SingleContainer
def username: String

Attributes

Inherited from:
JdbcDatabaseContainer
def volumesFroms: Seq[VolumesFrom]

Attributes

Inherited from:
SingleContainer
def workingDirectory: String

Attributes

Inherited from:
SingleContainer

Deprecated and Inherited methods

override def failed(e: Throwable)(implicit description: Description): Unit

Attributes

Deprecated
true
Definition Classes
TestContainerProxy -> Container
Inherited from:
TestContainerProxy
override def finished()(implicit description: Description): Unit

Attributes

Deprecated
true
Definition Classes
TestContainerProxy -> Container
Inherited from:
TestContainerProxy
def linkedContainers: Map[String, LinkableContainer]

Attributes

Deprecated
true
Inherited from:
SingleContainer
override def starting()(implicit description: Description): Unit

Attributes

Deprecated
true
Definition Classes
TestContainerProxy -> Container
Inherited from:
TestContainerProxy
override def succeeded()(implicit description: Description): Unit

Attributes

Deprecated
true
Definition Classes
TestContainerProxy -> Container
Inherited from:
TestContainerProxy

Concrete fields

override val container: OracleContainer