Skip to content

Commit

Permalink
implement review findings - renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
jannast committed Nov 13, 2024
1 parent 27c81d7 commit 40ce46c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public final class TestSuiteConfig {
public static final String TEST_EXECUTION_LOGGING = SDCCC + "TestExecutionLogging";
public static final String SUMMARIZE_MESSAGE_ENCODING_ERRORS = SDCCC + "SummarizeMessageEncodingErrors";
public static final String ENABLE_MESSAGE_ENCODING_CHECK = SDCCC + "EnableMessageEncodingCheck";
public static final String OVER_RIDE = "Override";
public static final String CONFIGURATION_MODULE = "ConfigurationModule";

/*
* TLS configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class TestClientUtil {
* Values from 1 to 255 are valid.
* @param enabledTlsProtocols TLS protocol versions to be enabled
* @param enabledCiphers ciphers to be enabled
* @param override overrides for AbstractConfigurationModule
* @param configurationModule configuration for AbstractConfigurationModule
*/
@Inject
public TestClientUtil(
Expand All @@ -72,7 +72,7 @@ public TestClientUtil(
@Named(TestSuiteConfig.NETWORK_MULTICAST_TTL) final Long multicastTTL,
@Named(TestSuiteConfig.TLS_ENABLED_PROTOCOLS) final String[] enabledTlsProtocols,
@Named(TestSuiteConfig.TLS_ENABLED_CIPHERS) final String[] enabledCiphers,
@Named(TestSuiteConfig.OVER_RIDE) final AbstractConfigurationModule override) {
@Named(TestSuiteConfig.CONFIGURATION_MODULE) final AbstractConfigurationModule configurationModule) {

injector = createClientInjector(List.of(
new AbstractConfigurationModule() {
Expand Down Expand Up @@ -101,7 +101,7 @@ protected void configure() {
bind(LocalAddressResolver.class).toInstance(localAddressResolver);
}
},
override));
configurationModule));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -632,10 +632,13 @@ protected void defaultConfigure() {

bind(Identifiers.DIRECT_TEST_IDENTIFIER_FAILING, Boolean.class, failingTests);
bind(Identifiers.INVARIANT_TEST_IDENTIFIER_FAILING, Boolean.class, failingTests);
bind(TestSuiteConfig.OVER_RIDE, AbstractConfigurationModule.class, new AbstractConfigurationModule() {
@Override
protected void defaultConfigure() {}
});
bind(
TestSuiteConfig.CONFIGURATION_MODULE,
AbstractConfigurationModule.class,
new AbstractConfigurationModule() {
@Override
protected void defaultConfigure() {}
});
}
}
}

0 comments on commit 40ce46c

Please sign in to comment.