@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
Exception
public void testDetectConfigurationConfig() throws Exception
Exception
public void testDetectConfigurationString() throws Exception
Exception
public void testDetectConfigurationConfigString() throws Exception
Exception
public void testDetectConfigurationCompoundPath() throws Exception
Exception
public void testDetectConfigurationSimpleClassName() throws Exception
Exception
public void testDetectConfigurationCanonicalClassName() throws Exception
Exception
public void testDetectConfigurationClassHierarchy() throws Exception
Exception
Copyright © 2018 The Apache Software Foundation. All rights reserved.