Merge branch '5.3.x'

This commit is contained in:
Sam Brannen
2022-07-12 13:05:24 +02:00
37 changed files with 65 additions and 64 deletions

View File

@@ -25,7 +25,7 @@ import java.lang.annotation.Target;
/**
* Demo <em>composed annotation</em> for {@link DisabledIf @DisabledIf} that
* disables a test class or test method if the current operating system is
* Mac OS.
* macOS.
*
* @author Sam Brannen
* @since 5.0

View File

@@ -25,7 +25,7 @@ import java.lang.annotation.Target;
/**
* Demo <em>composed annotation</em> for {@link EnabledIf @EnabledIf} that
* enables a test class or test method if the current operating system is
* Mac OS.
* macOS.
*
* @author Sam Brannen
* @since 5.0

View File

@@ -58,7 +58,7 @@ public interface PublishedEvents {
/**
* Further constrain the event type for downstream assertions.
*
* @param subType the sub type
* @param subType the subtype
* @return will never be {@literal null}
*/
<S extends T> TypedPublishedEvents<S> ofSubType(Class<S> subType);

View File

@@ -25,7 +25,7 @@ import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder;
import org.springframework.transaction.PlatformTransactionManager;
/**
* Shared configuration for tests that need an embedded database pre-loaded
* Shared configuration for tests that need an embedded database preloaded
* with the schema for the 'person' table.
*
* @author Sam Brannen

View File

@@ -291,7 +291,7 @@ class BootstrapTestUtilsMergedConfigTests extends AbstractContextConfigurationUt
MergedContextConfiguration parent = mergedConfig.getParent();
assertThat(parent).as("parent config").isNotNull();
// The following does not work -- at least not in Eclipse.
// asssertThat(parent.getClasses())...
// assertThat(parent.getClasses())...
// So we use AssertionsForClassTypes directly.
AssertionsForClassTypes.assertThat(parent.getClasses()).containsExactly(FooConfig.class);

View File

@@ -152,7 +152,7 @@ public class MockServerTests {
.expectStatus().isOk()
.returnResult(String.class);
// Get the raw content without consuming the response body flux..
// Get the raw content without consuming the response body flux.
byte[] bytes = result.getResponseBodyContent();
assertThat(bytes).isNotNull();