File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/test/java/com/mongodb/kafka/connect/source Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 7676
7777import org .apache .kafka .common .config .ConfigException ;
7878import org .junit .jupiter .api .DisplayName ;
79+ import org .junit .jupiter .api .Nested ;
7980import org .junit .jupiter .api .Test ;
8081
8182import org .bson .BsonTimestamp ;
@@ -546,7 +547,8 @@ void testHeartbeatTopicName() {
546547 .getString (HEARTBEAT_TOPIC_NAME_CONFIG )));
547548 }
548549
549- static final class StartupModeTest {
550+ @ Nested
551+ final class StartupModeTest {
550552 @ Test
551553 void startupMode () {
552554 assertAll (
Original file line number Diff line number Diff line change 3131import org .apache .kafka .connect .storage .OffsetStorageReader ;
3232import org .junit .jupiter .api .AfterEach ;
3333import org .junit .jupiter .api .BeforeEach ;
34+ import org .junit .jupiter .api .Nested ;
3435import org .junit .jupiter .api .Test ;
3536import org .mockito .ArgumentCaptor ;
3637
4546import com .mongodb .kafka .connect .source .statistics .JmxStatisticsManager ;
4647
4748final class StartedMongoSourceTaskTest {
48- static final class ChangeStreamIterableOptionsTest {
49+ @ Nested
50+ final class ChangeStreamIterableOptionsTest {
4951 private final Map <String , String > properties = new HashMap <>();
5052 private StartedMongoSourceTask task ;
5153
You can’t perform that action at this time.
0 commit comments