32
32
import org .junit .jupiter .api .AfterEach ;
33
33
import org .junit .jupiter .api .BeforeAll ;
34
34
import org .junit .jupiter .api .BeforeEach ;
35
- import org .junit .jupiter .api .Disabled ;
36
35
import org .junit .jupiter .api .Nested ;
37
36
import org .junit .jupiter .api .Test ;
38
37
import org .junit .jupiter .api .TestInstance ;
@@ -120,28 +119,6 @@ void instanceLevelWithInheritedExtensions() {
120
119
);
121
120
}
122
121
123
- @ Disabled ("Disabled until legacy search mode is supported" )
124
- @ Test
125
- void instanceLevelWithInheritedAndHiddenExtensionsInLegacyMode () {
126
- Class <?> testClass = InstanceLevelExtensionRegistrationParentTestCase .class ;
127
- String parent = testClass .getSimpleName ();
128
- assertOneTestSucceeded (testClass );
129
- assertThat (callSequence ).containsExactly ( //
130
- parent + " :: extension1 :: before test" , //
131
- parent + " :: extension2 :: before test" //
132
- );
133
-
134
- callSequence .clear ();
135
- testClass = InstanceLevelExtensionRegistrationChildTestCase .class ;
136
- String child = testClass .getSimpleName ();
137
- assertOneTestSucceeded (testClass );
138
- assertThat (callSequence ).containsExactly ( //
139
- parent + " :: extension1 :: before test" , //
140
- child + " :: extension2 :: before test" , //
141
- child + " :: extension3 :: before test" //
142
- );
143
- }
144
-
145
122
@ Test
146
123
void classLevelWithInheritedExtensions () {
147
124
Class <?> testClass = ClassLevelExtensionRegistrationParentTestCase .class ;
@@ -164,28 +141,6 @@ void classLevelWithInheritedExtensions() {
164
141
);
165
142
}
166
143
167
- @ Disabled ("Disabled until legacy search mode is supported" )
168
- @ Test
169
- void classLevelWithInheritedAndHiddenExtensionsInLegacyMode () {
170
- Class <?> testClass = ClassLevelExtensionRegistrationParentTestCase .class ;
171
- String parent = testClass .getSimpleName ();
172
- assertOneTestSucceeded (testClass );
173
- assertThat (callSequence ).containsExactly ( //
174
- parent + " :: extension1 :: before test" , //
175
- parent + " :: extension2 :: before test" //
176
- );
177
-
178
- callSequence .clear ();
179
- testClass = ClassLevelExtensionRegistrationChildTestCase .class ;
180
- String child = testClass .getSimpleName ();
181
- assertOneTestSucceeded (testClass );
182
- assertThat (callSequence ).containsExactly ( //
183
- parent + " :: extension1 :: before test" , //
184
- child + " :: extension2 :: before test" , //
185
- child + " :: extension3 :: before test" //
186
- );
187
- }
188
-
189
144
/**
190
145
* @since 5.5
191
146
*/
0 commit comments