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
Exception
public void testOverride() throws Exception
Exception
public void testResolve() throws Exception
Exception
public void testDetectCustomStreamsConfiguration() throws Exception
Exception
public void testDetectCustomStreamsConfigurationProvideConfig() throws Exception
Exception
public void testDetectCustomStreamsConfigurationProvidePath() throws Exception
Exception
public void testDetectCustomStreamsConfigurationProvideConfigAndPath() throws Exception
Exception
Copyright © 2018 The Apache Software Foundation. All rights reserved.