/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | intrinsic_width_test.dart | 58 expect(parent.size.width, equals(100.0)); 59 expect(parent.size.height, equals(110.0)); 61 expect(parent.getMinIntrinsicWidth(0.0), equals(100.0)); 62 expect(parent.getMaxIntrinsicWidth(0.0), equals(100.0)); 63 expect(parent.getMinIntrinsicHeight(0.0), equals(20.0)); 64 expect(parent.getMaxIntrinsicHeight(0.0), equals(200.0)); 66 expect(parent.getMinIntrinsicWidth(10.0), equals(100.0)); 67 expect(parent.getMaxIntrinsicWidth(10.0), equals(100.0)); 68 expect(parent.getMinIntrinsicHeight(10.0), equals(20.0)); 69 expect(parent.getMaxIntrinsicHeight(10.0), equals(200.0)); [all …]
|
D | flex_test.dart | 19 expect(flex.size.width, equals(200.0), reason: 'flex width'); 20 expect(flex.size.height, equals(200.0), reason: 'flex height'); 48 expect(flex.size, const Size(slightlySmaller, 100.0)); 51 expect(exceptions, isEmpty); 71 expect(flexible.size.height, equals(0.0)); 72 expect(flex.getMinIntrinsicHeight(100.0), equals(200.0)); 73 expect(flex.getMaxIntrinsicHeight(100.0), equals(200.0)); 74 expect(flex.getMinIntrinsicWidth(100.0), equals(0.0)); 75 expect(flex.getMaxIntrinsicWidth(100.0), equals(0.0)); 94 expect(flexible.size.width, equals(0.0)); [all …]
|
D | aspect_ratio_test.dart | 14 expect(box.getMinIntrinsicWidth(200.0), 400.0); 15 expect(box.getMinIntrinsicWidth(400.0), 800.0); 17 expect(box.getMaxIntrinsicWidth(200.0), 400.0); 18 expect(box.getMaxIntrinsicWidth(400.0), 800.0); 20 expect(box.getMinIntrinsicHeight(200.0), 100.0); 21 expect(box.getMinIntrinsicHeight(400.0), 200.0); 23 expect(box.getMaxIntrinsicHeight(200.0), 100.0); 24 expect(box.getMaxIntrinsicHeight(400.0), 200.0); 26 expect(box.getMinIntrinsicWidth(double.infinity), 0.0); 27 expect(box.getMaxIntrinsicWidth(double.infinity), 0.0); [all …]
|
/third_party/flutter/engine/flutter/testing/dart/ |
D | geometry_test.dart | 14 expect(const Offset(0, 0) >= const Offset(0, -1), true); 15 expect(const Offset(0, 0) >= const Offset(-1, 0), true); 16 expect(const Offset(0, 0) >= const Offset(-1, -1), true); 17 expect(const Offset(0, 0) >= const Offset(0, 0), true); 18 expect(const Offset(0, 0) >= const Offset(0, double.nan), false); 19 expect(const Offset(0, 0) >= const Offset(double.nan, 0), false); 20 expect(const Offset(0, 0) >= const Offset(10, -10), false); 24 expect(const Offset(0, 0) <= const Offset(0, 1), true); 25 expect(const Offset(0, 0) <= const Offset(1, 0), true); 26 expect(const Offset(0, 0) <= const Offset(0, 0), true); [all …]
|
/third_party/node/test/parallel/ |
D | test-repl.js | 50 for (const { send, expect } of tests) { field 52 const expectedLines = Array.isArray(expect) ? expect : [ expect ]; 63 lineBuffer += await event(socket, expect); 106 expect: '' property 110 expect: `'${message}'` property 114 expect: '\'invoked 987\'' property 118 expect: '12345' property 122 expect: '{ a: 1 }' property 129 expect: [/^Uncaught ReferenceError:\s/] property 137 expect: ['Uncaught Error: test error'] property [all …]
|
/third_party/flutter/flutter/packages/flutter_localizations/test/cupertino/ |
D | translations_test.dart | 14 expect(GlobalCupertinoLocalizations.delegate.isSupported(locale), isTrue); 18 expect(localizations.datePickerYear(0), isNotNull); 19 expect(localizations.datePickerYear(1), isNotNull); 20 expect(localizations.datePickerYear(2), isNotNull); 21 expect(localizations.datePickerYear(10), isNotNull); 23 expect(localizations.datePickerMonth(1), isNotNull); 24 expect(localizations.datePickerMonth(2), isNotNull); 25 expect(localizations.datePickerMonth(11), isNotNull); 26 expect(localizations.datePickerMonth(12), isNotNull); 28 expect(localizations.datePickerDayOfMonth(0), isNotNull); [all …]
|
/third_party/flutter/flutter/packages/flutter/test/painting/ |
D | text_style_test.dart | 12 expect( 16 expect( 26 expect(s1.fontFamily, isNull); 27 expect(s1.fontSize, 10.0); 28 expect(s1.fontWeight, FontWeight.w800); 29 expect(s1.height, 123.0); 30 expect(s1, equals(s1)); 31 expect( 37 expect( 43 expect(s1.fontFamily, isNull); [all …]
|
D | edge_insets_test.dart | 12 expect(insets, hasOneLineDescription); 13 expect(insets.hashCode, equals(const EdgeInsets.fromLTRB(5.0, 7.0, 11.0, 13.0).hashCode)); 15 expect(insets.topLeft, const Offset(5.0, 7.0)); 16 expect(insets.topRight, const Offset(-11.0, 7.0)); 17 expect(insets.bottomLeft, const Offset(5.0, -13.0)); 18 expect(insets.bottomRight, const Offset(-11.0, -13.0)); 20 expect(insets.collapsedSize, const Size(16.0, 20.0)); 21 expect(insets.flipped, const EdgeInsets.fromLTRB(11.0, 13.0, 5.0, 7.0)); 23 expect(insets.along(Axis.horizontal), equals(16.0)); 24 expect(insets.along(Axis.vertical), equals(20.0)); [all …]
|
/third_party/flutter/flutter/packages/flutter/test/physics/ |
D | newton_test.dart | 16 expect(friction.isDone(0.0), false); 17 expect(friction.x(0.0), 100); 18 expect(friction.dx(0.0), 400.0); 20 expect(friction.x(1.0) > 330 && friction.x(1.0) < 335, true); 22 expect(friction.dx(1.0), 120.0); 23 expect(friction.dx(2.0), 36.0); 24 expect(friction.dx(3.0), closeTo(10.8, 0.00001)); 25 expect(friction.dx(4.0) < 3.5, true); 27 expect(friction.isDone(5.0), true); 28 expect(friction.x(5.0) > 431 && friction.x(5.0) < 432, true); [all …]
|
/third_party/jsframework/test/ut/ |
D | utils.ts | 25 const expect = chai.expect; constant 31 expect(utils.isObject).to.be.an.instanceof(Function); 32 expect(utils.isObject({})).eql(true); 33 expect(utils.isObject([])).eql(true); 34 expect(utils.isObject('a')).eql(false); 35 expect(utils.isObject(0)).eql(false); 36 expect(utils.isObject(true)).eql(false); 37 expect(utils.isObject(null)).eql(false); 38 expect(utils.isObject(undefined)).eql(false); 39 expect(utils.isObject(function() {})).eql(false); [all …]
|
/third_party/protobuf/js/experimental/runtime/kernel/ |
D | tag_test.js | 27 expect(bufferDecoder.cursor()).toBe(2); 35 expect(() => skipField(bufferDecoder, WireType.VARINT, 1)).toThrowError(); 43 expect(bufferDecoder.cursor()).toBe(8); 50 expect(() => skipField(bufferDecoder, WireType.FIXED64, 1)) 59 expect(bufferDecoder.cursor()).toBe(4); 66 expect(() => skipField(bufferDecoder, WireType.FIXED32, 1)) 76 expect(bufferDecoder.cursor()).toBe(4); 83 expect(() => skipField(bufferDecoder, WireType.DELIMITED, 1)) 93 expect(bufferDecoder.cursor()).toBe(4); 108 expect(bufferDecoder.cursor()).toBe(8); [all …]
|
D | kernel_test.js | 30 expect(accessor.serialize()).toEqual(new ArrayBuffer(0)); 36 expect(accessor.getBoolWithDefault(MAX_FIELD_NUMBER)).toBe(true); 38 expect(accessor.serialize()) 44 expect(accessor.getPivot()).toBe(24); 49 expect(accessor.getPivot()).toBe(50); 56 expect(accessor.hasFieldNumber(1)).toBe(false); 62 expect(accessor.hasFieldNumber(1)).toBe(true); 68 expect(accessor.hasFieldNumber(1)).toBe(false); 74 expect(accessor.hasFieldNumber(1)).toBe(true); 79 expect(accessor.hasFieldNumber(1)).toBe(false); [all …]
|
/third_party/flutter/flutter/packages/flutter/test/foundation/ |
D | service_extensions_test.dart | 38 expect(extensions.containsKey(name), isFalse); 57 expect(extensions.containsKey(name), isTrue); 88 expect(true, isFalse); 93 expect(pendingReassemble, isTrue); 109 expect(binding.frameScheduled, isFalse); 111 expect(binding.frameScheduled, isTrue); 112 expect(completed, isFalse); 116 expect(completed, isTrue); 117 expect(binding.frameScheduled, isFalse); 126 expect(binding.frameScheduled, isTrue); [all …]
|
D | licenses_test.dart | 81 expect(paragraphs[index].text, 'A A A'); 82 expect(paragraphs[index].indent, 0); 84 expect(paragraphs[index].text, 'B B B'); 85 expect(paragraphs[index].indent, 0); 87 expect(paragraphs[index].text, 'C C C'); 88 expect(paragraphs[index].indent, 1); 90 expect(paragraphs[index].text, 'D D D'); 91 expect(paragraphs[index].indent, LicenseParagraph.centeredIndent); 93 expect(paragraphs[index].text, 'E E'); 94 expect(paragraphs[index].indent, 0); [all …]
|
/third_party/flutter/flutter/packages/flutter_localizations/test/material/ |
D | translations_test.dart | 14 expect(GlobalMaterialLocalizations.delegate.isSupported(locale), isTrue); 18 expect(localizations.openAppDrawerTooltip, isNotNull); 19 expect(localizations.backButtonTooltip, isNotNull); 20 expect(localizations.closeButtonTooltip, isNotNull); 21 expect(localizations.nextMonthTooltip, isNotNull); 22 expect(localizations.previousMonthTooltip, isNotNull); 23 expect(localizations.nextPageTooltip, isNotNull); 24 expect(localizations.previousPageTooltip, isNotNull); 25 expect(localizations.showMenuTooltip, isNotNull); 26 expect(localizations.licensesPageTitle, isNotNull); [all …]
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
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)); 75 expect(semantics, expectedSemanticsWhenPresent); 76 expect(log, <String>['created new state']); 78 expect(log, <String>['created new state', 'tap']); 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)); [all …]
|
D | pageable_list_test.dart | 79 expect(currentPage, isNull); 81 expect(currentPage, equals(1)); 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); 91 expect(currentPage, equals(0)); 93 expect(find.text('0'), findsOneWidget); [all …]
|
D | list_view_horizontal_test.dart | 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); 61 expect(find.text('0'), findsNothing); 62 expect(find.text('1'), findsNothing); 63 expect(find.text('2'), findsOneWidget); 64 expect(find.text('3'), findsOneWidget); [all …]
|
/third_party/flutter/engine/flutter/lib/web_ui/test/ |
D | geometry_test.dart | 15 expect(const Offset(0.0, 0.0).direction, 0.0); 16 expect(const Offset(0.0, 1.0).direction, pi / 2.0); 17 expect(const Offset(0.0, -1.0).direction, -pi / 2.0); 18 expect(const Offset(1.0, 0.0).direction, 0.0); 19 expect(const Offset(1.0, 1.0).direction, pi / 4.0); 20 expect(const Offset(1.0, -1.0).direction, -pi / 4.0); 21 expect(const Offset(-1.0, 0.0).direction, pi); 22 expect(const Offset(-1.0, 1.0).direction, pi * 3.0 / 4.0); 23 expect(const Offset(-1.0, -1.0).direction, -pi * 3.0 / 4.0); 27 expect(Offset.fromDirection(0.0, 0.0), const Offset(0.0, 0.0)); [all …]
|
/third_party/flutter/flutter/packages/flutter/test/animation/ |
D | curves_test.dart | 13 expect(Curves.linear, hasOneLineDescription); 14 expect(const SawTooth(3), hasOneLineDescription); 15 expect(const Interval(0.25, 0.75), hasOneLineDescription); 16 expect(const Interval(0.25, 0.75, curve: Curves.ease), hasOneLineDescription); 22 expect(flippedEase.transform(0.0), lessThan(0.001)); 23 expect(flippedEase.transform(0.5), lessThan(ease.transform(0.5))); 24 expect(flippedEase.transform(1.0), greaterThan(0.999)); 25 expect(flippedEase, hasOneLineDescription); 30 expect(step.transform(0.0), 0.0); 31 expect(step.transform(0.24), 0.0); [all …]
|
/third_party/flutter/flutter/packages/flutter/test/gestures/ |
D | scale_test.dart | 53 expect(didStartScale, isFalse); 54 expect(updatedScale, isNull); 55 expect(updatedFocalPoint, isNull); 56 expect(didEndScale, isFalse); 57 expect(didTap, isFalse); 61 expect(didStartScale, isFalse); 62 expect(updatedScale, isNull); 63 expect(updatedFocalPoint, isNull); 64 expect(didEndScale, isFalse); 65 expect(didTap, isFalse); [all …]
|
/third_party/flutter/flutter/packages/flutter/test/material/ |
D | localizations_test.dart | 12 expect(localizations.openAppDrawerTooltip, isNotNull); 13 expect(localizations.backButtonTooltip, isNotNull); 14 expect(localizations.closeButtonTooltip, isNotNull); 15 expect(localizations.deleteButtonTooltip, isNotNull); 16 expect(localizations.nextMonthTooltip, isNotNull); 17 expect(localizations.previousMonthTooltip, isNotNull); 18 expect(localizations.nextPageTooltip, isNotNull); 19 expect(localizations.previousPageTooltip, isNotNull); 20 expect(localizations.showMenuTooltip, isNotNull); 21 expect(localizations.licensesPageTitle, isNotNull); [all …]
|
D | theme_defaults_test.dart | 29 expect(raw.textStyle.color, const Color(0xdd000000)); 30 expect(raw.fillColor, const Color(0xffe0e0e0)); 31 expect(raw.highlightColor, const Color(0x29000000)); // Was Color(0x66bcbcbc) 32 expect(raw.splashColor, const Color(0x1f000000)); // Was Color(0x66c8c8c8) 33 expect(raw.elevation, 2.0); 34 expect(raw.highlightElevation, 8.0); 35 expect(raw.disabledElevation, 0.0); 36 expect(raw.constraints, defaultButtonConstraints); 37 expect(raw.padding, defaultButtonPadding); 38 expect(raw.shape, defaultButtonShape); [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/ |
D | sfn_instrfromstring_test.cpp | 31 void check(const Instr& eval, const Instr& expect); 32 void check(const string& init, const Instr& expect); 42 AluInstr expect(op1_mov, in TEST_F() local 47 check("ALU MOV R2000.y : R1999.x {WL}", expect); in TEST_F() 54 AluInstr expect(DS_OP_READ_RET, in TEST_F() local 57 check("ALU LDS READ_RET __.x : R1999.x {}", expect); in TEST_F() 63 AluInstr expect(op1_mov, in TEST_F() local 68 check("ALU MOV R2000.y : L[0x10] {WL}", expect); in TEST_F() 75 AluInstr expect(op1_mov, in TEST_F() local 80 check("ALU MOV R2000.y : -R1999.x {WL}", expect); in TEST_F() [all …]
|
/third_party/node/deps/npm/node_modules/umask/test/ |
D | simple.js | 12 var expect = Code.expect; variable 24 expect(result).to.equal(true); 25 expect(o.umask).to.equal(0); 28 expect(result).to.equal(true); 29 expect(o.umask).to.equal(511); 38 expect(result).to.equal(true); 39 expect(o.umask).to.equal(0); 42 expect(result).to.equal(true); 43 expect(o.umask).to.equal(511); 49 expect(umask.validate(undefined, undefined, false)).to.equal(false); [all …]
|