Polishing.
Add since and author tags. Add ticket references to tests. Reformat code. See #2471
This commit is contained in:
@@ -37,6 +37,7 @@ import org.reactivestreams.Publisher;
|
||||
* Unit tests for {@link ReactiveWrapperConverters}.
|
||||
*
|
||||
* @author Mark Paluch
|
||||
* @author Hantsy Bai
|
||||
*/
|
||||
class ReactiveWrapperConvertersUnitTests {
|
||||
|
||||
@@ -84,7 +85,7 @@ class ReactiveWrapperConvertersUnitTests {
|
||||
assertThat(ReactiveWrapperConverters.supports(io.reactivex.rxjava3.core.Completable.class)).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test // GH-2471
|
||||
void shouldSupportMutinyTypes() {
|
||||
|
||||
assertThat(ReactiveWrapperConverters.supports(Uni.class)).isTrue();
|
||||
|
||||
@@ -34,10 +34,11 @@ import org.reactivestreams.Publisher;
|
||||
*
|
||||
* @author Mark Paluch
|
||||
* @author Gerrit Meier
|
||||
* @author Hantsy Bai
|
||||
*/
|
||||
class ReactiveWrappersUnitTests {
|
||||
|
||||
@Test // DATACMNS-836, DATACMNS-1653, DATACMNS-1753
|
||||
@Test // DATACMNS-836, DATACMNS-1653, DATACMNS-1753, GH-2471
|
||||
void isSingleLikeShouldReportCorrectNoTypes() {
|
||||
|
||||
assertThat(ReactiveWrappers.isNoValueType(Mono.class)).isFalse();
|
||||
@@ -59,7 +60,7 @@ class ReactiveWrappersUnitTests {
|
||||
assertThat(ReactiveWrappers.isNoValueType(io.smallrye.mutiny.Multi.class)).isFalse();
|
||||
}
|
||||
|
||||
@Test // DATACMNS-836, DATACMNS-1653, DATACMNS-1753
|
||||
@Test // DATACMNS-836, DATACMNS-1653, DATACMNS-1753, GH-2471
|
||||
void isSingleLikeShouldReportCorrectSingleTypes() {
|
||||
|
||||
assertThat(ReactiveWrappers.isSingleValueType(Mono.class)).isTrue();
|
||||
@@ -83,7 +84,7 @@ class ReactiveWrappersUnitTests {
|
||||
assertThat(ReactiveWrappers.isSingleValueType(io.smallrye.mutiny.Multi.class)).isFalse();
|
||||
}
|
||||
|
||||
@Test // DATACMNS-836, DATACMNS-1653, DATACMNS-1753
|
||||
@Test // DATACMNS-836, DATACMNS-1653, DATACMNS-1753, GH-2471
|
||||
void isCollectionLikeShouldReportCorrectCollectionTypes() {
|
||||
|
||||
assertThat(ReactiveWrappers.isMultiValueType(Mono.class)).isFalse();
|
||||
|
||||
Reference in New Issue
Block a user