Binary compatibility report for the dropwizard-testing library between 0.9.3 and 1.0.0 versions
Test Info
Library Name | dropwizard-testing |
Version #1 | 0.9.3 |
Version #2 | 1.0.0 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 84 / 12 |
Compatibility |
73.3% |
Problem Summary
| Severity | Count |
Added Methods | - | 9 |
Removed Methods | High | 4 |
Problems with Data Types | High | 2 |
Medium | 0 |
Low | 1 |
Problems with Methods | High | 0 |
Medium | 0 |
Low | 0 |
Other Changes in Data Types | - | 1 |
Added Methods 9
dropwizard-testing-1.0.0.jar, Builder.class
package io.dropwizard.testing.junit
ResourceTestRule.Builder.setClientConfigurator ( Consumer<ClientConfig> clientConfigurator ) : ResourceTestRule.Builder
io/dropwizard/testing/junit/ResourceTestRule.Builder.setClientConfigurator:(Ljava/util/function/Consumer;)Lio/dropwizard/testing/junit/ResourceTestRule$Builder;
ResourceTestRule.Builder.setRegisterDefaultExceptionMappers ( boolean value ) : ResourceTestRule.Builder
io/dropwizard/testing/junit/ResourceTestRule.Builder.setRegisterDefaultExceptionMappers:(Z)Lio/dropwizard/testing/junit/ResourceTestRule$Builder;
dropwizard-testing-1.0.0.jar, ConfigOverride.class
package io.dropwizard.testing
ConfigOverride.config ( String key, Supplier<String> value ) [static] : ConfigOverride
io/dropwizard/testing/ConfigOverride.config:(Ljava/lang/String;Ljava/util/function/Supplier;)Lio/dropwizard/testing/ConfigOverride;
ConfigOverride.config ( String propertyPrefix, String key, Supplier<String> value ) [static] : ConfigOverride
io/dropwizard/testing/ConfigOverride.config:(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Supplier;)Lio/dropwizard/testing/ConfigOverride;
dropwizard-testing-1.0.0.jar, DropwizardAppRule.class
package io.dropwizard.testing.junit
DropwizardAppRule<C>.DropwizardAppRule<C> ( Class<?> applicationClass, String configPath, Optional<String> customPropertyPrefix, ConfigOverride... configOverrides )
io/dropwizard/testing/junit/DropwizardAppRule."<init>":(Ljava/lang/Class;Ljava/lang/String;Ljava/util/Optional;[Lio/dropwizard/testing/ConfigOverride;)V
dropwizard-testing-1.0.0.jar, DropwizardClientRule.class
package io.dropwizard.testing.junit
DropwizardClientRule.getEnvironment ( ) : Environment
io/dropwizard/testing/junit/DropwizardClientRule.getEnvironment:()Lio/dropwizard/setup/Environment;
DropwizardClientRule.getObjectMapper ( ) : ObjectMapper
io/dropwizard/testing/junit/DropwizardClientRule.getObjectMapper:()Lcom/fasterxml/jackson/databind/ObjectMapper;
dropwizard-testing-1.0.0.jar, DropwizardTestSupport.class
package io.dropwizard.testing
DropwizardTestSupport<C>.DropwizardTestSupport<C> ( Class<?> applicationClass, String configPath, Optional<String> customPropertyPrefix, ConfigOverride... configOverrides )
io/dropwizard/testing/DropwizardTestSupport."<init>":(Ljava/lang/Class;Ljava/lang/String;Ljava/util/Optional;[Lio/dropwizard/testing/ConfigOverride;)V
dropwizard-testing-1.0.0.jar, ResourceTestRule.class
package io.dropwizard.testing.junit
ResourceTestRule.getClientConfigurator ( ) : Consumer<ClientConfig>
io/dropwizard/testing/junit/ResourceTestRule.getClientConfigurator:()Ljava/util/function/Consumer;
to the top
Removed Methods 4
dropwizard-testing-0.9.3.jar, DropwizardAppRule.class
package io.dropwizard.testing.junit
DropwizardAppRule<C>.DropwizardAppRule<C> ( Class<?> applicationClass, String configPath, Optional<String> customPropertyPrefix, ConfigOverride... configOverrides )
io/dropwizard/testing/junit/DropwizardAppRule."<init>":(Ljava/lang/Class;Ljava/lang/String;Lcom/google/common/base/Optional;[Lio/dropwizard/testing/ConfigOverride;)V
dropwizard-testing-0.9.3.jar, DropwizardTestSupport.class
package io.dropwizard.testing
DropwizardTestSupport<C>.DropwizardTestSupport<C> ( Class<?> applicationClass, String configPath, Optional<String> customPropertyPrefix, ConfigOverride... configOverrides )
io/dropwizard/testing/DropwizardTestSupport."<init>":(Ljava/lang/Class;Ljava/lang/String;Lcom/google/common/base/Optional;[Lio/dropwizard/testing/ConfigOverride;)V
dropwizard-testing-0.9.3.jar, ResourceTestResourceConfig.class
package io.dropwizard.testing.junit
ResourceTestRule.ResourceTestResourceConfig.ResourceTestRule.ResourceTestResourceConfig ( ServletConfig servletConfig )
io/dropwizard/testing/junit/ResourceTestRule.ResourceTestResourceConfig."<init>":(Ljavax/servlet/ServletConfig;)V
ResourceTestRule.ResourceTestResourceConfig.ResourceTestRule.ResourceTestResourceConfig ( String ruleId, ResourceTestRule resourceTestRule )
io/dropwizard/testing/junit/ResourceTestRule.ResourceTestResourceConfig."<init>":(Ljava/lang/String;Lio/dropwizard/testing/junit/ResourceTestRule;)V
to the top
Problems with Data Types, High Severity 2
dropwizard-testing-0.9.3.jar
package io.dropwizard.testing
[+] class DropwizardTestSupport<C> 1
| Change | Effect |
---|
1 |
Type of field customPropertyPrefix has been changed from com.google.common.base.Optional<java.lang.String> to java.util.Optional<java.lang.String>. |
A client program may be interrupted by NoSuchFieldError exception. |
[+] affected methods: 16 (19%)
DropwizardTestSupport<C>.DropwizardTestSupport<C> ( Class<?> applicationClass, C configuration )This constructor is from 'DropwizardTestSupport<C>' class.
DropwizardTestSupport<C>.DropwizardTestSupport<C> ( Class<?> applicationClass, String configPath, ConfigOverride... configOverrides )This constructor is from 'DropwizardTestSupport<C>' class.
DropwizardTestSupport<C>.addListener ( DropwizardTestSupport.ServiceListener<C> listener )This method is from 'DropwizardTestSupport<C>' class.
DropwizardTestSupport<C>.after ( )This method is from 'DropwizardTestSupport<C>' class.
DropwizardTestSupport<C>.before ( )This method is from 'DropwizardTestSupport<C>' class.
...
dropwizard-testing-0.9.3.jar
package io.dropwizard.testing.junit
[+] class ResourceTestRule.ResourceTestResourceConfig 1
| Change | Effect |
---|
1 |
This class has been removed. |
A client program may be interrupted by NoClassDefFoundError exception. |
[+] affected methods: 2 (2.4%)
ResourceTestRule.ResourceTestResourceConfig.ResourceTestRule.ResourceTestResourceConfig ( String ruleId, ResourceTestRule resourceTestRule )This constructor is from 'ResourceTestRule.ResourceTestResourceConfig' class.
ResourceTestRule.ResourceTestResourceConfig.ResourceTestRule.ResourceTestResourceConfig ( ServletConfig servletConfig )This constructor is from 'ResourceTestRule.ResourceTestResourceConfig' class.
to the top
Problems with Data Types, Low Severity 1
dropwizard-testing-0.9.3.jar
package io.dropwizard.testing
[+] class POJOConfigurationFactory<C> 1
| Change | Effect |
---|
1 |
Superclass has been changed from io.dropwizard.configuration.ConfigurationFactory<C> to io.dropwizard.configuration.YamlConfigurationFactory<C>. |
1) Access of a client program to the fields or methods of the old super-class may be interrupted by NoSuchFieldError or NoSuchMethodError exceptions. 2) A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class and cause IncompatibleClassChangeError exception. |
[+] affected methods: 9 (10.7%)
POJOConfigurationFactory<C>.POJOConfigurationFactory<C> ( C cfg )This constructor is from 'POJOConfigurationFactory<C>' class.
POJOConfigurationFactory<C>.build ( )This method is from 'POJOConfigurationFactory<C>' class.
POJOConfigurationFactory<C>.build ( )This method is from 'POJOConfigurationFactory<C>' class.
POJOConfigurationFactory<C>.build ( JsonNode node, String path )This method is from 'POJOConfigurationFactory<C>' class.
POJOConfigurationFactory<C>.build ( JsonNode p1, String p2 )This method is from 'POJOConfigurationFactory<C>' class.
...
to the top
Other Changes in Data Types 1
dropwizard-testing-0.9.3.jar
package io.dropwizard.testing
[+] class ConfigOverride 1
| Change | Effect |
---|
1 |
Field DEFAULT_PREFIX has been added to this class. |
No effect. |
[+] affected methods: 4 (4.8%)
ConfigOverride.addToSystemProperties ( )This method is from 'ConfigOverride' class.
ConfigOverride.config ( String key, String value )This method is from 'ConfigOverride' class.
ConfigOverride.config ( String propertyPrefix, String key, String value )This method is from 'ConfigOverride' class.
ConfigOverride.removeFromSystemProperties ( )This method is from 'ConfigOverride' class.
to the top
Java Archives 1
dropwizard-testing-0.9.3.jar
to the top