public class StreamsConfiguratorTest extends Object
StreamsConfigurator| Constructor and Description |
|---|
StreamsConfiguratorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testDetectCustomStreamsConfiguration()
Test that a class which uses a configuration class with StreamsConfiguration
as an ancestor can use a typed StreamsConfigurator and detectCustomConfiguration
to populate its fields using ComponentConfigurators automatically.
|
void |
testDetectCustomStreamsConfigurationProvideConfig()
Test that a class which uses a configuration class with StreamsConfiguration
as an ancestor can use a typed StreamsConfigurator and detectCustomConfiguration
to populate its fields using ComponentConfigurators automatically, using a
a custom Configuration.
|
void |
testDetectCustomStreamsConfigurationProvideConfigAndPath()
Test that a class which uses a configuration class with StreamsConfiguration
as an ancestor can use a typed StreamsConfigurator and detectCustomConfiguration
to populate its fields using ComponentConfigurators automatically, sourced using a
a custom Configuration and a child path.
|
void |
testDetectCustomStreamsConfigurationProvidePath()
Test that a class which uses a configuration class with StreamsConfiguration
as an ancestor can use a typed StreamsConfigurator and detectCustomConfiguration
to populate its fields using ComponentConfigurators automatically, sourced using
a provided child path.
|
void |
testOverride()
Test that basic stream properties can be overridden by adding a partial config at the
appropriate path.
|
void |
testReference()
Test that basic stream properties are resolved from reference.conf
|
void |
testResolve()
Test that custom config file includes and internal references work as expected.
|
public void testReference()
throws Exception
Exceptionpublic void testOverride()
throws Exception
Exceptionpublic void testResolve()
throws Exception
Exceptionpublic void testDetectCustomStreamsConfiguration()
throws Exception
Exceptionpublic void testDetectCustomStreamsConfigurationProvideConfig()
throws Exception
Exceptionpublic void testDetectCustomStreamsConfigurationProvidePath()
throws Exception
Exceptionpublic void testDetectCustomStreamsConfigurationProvideConfigAndPath()
throws Exception
ExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.