Fix and improve Javadoc in spring-test
Closes gh-28795
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -290,7 +290,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);
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user