mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
fix executor_test.dart for hasAbstract changes
Bug: https://github.com/dart-lang/sdk/issues/54130 Change-Id: If3554796de99ed0e8b8ea37ae159e89bcc5cbcf6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/337860 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Auto-Submit: Jake Macdonald <jakemac@google.com>
This commit is contained in:
parent
15ac79c93d
commit
613fa1f5aa
|
@ -645,7 +645,6 @@ class LibraryInfo {
|
|||
result.libraryAugmentations.single.debugString().toString(),
|
||||
equalsIgnoringWhitespace('''
|
||||
augment String myFunction() {
|
||||
print('isAbstract: false');
|
||||
print('isExternal: false');
|
||||
print('isGetter: false');
|
||||
print('isSetter: false');
|
||||
|
@ -703,7 +702,6 @@ class LibraryInfo {
|
|||
result.libraryAugmentations.single.debugString().toString(),
|
||||
equalsIgnoringWhitespace('''
|
||||
augment String get myVariable {
|
||||
print('isAbstract: false');
|
||||
print('isExternal: false');
|
||||
print('isGetter: true');
|
||||
print('isSetter: false');
|
||||
|
@ -725,7 +723,6 @@ class LibraryInfo {
|
|||
result.libraryAugmentations.single.debugString().toString(),
|
||||
equalsIgnoringWhitespace('''
|
||||
augment void myVariable(String value, ) {
|
||||
print('isAbstract: false');
|
||||
print('isExternal: false');
|
||||
print('isGetter: false');
|
||||
print('isSetter: true');
|
||||
|
@ -828,7 +825,6 @@ class LibraryInfo {
|
|||
augment MyEnum.myEnumConstructor(String myField, ) {
|
||||
print('definingClass: MyEnum');
|
||||
print('isFactory: false');
|
||||
print('isAbstract: false');
|
||||
print('isExternal: false');
|
||||
print('isGetter: false');
|
||||
print('isSetter: false');
|
||||
|
@ -963,7 +959,6 @@ final constructorDefinitionMatcher = equalsIgnoringWhitespace('''
|
|||
augment MyClass.myConstructor(/*inferred*/String myField, ) {
|
||||
print('definingClass: MyClass');
|
||||
print('isFactory: false');
|
||||
print('isAbstract: false');
|
||||
print('isExternal: false');
|
||||
print('isGetter: false');
|
||||
print('isSetter: false');
|
||||
|
@ -976,6 +971,7 @@ final fieldDefinitionMatchers = [
|
|||
equalsIgnoringWhitespace('''
|
||||
augment String get myField {
|
||||
print('parentClass: MyClass');
|
||||
print('isAbstract: false');
|
||||
print('isExternal: false');
|
||||
print('isFinal: false');
|
||||
print('isLate: false');
|
||||
|
@ -993,7 +989,6 @@ final methodDefinitionMatchers = [
|
|||
equalsIgnoringWhitespace('''
|
||||
augment (String, bool? hello, {String world}) myMethod() {
|
||||
print('definingClass: MyClass');
|
||||
print('isAbstract: false');
|
||||
print('isExternal: false');
|
||||
print('isGetter: false');
|
||||
print('isSetter: false');
|
||||
|
@ -1024,7 +1019,6 @@ final mixinMethodDefinitionMatchers = [
|
|||
equalsIgnoringWhitespace('''
|
||||
augment (String, bool? hello, {String world}) myMixinMethod() {
|
||||
print('definingClass: MyMixin');
|
||||
print('isAbstract: false');
|
||||
print('isExternal: false');
|
||||
print('isGetter: false');
|
||||
print('isSetter: false');
|
||||
|
|
Loading…
Reference in a new issue