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 via
GlobalConfiguration
.
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
-
Method Details
-
merge
Merge values of the configuration with values ofconfiguration
. Values with the same keys from theconfiguration
overwrite value in the current configuration.- Parameters:
configuration
- source configurations.- Returns:
- a new instance of
Configuration
with merged values.
-