| Package | Description |
|---|---|
| io.debezium.embedded |
| Modifier and Type | Field and Description |
|---|---|
private Function<ConnectorOutputTest.TestSpecification,ConnectorOutputTest.TestData> |
ConnectorOutputTest.TestSpecification.dataSupplier |
| Modifier and Type | Method and Description |
|---|---|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.readJsonTestData(ConnectorOutputTest.InputStreamSupplier stream)
Create a new test specification that is a copy of this specification except with the test data read from
the specified input stream.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.readJsonTestData(File file)
Create a new test specification that is a copy of this specification except with the test data read from
the specified file.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.readJsonTestData(Path path)
Create a new test specification that is a copy of this specification except with the test data read from
the specified file.
|
protected ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.usingSpec(String name)
Create a new test specification with the given name.
|
protected ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.usingSpec(String name,
Path directory)
Create a new test specification that uses the files in the given directory for the connector configuration, environment
configuration, and expected results.
|
protected ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.usingSpec(String name,
Path configFile,
Path expectedRecordsFile,
Path envFile)
Create a new test specification that uses the given files for the configuration, environment, and expected results.
|
protected ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.usingSpec(String name,
String directory)
Create a new test specification that uses the files in the given directory for the connector configuration, environment
configuration,
and expected results.
|
protected ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.usingSpec(String name,
String configFile,
String expectedRecordsFile,
String envFile)
Create a new test specification that uses the given files for the configuration, environment, and expected results.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.withConfiguration(Configuration config)
Create a new test specification that is a copy of this specification except with the given configuration.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.withConfiguration(File file)
Create a new test specification that is a copy of this specification except with the given configuration.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.withConfiguration(InputStream stream)
Create a new test specification that is a copy of this specification except with the given configuration.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.withEnvironment(Configuration env)
Create a new test specification that is a copy of this specification except with the given environment.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.withEnvironment(File file)
Create a new test specification that is a copy of this specification except with the given environment.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.withEnvironment(InputStream stream)
Create a new test specification that is a copy of this specification except with the given environment.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.withName(String name)
Create a new test specification that is a copy of this specification except with the given name.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.withReadOrWriteTestData(File file)
Create a new test specification that is a copy of this specification except with the test data read from
or able to be written to the given file.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.withReadOrWriteTestData(Path path)
Create a new test specification that is a copy of this specification except with the test data read from
or able to be written to the given file.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.withTestData(Function<ConnectorOutputTest.TestSpecification,ConnectorOutputTest.TestData> dataSupplier)
Create a new test specification that is a copy of this specification except with the given data.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.withVariables(AvailableVariables variables)
Create a new test specification that is a copy of this specification except with the given variables.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.withVariables(ConnectorOutputTest.VariableSupplier variableSupplier)
Create a new test specification that is a copy of this specification except with the given variables.
|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.writeJsonTestData(ConnectorOutputTest.OutputStreamSupplier stream)
Create a new test specification that is a copy of this specification except with a
ConnectorOutputTest.TestData that can capture
the connector output as expected records. |
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.writeJsonTestData(File file)
Create a new test specification that is a copy of this specification except with a
ConnectorOutputTest.TestData that can capture
the connector output as expected records. |
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.writeJsonTestData(Path path)
Create a new test specification that is a copy of this specification except with a
ConnectorOutputTest.TestData that can capture
the connector output as expected records. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ConnectorOutputTest.runConnector(ConnectorOutputTest.TestSpecification spec)
Run the connector described by the supplied test specification.
|
protected void |
ConnectorOutputTest.runConnector(ConnectorOutputTest.TestSpecification spec,
io.debezium.embedded.EmbeddedEngine.CompletionCallback callback)
Run the connector described by the supplied test specification.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectorOutputTest.TestSpecification |
ConnectorOutputTest.TestSpecification.withTestData(Function<ConnectorOutputTest.TestSpecification,ConnectorOutputTest.TestData> dataSupplier)
Create a new test specification that is a copy of this specification except with the given data.
|
| Constructor and Description |
|---|
TestSpecification(String name,
Configuration config,
Configuration env,
Function<ConnectorOutputTest.TestSpecification,ConnectorOutputTest.TestData> dataSupplier,
AvailableVariables variables) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.