Home
last modified time | relevance | path

Searched refs:hasLength (Results 1 – 25 of 93) sorted by relevance

1234

/third_party/flutter/flutter/packages/flutter/test/foundation/
Ddiagnostics_json_test.dart89 expect(children[0]['children'], hasLength(0));
90 expect(children[1]['children'], hasLength(3));
91 expect(children[2]['children'], hasLength(0));
97 expect(result['properties'], hasLength(7));
105 expect(result['properties'], hasLength(7));
107 expect(children, hasLength(3));
108 expect(children[0]['properties'], hasLength(0));
109 expect(children[1]['properties'], hasLength(2));
110 expect(children[2]['properties'], hasLength(1));
123 expect(properties, hasLength(7));
[all …]
Dlicenses_test.dart156 expect(paragraphs, hasLength(index));
167 expect(paragraphs, hasLength(1));
172 expect(paragraphs, hasLength(1));
185 expect(await LicenseRegistry.licenses.toList(), hasLength(4));
187 expect(licenses, hasLength(4));
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dsemantics_keep_alive_offstage_test.dart31 expect(tester.widgetList(find.widgetWithText(ProblemWidget, initialLabel)), hasLength(1));
38 expect(tester.widgetList(find.widgetWithText(ProblemWidget, initialLabel)), hasLength(0));
40 …r.widgetList(find.widgetWithText(ProblemWidget, initialLabel, skipOffstage: false)), hasLength(1));
64 …r.widgetList(find.widgetWithText(ProblemWidget, initialLabel, skipOffstage: false)), hasLength(0));
65 …ester.widgetList(find.widgetWithText(ProblemWidget, newLabel, skipOffstage: false)), hasLength(1));
73 expect(tester.widgetList(find.widgetWithText(ProblemWidget, initialLabel)), hasLength(0));
74 expect(tester.widgetList(find.widgetWithText(ProblemWidget, newLabel)), hasLength(1));
Droute_notification_messages_test.dart64 expect(log, hasLength(1));
79 expect(log, hasLength(2));
94 expect(log, hasLength(3));
133 expect(log, hasLength(1));
148 expect(log, hasLength(2));
163 expect(log, hasLength(3));
Dfade_transition_test.dart25 expect(log, hasLength(2));
28 expect(log, hasLength(2));
31 expect(log, hasLength(2));
/third_party/skia/tests/
DFrontBufferedStreamTest.cpp43 if (streamBeingBuffered.hasLength() && streamBeingBuffered.hasPosition()) { in test_hasLength()
44 REPORTER_ASSERT(reporter, bufferedStream.hasLength()); in test_hasLength()
46 REPORTER_ASSERT(reporter, !bufferedStream.hasLength()); in test_hasLength()
183 LengthOptionalStream(bool hasLength, bool hasPosition) in LengthOptionalStream() argument
184 : fHasLength(hasLength) in LengthOptionalStream()
188 bool hasLength() const override { in hasLength() function in LengthOptionalStream
234 REPORTER_ASSERT(reporter, bufferedStream->hasLength()); in test_initial_offset()
DFakeStreams.h23 bool hasLength() const override { in hasLength() function
70 bool hasLength() const override { return true; } in hasLength() function
/third_party/flutter/skia/tests/
DFrontBufferedStreamTest.cpp39 if (streamBeingBuffered.hasLength() && streamBeingBuffered.hasPosition()) { in test_hasLength()
40 REPORTER_ASSERT(reporter, bufferedStream.hasLength()); in test_hasLength()
42 REPORTER_ASSERT(reporter, !bufferedStream.hasLength()); in test_hasLength()
178 LengthOptionalStream(bool hasLength, bool hasPosition) in LengthOptionalStream() argument
179 : fHasLength(hasLength) in LengthOptionalStream()
183 bool hasLength() const override { in hasLength() function in LengthOptionalStream
229 REPORTER_ASSERT(reporter, bufferedStream->hasLength()); in test_initial_offset()
DFakeStreams.h23 bool hasLength() const override { in hasLength() function
70 bool hasLength() const override { return true; } in hasLength() function
/third_party/flutter/flutter/packages/flutter/test/gestures/
Ddebug_test.dart26 expect(log, hasLength(2));
32 expect(log, hasLength(1));
44 expect(log, hasLength(2));
85 expect(log, hasLength(3));
115 expect(log, hasLength(2));
121 expect(log, hasLength(1));
133 expect(log, hasLength(5));
Dtransformed_monodrag_test.dart54 expect(endDetails, hasLength(1));
117 expect(endDetails, hasLength(1));
152 expect(endDetails, hasLength(1));
215 expect(endDetails, hasLength(1));
250 expect(endDetails, hasLength(1));
333 expect(endDetails, hasLength(1));
334 expect(startDetails, hasLength(1));
382 expect(endDetails, hasLength(1));
445 expect(endDetails, hasLength(1));
480 expect(endDetails, hasLength(1));
[all …]
/third_party/flutter/flutter/packages/flutter/test/scheduler/
Dscheduler_test.dart63 expect(executedTasks, hasLength(1));
70 expect(executedTasks, hasLength(2));
81 expect(executedTasks, hasLength(2));
89 expect(executedTasks, hasLength(2));
97 expect(executedTasks, hasLength(3));
105 expect(executedTasks, hasLength(1));
143 expect(events, hasLength(1));
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/commands/
Dpackages_test.dart311 expect(commands, hasLength(3));
324 expect(commands, hasLength(4));
338 expect(commands, hasLength(4));
358 expect(commands, hasLength(2));
362 expect(stdout, hasLength(4));
375 expect(commands, hasLength(3));
388 expect(commands, hasLength(3));
401 expect(commands, hasLength(3));
414 expect(commands, hasLength(3));
427 expect(commands, hasLength(3));
[all …]
/third_party/flutter/flutter/packages/flutter/test/services/
Dsystem_chrome_test.dart36 expect(log, hasLength(1));
54 expect(log, hasLength(1));
85 expect(log, hasLength(1));
Dhaptic_feedback_test.dart18 expect(log, hasLength(1));
31 expect(log, hasLength(1));
/third_party/flutter/engine/flutter/lib/web_ui/test/
Ddom_renderer_test.dart21 expect(parent.children, hasLength(1));
69 expect(element.children, hasLength(1));
84 expect(element.children, hasLength(1));
86 expect(element.children, hasLength(2));
Dcanvas_test.dart44 expect(mockCanvas.methodCallLog, hasLength(2));
67 expect(mockCanvas.methodCallLog, hasLength(1));
/third_party/flatbuffers/dart/test/
Dflat_buffers_test.dart387 expect(items, hasLength(4));
407 expect(items, hasLength(len));
443 expect(items, hasLength(5));
461 expect(items, hasLength(values.length));
479 expect(items, hasLength(5));
513 expect(items, hasLength(2));
533 expect(items, hasLength(2));
553 expect(items, hasLength(2));
568 expect(items, hasLength(3));
582 expect(items, hasLength(3));
[all …]
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dswitch_test.dart78 expect(log, hasLength(1));
132 expect(log, hasLength(1));
138 expect(log, hasLength(2));
144 expect(log, hasLength(3));
150 expect(log, hasLength(4));
189 expect(log, hasLength(1));
243 expect(log, hasLength(0));
/third_party/skia/bench/
DJSONBench.cpp72 SkASSERT(stream->hasLength()); in onPerCanvasPreDraw()
124 SkASSERT(stream->hasLength()); in onPerCanvasPreDraw()
/third_party/flutter/skia/bench/
DJSONBench.cpp72 SkASSERT(stream->hasLength()); in onPerCanvasPreDraw()
124 SkASSERT(stream->hasLength()); in onPerCanvasPreDraw()
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dchannel_test.dart48 expect(testLogger.errorText, hasLength(0));
87 expect(testLogger.errorText, hasLength(0));
139 expect(testLogger.errorText, hasLength(0));
233 expect(testLogger.errorText, hasLength(0));
/third_party/flutter/skia/src/utils/
DSkFrontBufferedStream.cpp25 bool hasLength() const override { return fHasLength; } in hasLength() function in FrontBufferedStream
75 , fHasLength(fStream->hasPosition() && fStream->hasLength()) in FrontBufferedStream()
/third_party/skia/client_utils/android/
DFrontBufferedStream.cpp32 bool hasLength() const override { return fHasLength; } in hasLength() function in __anon400b56300111::FrontBufferedStream
95 , fHasLength(fStream->hasPosition() && fStream->hasLength()) in FrontBufferedStream()
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/base/
Dos_test.dart53 expect(result, hasLength(2));
89 expect(result, hasLength(2));

1234