File tree Expand file tree Collapse file tree 6 files changed +4
-51
lines changed Expand file tree Collapse file tree 6 files changed +4
-51
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,8 @@ class AbstractContextTest with ResourceProviderMixin {
55
55
/// Return a list of the experiments that are to be enabled for tests in this
56
56
/// class, an empty list if there are no experiments that should be enabled.
57
57
List <String > get experiments => [
58
- EnableString .class_modifiers ,
58
+ EnableString .inline_class ,
59
59
EnableString .macros,
60
- EnableString .patterns,
61
- EnableString .records,
62
- EnableString .sealed_class,
63
60
];
64
61
65
62
String get latestLanguageVersion =>
Original file line number Diff line number Diff line change @@ -222,11 +222,8 @@ class PubPackageAnalysisServerTest extends ContextResolutionTest {
222
222
// add `import 'package:analyzer/dart/analysis/features.dart';`
223
223
// and list the necessary experiments here.
224
224
List <String > get experiments => [
225
- Feature .class_modifiers .enableString,
225
+ Feature .inline_class .enableString,
226
226
Feature .macros.enableString,
227
- Feature .patterns.enableString,
228
- Feature .records.enableString,
229
- Feature .sealed_class.enableString,
230
227
];
231
228
232
229
/// The path that is not in [workspaceRootPath] , contains external packages.
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ class HoverTest extends AbstractLspAnalysisServerTest {
25
25
@override
26
26
AnalysisServerOptions get serverOptions => AnalysisServerOptions ()
27
27
..enabledExperiments = [
28
- EnableString .records ,
29
- EnableString .patterns ,
28
+ EnableString .inline_class ,
29
+ EnableString .macros ,
30
30
];
31
31
32
32
/// Checks whether the correct types of documentation are returned in a Hover
Original file line number Diff line number Diff line change @@ -1285,38 +1285,6 @@ $code
1285
1285
// [AstTestFactory.identifier3('o')])));
1286
1286
}
1287
1287
1288
- void test_visitExtensionTypeDeclaration_empty () {
1289
- final code = 'extension type E on C {}' ;
1290
- final findNode = _parseStringToFindNode ('''
1291
- $code
1292
- ''' );
1293
- _assertSource (code, findNode.extensionDeclaration (code));
1294
- }
1295
-
1296
- void test_visitExtensionTypeDeclaration_multipleMember () {
1297
- final code = 'extension type E on C {static var a; static var b;}' ;
1298
- final findNode = _parseStringToFindNode ('''
1299
- $code
1300
- ''' );
1301
- _assertSource (code, findNode.extensionDeclaration (code));
1302
- }
1303
-
1304
- void test_visitExtensionTypeDeclaration_parameters () {
1305
- final code = 'extension type E<T> on C {}' ;
1306
- final findNode = _parseStringToFindNode ('''
1307
- $code
1308
- ''' );
1309
- _assertSource (code, findNode.extensionDeclaration (code));
1310
- }
1311
-
1312
- void test_visitExtensionTypeDeclaration_singleMember () {
1313
- final code = 'extension type E on C {static var a;}' ;
1314
- final findNode = _parseStringToFindNode ('''
1315
- $code
1316
- ''' );
1317
- _assertSource (code, findNode.extensionDeclaration (code));
1318
- }
1319
-
1320
1288
void test_visitFieldDeclaration_abstract () {
1321
1289
final code = 'abstract var a;' ;
1322
1290
final findNode = _parseStringToFindNode ('''
Original file line number Diff line number Diff line change @@ -327,13 +327,9 @@ class PubPackageResolutionTest extends ContextResolutionTest {
327
327
List <String > get collectionIncludedPaths => [workspaceRootPath];
328
328
329
329
List <String > get experiments => [
330
- EnableString .class_modifiers,
331
330
EnableString .inference_update_2,
332
331
EnableString .inline_class,
333
332
EnableString .macros,
334
- EnableString .patterns,
335
- EnableString .records,
336
- EnableString .sealed_class,
337
333
];
338
334
339
335
@override
Original file line number Diff line number Diff line change @@ -47,13 +47,8 @@ class FeatureSets {
47
47
static final FeatureSet latestWithExperiments = FeatureSet .fromEnableFlags2 (
48
48
sdkLanguageVersion: ExperimentStatus .currentVersion,
49
49
flags: [
50
- Feature .class_modifiers.enableString,
51
- Feature .extension_types.enableString,
52
50
Feature .inline_class.enableString,
53
51
Feature .macros.enableString,
54
- Feature .patterns.enableString,
55
- Feature .records.enableString,
56
- Feature .sealed_class.enableString,
57
52
],
58
53
);
59
54
You can’t perform that action at this time.
0 commit comments