| /third_party/flutter/flutter/packages/flutter/test/widgets/ |
| D | list_view_horizontal_test.dart | 38 await tester.drag(find.text('1'), const Offset(-300.0, 0.0), touchSlopX: 0.0); 44 expect(find.text('0'), findsNothing); 45 expect(find.text('1'), findsOneWidget); 46 expect(find.text('2'), findsOneWidget); 47 expect(find.text('3'), findsOneWidget); 48 expect(find.text('4'), findsNothing); 49 expect(find.text('5'), findsNothing); 55 await tester.drag(find.text('3'), const Offset(-290.0, 0.0), touchSlopX: 0.0); 61 expect(find.text('0'), findsNothing); 62 expect(find.text('1'), findsNothing); [all …]
|
| D | draggable_scrollable_sheet_test.dart | 59 expect(tester.getRect(find.byKey(key)), const Rect.fromLTRB(0.0, 450.0, 800.0, 600.0)); 60 await tester.drag(find.text('Item 5'), const Offset(0, -125)); 62 expect(tester.getRect(find.byKey(key)), const Rect.fromLTRB(0.0, 325.0, 800.0, 600.0)); 75 expect(tester.getRect(find.byKey(key)), const Rect.fromLTRB(0.0, 450.0, 800.0, 600.0)); 76 await tester.drag(find.text('Item 5'), const Offset(0, -125)); 78 expect(tester.getRect(find.byKey(key)), const Rect.fromLTRB(0.0, 325.0, 800.0, 600.0)); 89 expect(find.text('TapHere'), findsOneWidget); 90 await tester.tap(find.text('TapHere')); 92 expect(find.text('Item 1'), findsOneWidget); 93 expect(find.text('Item 21'), findsOneWidget); [all …]
|
| D | visibility_test.dart | 71 expect(find.byType(Text, skipOffstage: false), findsOneWidget); 72 expect(find.text('a true', skipOffstage: false), findsOneWidget); 73 expect(find.byType(Visibility), paints..paragraph()); 74 expect(tester.getSize(find.byType(Visibility)), const Size(800.0, 600.0)); 77 await tester.tap(find.byType(Visibility)); 82 expect(find.byType(Text, skipOffstage: false), findsNothing); 83 expect(find.byType(Visibility), paintsNothing); 84 expect(tester.getSize(find.byType(Visibility)), const Size(800.0, 600.0)); 87 await tester.tap(find.byType(Visibility)); 92 expect(find.byType(Text, skipOffstage: false), findsNothing); [all …]
|
| D | linked_scroll_view_test.dart | 376 expect(find.text('Hello A'), findsOneWidget); 377 expect(find.text('Hello 1'), findsOneWidget); 378 expect(find.text('Hello D'), findsNothing); 379 expect(find.text('Hello 4'), findsNothing); 381 await tester.fling(find.text('Hello A'), const Offset(0.0, -50.0), 10000.0); 384 expect(find.text('Hello A'), findsNothing); 385 expect(find.text('Hello 1'), findsOneWidget); 386 expect(find.text('Hello D'), findsOneWidget); 387 expect(find.text('Hello 4'), findsNothing); 389 await tester.drag(find.text('Hello D'), const Offset(0.0, -10000.0)); [all …]
|
| D | remember_scroll_position_test.dart | 60 expect(find.text('0'), findsNothing); 61 expect(find.text('1'), findsOneWidget); 62 expect(find.text('2'), findsOneWidget); 63 expect(find.text('3'), findsOneWidget); 64 expect(find.text('4'), findsOneWidget); 65 expect(find.text('5'), findsOneWidget); 66 expect(find.text('6'), findsOneWidget); 67 expect(find.text('7'), findsOneWidget); 68 expect(find.text('8'), findsNothing); 69 expect(find.text('10'), findsNothing); [all …]
|
| D | pageable_list_test.dart | 51 await tester.drag(find.text(itemText), offset); 83 expect(find.text('0'), findsNothing); 84 expect(find.text('1'), findsOneWidget); 85 expect(find.text('2'), findsNothing); 86 expect(find.text('3'), findsNothing); 87 expect(find.text('4'), findsNothing); 88 expect(find.text('5'), findsNothing); 93 expect(find.text('0'), findsOneWidget); 94 expect(find.text('1'), findsNothing); 95 expect(find.text('2'), findsNothing); [all …]
|
| D | automatic_keep_alive_test.dart | 82 expect(find.byKey(const GlobalObjectKey<_LeafState>(3)), findsOneWidget); 83 expect(find.byKey(const GlobalObjectKey<_LeafState>(30)), findsOneWidget); 84 expect(find.byKey(const GlobalObjectKey<_LeafState>(59), skipOffstage: false), findsNothing); 85 expect(find.byKey(const GlobalObjectKey<_LeafState>(60), skipOffstage: false), findsNothing); 86 expect(find.byKey(const GlobalObjectKey<_LeafState>(61), skipOffstage: false), findsNothing); 87 expect(find.byKey(const GlobalObjectKey<_LeafState>(90), skipOffstage: false), findsNothing); 88 await tester.drag(find.byType(ListView), const Offset(0.0, -300.0)); // about 25 widgets' worth 90 expect(find.byKey(const GlobalObjectKey<_LeafState>(3), skipOffstage: false), findsNothing); 91 expect(find.byKey(const GlobalObjectKey<_LeafState>(30)), findsOneWidget); 92 expect(find.byKey(const GlobalObjectKey<_LeafState>(59)), findsOneWidget); [all …]
|
| D | slivers_keepalive_test.dart | 17 final _WidgetTest0State state0 = tester.state(find.byType(WidgetTest0)); 18 expect(find.text('child 0'), findsOneWidget); 19 expect(find.text('child 1', skipOffstage: false), findsNothing); 20 expect(find.text('child 2', skipOffstage: false), findsNothing); 24 final _WidgetTest2State state2 = tester.state(find.byType(WidgetTest2)); 25 expect(find.text('child 2'), findsOneWidget); 26 expect(find.text('child 1', skipOffstage: false), findsNothing); 27 expect(find.text('child 0', skipOffstage: false), findsNothing); 40 final _WidgetTest0State state0 = tester.state(find.byType(WidgetTest0)); 41 expect(find.text('child 0'), findsOneWidget); [all …]
|
| D | draggable_test.dart | 40 expect(find.text('Source'), findsOneWidget); 41 expect(find.text('Dragging'), findsNothing); 42 expect(find.text('Target'), findsOneWidget); 45 final Offset firstLocation = tester.getCenter(find.text('Source')); 50 expect(find.text('Source'), findsOneWidget); 51 expect(find.text('Dragging'), findsOneWidget); 52 expect(find.text('Target'), findsOneWidget); 55 final Offset secondLocation = tester.getCenter(find.text('Target')); 60 expect(find.text('Source'), findsOneWidget); 61 expect(find.text('Dragging'), findsOneWidget); [all …]
|
| /third_party/typescript/tests/baselines/reference/ |
| D | parserGenericsInTypeContexts2.errors.txt | 1 …er/ecmascript5/Generics/parserGenericsInTypeContexts2.ts(1,17): error TS2304: Cannot find name 'A'. 2 …er/ecmascript5/Generics/parserGenericsInTypeContexts2.ts(1,19): error TS2304: Cannot find name 'X'. 3 …er/ecmascript5/Generics/parserGenericsInTypeContexts2.ts(1,21): error TS2304: Cannot find name 'T'. 4 …er/ecmascript5/Generics/parserGenericsInTypeContexts2.ts(1,25): error TS2304: Cannot find name 'Y'. 5 …er/ecmascript5/Generics/parserGenericsInTypeContexts2.ts(1,27): error TS2304: Cannot find name 'Z'. 6 …er/ecmascript5/Generics/parserGenericsInTypeContexts2.ts(1,29): error TS2304: Cannot find name 'T'. 7 …er/ecmascript5/Generics/parserGenericsInTypeContexts2.ts(1,45): error TS2304: Cannot find name 'B'. 8 …er/ecmascript5/Generics/parserGenericsInTypeContexts2.ts(1,47): error TS2304: Cannot find name 'X'. 9 …er/ecmascript5/Generics/parserGenericsInTypeContexts2.ts(1,49): error TS2304: Cannot find name 'T'. 10 …er/ecmascript5/Generics/parserGenericsInTypeContexts2.ts(1,53): error TS2304: Cannot find name 'Y'. [all …]
|
| D | parserRealSource13.errors.txt | 2 tests/cases/conformance/parser/ecmascript5/parserRealSource13.ts(8,35): error TS2304: Cannot find n… 3 tests/cases/conformance/parser/ecmascript5/parserRealSource13.ts(9,39): error TS2304: Cannot find n… 4 tests/cases/conformance/parser/ecmascript5/parserRealSource13.ts(10,34): error TS2304: Cannot find … 5 tests/cases/conformance/parser/ecmascript5/parserRealSource13.ts(11,35): error TS2304: Cannot find … 6 tests/cases/conformance/parser/ecmascript5/parserRealSource13.ts(12,34): error TS2304: Cannot find … 7 tests/cases/conformance/parser/ecmascript5/parserRealSource13.ts(13,35): error TS2304: Cannot find … 8 tests/cases/conformance/parser/ecmascript5/parserRealSource13.ts(14,37): error TS2304: Cannot find … 9 tests/cases/conformance/parser/ecmascript5/parserRealSource13.ts(15,35): error TS2304: Cannot find … 10 tests/cases/conformance/parser/ecmascript5/parserRealSource13.ts(16,34): error TS2304: Cannot find … 11 tests/cases/conformance/parser/ecmascript5/parserRealSource13.ts(17,38): error TS2304: Cannot find … [all …]
|
| D | parserRealSource10.errors.txt | 10 tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(179,54): error TS2304: Cannot find… 11 tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(184,28): error TS2304: Cannot find… 12 tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(188,34): error TS2304: Cannot find… 13 tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(192,33): error TS2304: Cannot find… 14 tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(198,80): error TS2304: Cannot find… 15 …mance/parser/ecmascript5/parserRealSource10.ts(198,120): error TS2304: Cannot find name 'NodeType'. 16 …e/parser/ecmascript5/parserRealSource10.ts(198,142): error TS2304: Cannot find name 'ErrorRecovery… 17 tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(199,81): error TS2304: Cannot find… 18 …mance/parser/ecmascript5/parserRealSource10.ts(199,121): error TS2304: Cannot find name 'NodeType'. 19 …e/parser/ecmascript5/parserRealSource10.ts(199,147): error TS2304: Cannot find name 'ErrorRecovery… [all …]
|
| D | parserRealSource12.errors.txt | 2 tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(8,19): error TS2304: Cannot find n… 3 tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(8,32): error TS2304: Cannot find n… 4 tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(8,38): error TS2304: Cannot find n… 5 tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(25,15): error TS2304: Cannot find … 6 tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(25,28): error TS2304: Cannot find … 7 tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(25,54): error TS2304: Cannot find … 8 tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(29,18): error TS2304: Cannot find … 9 tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(29,31): error TS2304: Cannot find … 10 tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(41,26): error TS2304: Cannot find … 11 tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(41,39): error TS2304: Cannot find … [all …]
|
| D | errorsInGenericTypeReference.errors.txt | 1 tests/cases/compiler/errorsInGenericTypeReference.ts(11,17): error TS2304: Cannot find name 'V'. 2 tests/cases/compiler/errorsInGenericTypeReference.ts(17,31): error TS2304: Cannot find name 'V'. 3 tests/cases/compiler/errorsInGenericTypeReference.ts(22,29): error TS2304: Cannot find name 'V'. 4 tests/cases/compiler/errorsInGenericTypeReference.ts(23,36): error TS2304: Cannot find name 'V'. 6 tests/cases/compiler/errorsInGenericTypeReference.ts(24,27): error TS2304: Cannot find name 'V'. 7 tests/cases/compiler/errorsInGenericTypeReference.ts(25,24): error TS2304: Cannot find name 'V'. 8 tests/cases/compiler/errorsInGenericTypeReference.ts(30,36): error TS2304: Cannot find name 'V'. 9 tests/cases/compiler/errorsInGenericTypeReference.ts(34,36): error TS2304: Cannot find name 'V'. 10 tests/cases/compiler/errorsInGenericTypeReference.ts(38,17): error TS2304: Cannot find name 'V'. 11 tests/cases/compiler/errorsInGenericTypeReference.ts(42,33): error TS2304: Cannot find name 'V'. [all …]
|
| D | parserRealSource7.errors.txt | 2 tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(12,38): error TS2304: Cannot find n… 3 tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(12,62): error TS2304: Cannot find n… 4 tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(16,37): error TS2552: Cannot find n… 6 tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(21,36): error TS2552: Cannot find n… 7 tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(29,29): error TS2304: Cannot find n… 8 tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(29,45): error TS2304: Cannot find n… 9 tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(34,43): error TS2304: Cannot find n… 10 tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(34,54): error TS2304: Cannot find n… 11 tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(34,68): error TS2304: Cannot find n… 12 tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(35,25): error TS2304: Cannot find n… [all …]
|
| D | parserRealSource11.errors.txt | 2 tests/cases/conformance/parser/ecmascript5/parserRealSource11.ts(13,22): error TS2304: Cannot find … 3 tests/cases/conformance/parser/ecmascript5/parserRealSource11.ts(14,24): error TS2304: Cannot find … 4 tests/cases/conformance/parser/ecmascript5/parserRealSource11.ts(17,38): error TS2304: Cannot find … 5 tests/cases/conformance/parser/ecmascript5/parserRealSource11.ts(24,39): error TS2304: Cannot find … 6 tests/cases/conformance/parser/ecmascript5/parserRealSource11.ts(36,36): error TS2304: Cannot find … 7 tests/cases/conformance/parser/ecmascript5/parserRealSource11.ts(38,22): error TS2304: Cannot find … 8 tests/cases/conformance/parser/ecmascript5/parserRealSource11.ts(39,22): error TS2304: Cannot find … 9 tests/cases/conformance/parser/ecmascript5/parserRealSource11.ts(42,22): error TS2304: Cannot find … 10 tests/cases/conformance/parser/ecmascript5/parserRealSource11.ts(44,22): error TS2304: Cannot find … 11 tests/cases/conformance/parser/ecmascript5/parserRealSource11.ts(47,22): error TS2304: Cannot find … [all …]
|
| D | parserRealSource8.errors.txt | 2 tests/cases/conformance/parser/ecmascript5/parserRealSource8.ts(9,41): error TS2304: Cannot find na… 3 tests/cases/conformance/parser/ecmascript5/parserRealSource8.ts(10,39): error TS2304: Cannot find n… 4 tests/cases/conformance/parser/ecmascript5/parserRealSource8.ts(11,43): error TS2304: Cannot find n… 5 tests/cases/conformance/parser/ecmascript5/parserRealSource8.ts(15,44): error TS2304: Cannot find n… 6 tests/cases/conformance/parser/ecmascript5/parserRealSource8.ts(17,15): error TS2304: Cannot find n… 7 tests/cases/conformance/parser/ecmascript5/parserRealSource8.ts(18,20): error TS2304: Cannot find n… 8 tests/cases/conformance/parser/ecmascript5/parserRealSource8.ts(19,14): error TS2304: Cannot find n… 9 tests/cases/conformance/parser/ecmascript5/parserRealSource8.ts(21,25): error TS2304: Cannot find n… 12 tests/cases/conformance/parser/ecmascript5/parserRealSource8.ts(69,48): error TS2304: Cannot find n… 13 tests/cases/conformance/parser/ecmascript5/parserRealSource8.ts(70,27): error TS2304: Cannot find n… [all …]
|
| D | parserRealSource6.errors.txt | 2 tests/cases/conformance/parser/ecmascript5/parserRealSource6.ts(8,24): error TS2304: Cannot find na… 3 tests/cases/conformance/parser/ecmascript5/parserRealSource6.ts(10,41): error TS2304: Cannot find n… 4 tests/cases/conformance/parser/ecmascript5/parserRealSource6.ts(10,69): error TS2304: Cannot find n… 5 tests/cases/conformance/parser/ecmascript5/parserRealSource6.ts(15,22): error TS2304: Cannot find n… 6 tests/cases/conformance/parser/ecmascript5/parserRealSource6.ts(16,21): error TS2304: Cannot find n… 7 tests/cases/conformance/parser/ecmascript5/parserRealSource6.ts(17,23): error TS2304: Cannot find n… 8 tests/cases/conformance/parser/ecmascript5/parserRealSource6.ts(18,30): error TS2304: Cannot find n… 9 tests/cases/conformance/parser/ecmascript5/parserRealSource6.ts(20,35): error TS2304: Cannot find n… 10 tests/cases/conformance/parser/ecmascript5/parserRealSource6.ts(20,83): error TS2304: Cannot find n… 11 tests/cases/conformance/parser/ecmascript5/parserRealSource6.ts(26,35): error TS2304: Cannot find n… [all …]
|
| D | parserGenericsInVariableDeclaration1.errors.txt | 1 …cript5/Generics/parserGenericsInVariableDeclaration1.ts(1,9): error TS2304: Cannot find name 'Foo'. 2 …script5/Generics/parserGenericsInVariableDeclaration1.ts(1,13): error TS2304: Cannot find name 'T'. 3 …cript5/Generics/parserGenericsInVariableDeclaration1.ts(2,9): error TS2304: Cannot find name 'Foo'. 4 …script5/Generics/parserGenericsInVariableDeclaration1.ts(2,13): error TS2304: Cannot find name 'T'. 5 …cript5/Generics/parserGenericsInVariableDeclaration1.ts(4,9): error TS2304: Cannot find name 'Foo'. 6 …ript5/Generics/parserGenericsInVariableDeclaration1.ts(4,13): error TS2304: Cannot find name 'Bar'. 7 …script5/Generics/parserGenericsInVariableDeclaration1.ts(4,17): error TS2304: Cannot find name 'T'. 8 …cript5/Generics/parserGenericsInVariableDeclaration1.ts(5,9): error TS2304: Cannot find name 'Foo'. 9 …ript5/Generics/parserGenericsInVariableDeclaration1.ts(5,13): error TS2304: Cannot find name 'Bar'. 10 …script5/Generics/parserGenericsInVariableDeclaration1.ts(5,17): error TS2304: Cannot find name 'T'. [all …]
|
| D | parserGenericsInTypeContexts1.errors.txt | 1 …er/ecmascript5/Generics/parserGenericsInTypeContexts1.ts(1,17): error TS2304: Cannot find name 'A'. 2 …er/ecmascript5/Generics/parserGenericsInTypeContexts1.ts(1,19): error TS2304: Cannot find name 'T'. 3 …er/ecmascript5/Generics/parserGenericsInTypeContexts1.ts(1,33): error TS2304: Cannot find name 'B'. 4 …er/ecmascript5/Generics/parserGenericsInTypeContexts1.ts(1,35): error TS2304: Cannot find name 'T'. 6 …er/ecmascript5/Generics/parserGenericsInTypeContexts1.ts(4,11): error TS2304: Cannot find name 'T'. 7 …ser/ecmascript5/Generics/parserGenericsInTypeContexts1.ts(5,9): error TS2304: Cannot find name 'D'. 8 …er/ecmascript5/Generics/parserGenericsInTypeContexts1.ts(5,11): error TS2304: Cannot find name 'T'. 9 …cmascript5/Generics/parserGenericsInTypeContexts1.ts(6,9): error TS2503: Cannot find namespace 'E'. 10 …er/ecmascript5/Generics/parserGenericsInTypeContexts1.ts(6,13): error TS2304: Cannot find name 'T'. 11 …cmascript5/Generics/parserGenericsInTypeContexts1.ts(7,9): error TS2503: Cannot find namespace 'G'. [all …]
|
| D | parserRegularExpression4.errors.txt | 1 …mascript5/RegularExpressions/parserRegularExpression4.ts(1,5): error TS2304: Cannot find name 'Ca'. 2 …mascript5/RegularExpressions/parserRegularExpression4.ts(1,13): error TS2304: Cannot find name 'c'. 3 …ascript5/RegularExpressions/parserRegularExpression4.ts(1,24): error TS2304: Cannot find name 'Ba'. 4 …mascript5/RegularExpressions/parserRegularExpression4.ts(1,32): error TS2304: Cannot find name 'c'. 5 …mascript5/RegularExpressions/parserRegularExpression4.ts(1,64): error TS2304: Cannot find name 'c'. 6 …mascript5/RegularExpressions/parserRegularExpression4.ts(1,93): error TS2304: Cannot find name 'c'. 7 …ascript5/RegularExpressions/parserRegularExpression4.ts(1,132): error TS2304: Cannot find name 'c'. 8 …ascript5/RegularExpressions/parserRegularExpression4.ts(1,144): error TS2304: Cannot find name 'd'. 9 …ascript5/RegularExpressions/parserRegularExpression4.ts(1,177): error TS2304: Cannot find name 'c'. 10 …ascript5/RegularExpressions/parserRegularExpression4.ts(1,189): error TS2304: Cannot find name 'd'. [all …]
|
| /third_party/toybox/tests/ |
| D | find.test | 24 "find dir -type l -a -type d -o -type p" "dir/fifo\n" "" "" 25 testing "-type l -type d -o -type p" "find dir -type l -type d -o -type p" \ 28 "find dir -type l -o -type d -a -type p" "dir/link\n" "" "" 29 testing "-type l -o -type d -type p" "find dir -type l -o -type d -type p" \ 32 "find dir -type l \( -type d -o -type l \)" "dir/link\n" "" "" 34 "find dir \( \( -type l \) \( -type d -o \( \( -type l \) \) \) \)" \ 37 "find dir \( -type p -o -type d \) -type p" "dir/fifo\n" "" "" 39 "find dir -type l -o -type d -type p -o -type f | sort" \ 45 "find dir -type f -a -print" "dir/file\n" "" "" 47 "find dir -type f -a \( -print -o -print \)" "dir/file\n" "" "" [all …]
|
| /third_party/flutter/flutter/packages/flutter/test/material/ |
| D | expansion_panel_test.dart | 126 expect(find.text('A'), findsOneWidget); 127 expect(find.text('B'), findsNothing); 128 RenderBox box = tester.renderObject(find.byType(ExpansionPanelList)); 130 expect(find.byType(ExpandIcon), findsOneWidget); 131 await tester.tap(find.byType(ExpandIcon)); 134 box = tester.renderObject(find.byType(ExpansionPanelList)); 161 expect(find.text('A'), findsNothing); 162 expect(find.text('B'), findsOneWidget); 163 box = tester.renderObject(find.byType(ExpansionPanelList)); 177 await tester.tap(find.text('head1')); [all …]
|
| D | search_test.dart | 23 expect(find.text('HomeBody'), findsOneWidget); 24 expect(find.text('HomeTitle'), findsOneWidget); 25 expect(find.text('Suggestions'), findsNothing); 28 await tester.tap(find.byTooltip('Search')); 31 expect(find.text('HomeBody'), findsNothing); 32 expect(find.text('HomeTitle'), findsNothing); 33 expect(find.text('Suggestions'), findsOneWidget); 36 final TextField textField = tester.widget(find.byType(TextField)); 40 await tester.tap(find.byTooltip('Back')); 43 expect(find.text('HomeBody'), findsOneWidget); [all …]
|
| D | page_test.dart | 25 final Offset widget1TopLeft = tester.getTopLeft(find.text('Page 1')); 27 tester.state<NavigatorState>(find.byType(Navigator)).pushNamed('/next'); 32 tester.element(find.text('Page 2')).ancestorWidgetOfExactType(FadeTransition); 33 Offset widget2TopLeft = tester.getTopLeft(find.text('Page 2')); 34 final Size widget2Size = tester.getSize(find.text('Page 2')); 48 expect(find.text('Page 1'), findsNothing); 49 expect(find.text('Page 2'), isOnstage); 51 tester.state<NavigatorState>(find.byType(Navigator)).pop(); 56 tester.element(find.text('Page 2')).ancestorWidgetOfExactType(FadeTransition); 57 widget2TopLeft = tester.getTopLeft(find.text('Page 2')); [all …]
|