APITestConfigDocker<C extends DockerContainer> class
abstract
An APITestConfig for Docker containers.
- Inheritance
-
- Object
- APITestConfig
- APITestConfigDocker
- Mixed-in types
- Implementers
Constructors
-
APITestConfigDocker(DockerHost dockerHost, Map<
String, dynamic> apiConfigMap)
Properties
-
apiConfigMap
→ Map<
String, dynamic> -
finalinherited
- container ↔ C?
-
The
DockerContainerthat was started.getter/setter pair - dockerHost ↔ DockerHost
-
The
DockerHostforDockerCommander.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- isStarted → bool
-
Returns
trueif already started.no setterinherited - isStarting → bool
-
Returns
trueif starting.no setterinherited - isStopped → bool
-
Returns
trueif stopped.no setterinherited - isSupported → bool
-
Returns
trueif this test configuration is supported. See isUnsupported.no setterinherited - isUnsupported → bool
-
Alias to ![isSupported];
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stderr → Output?
-
The STDERR
Outputof the container.no setter - stderrAsString → String
-
The stderr as String.
no setter
- stdout → Output?
-
The STDOUT
Outputof the container.no setter - stdoutAsString → String
-
The stdout as String.
no setter
- stopContainerTimeout → Duration
-
The timeout to stop the container.
no setter
- unsupportedReason → String?
-
If isUnsupported is
trueshould return a reason message. This can be used in tests to show theskipreason.no setteroverride
Methods
-
createAPIRootStarter<
A extends APIRoot> (A apiRootInstantiator(APIConfig? apiConfig)) → APIRootStarter< A> -
Creates an APIRootStarter using this APITestConfig as pre-initialization and stopper.
inherited
-
createContainer(
DockerCommander dockerCommander) → Future< C> -
DockerContainercreation implementation. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveSupported(
) → FutureOr< bool> -
Resolves if this configuration test is supported.
See isSupported.
inherited
-
resolveSupportedImpl(
) → FutureOr< bool> -
The resolveSupported implementation.
override
-
start(
) → FutureOr< bool> -
The start operation.
inherited
-
startImpl(
) → Future< bool> -
The start implementation.
override
-
stop(
) → FutureOr< bool> -
The stop operation.
inherited
-
stopContainer(
) → FutureOr< bool> - Stops the container. Called by stopImpl.
-
stopImpl(
) → FutureOr< bool> -
The stop implementation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited