@PrepareForTest(value=<error>) public class ComponentConfiguratorTest extends Object
ComponentConfigurator| Constructor and Description |
|---|
ComponentConfiguratorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testDetectConfigurationCanonicalClassName()
Test that ComponentConfiguration.detectConfiguration() picks up properties defined
on the class canonical name.
|
void |
testDetectConfigurationClassHierarchy()
Test that ComponentConfiguration.detectConfiguration() picks up properties defined
from multiple levels of class ancestry in the right order.
|
void |
testDetectConfigurationCompoundPath()
Test that ComponentConfiguration.detectConfiguration() picks up properties defined
on a package parent path.
|
void |
testDetectConfigurationConfig()
Test that the values detected match what we get rendering the typesafe config with
jackson directly.
|
void |
testDetectConfigurationConfigString()
Test that the values detected from ComponentConfiguration.detectConfiguration(Config,String) match what
we get rendering a sub-object of the typesafe config with jackson directly.
|
void |
testDetectConfigurationPackageHierarchy()
Test that ComponentConfiguration.detectConfiguration() picks up properties defined
from multiple levels of package hierarchy in the right order.
|
void |
testDetectConfigurationSimpleClassName()
Test that ComponentConfiguration.detectConfiguration() picks up properties defined
on the class simple name with no path.
|
void |
testDetectConfigurationString()
Test that the values detected from ComponentConfiguration.detectConfiguration(Config) match what
we get rendering a sub-object of the typesafe config with jackson directly.
|
void |
testDetectTestDefaults()
Test that basic component properties are resolved from the root of the typesafe
configuration when calling detectConfiguration.
|
public void testDetectTestDefaults()
throws Exception
Exceptionpublic void testDetectConfigurationConfig()
throws Exception
Exceptionpublic void testDetectConfigurationString()
throws Exception
Exceptionpublic void testDetectConfigurationConfigString()
throws Exception
Exceptionpublic void testDetectConfigurationCompoundPath()
throws Exception
Exceptionpublic void testDetectConfigurationSimpleClassName()
throws Exception
Exceptionpublic void testDetectConfigurationCanonicalClassName()
throws Exception
Exceptionpublic void testDetectConfigurationClassHierarchy()
throws Exception
ExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.