Package org.powermock.configuration
Interface Configuration<T extends Configuration>
-
- Type Parameters:
T- configuration implementer class.
- All Known Implementing Classes:
MockitoConfiguration,PowerMockConfiguration
public interface Configuration<T extends Configuration>The general interface for all types configurations that could be obtained viaGlobalConfiguration.All user defined configurations are read from the properties file:
org/powermock/extensions/configuration.properties
By default the file is not exist and default values are used.
- Since:
- 1.7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tmerge(T configuration)Merge values of the configuration with values ofconfiguration.
-
-
-
Method Detail
-
merge
T merge(T configuration)
Merge values of the configuration with values ofconfiguration. Values with the same keys from theconfigurationoverwrite value in the current configuration.- Parameters:
configuration- source configurations.- Returns:
- a new instance of
Configurationwith merged values.
-
-