Home
last modified time | relevance | path

Searched refs:expectValue (Results 1 – 25 of 158) sorted by relevance

1234567

/test/testfwk/arkxtest/jsunit/
Dindex.d.ts65 assertClose(expectValue: number, precision: number): void
66 assertContain(expectValue: any): void
67 assertEqual(expectValue: any): void
71 assertInstanceOf(expectValue: string): void
72 assertLarger(expectValue: number): void
73 assertLess(expectValue: number): void
75 assertThrowError(expectValue: string): void
77 assertLargerOrEqual(expectValue: number): void
78 assertLessOrEqual(expectValue: number): void
83 assertDeepEquals(expectValue: any): void
[all …]
Dindex.ets58 assertClose(expectValue: number, precision: number): void
59 assertContain(expectValue: allExpectType): void
60 assertEqual(expectValue: allExpectType): void
64 assertInstanceOf(expectValue: string): void
65 assertLarger(expectValue: number): void
66 assertLess(expectValue: number): void
68 assertThrowError(expectValue: string): void
70 assertLargerOrEqual(expectValue: number):void
71 assertLessOrEqual(expectValue: number):void
76 assertDeepEquals(expectValue: allExpectType):void
[all …]
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_border/entry/src/main/ets/test/border/
DBorderTest.test.ets62 expectValue: {
86 console.info('[' + data.testValue.expectValue.border + '] expectValue');
87 …rse(data.viewObj.$attrs.border).width.left).assertEqual(data.testValue.expectValue.border.width.le…
88 …se(data.viewObj.$attrs.border).width.right).assertEqual(data.testValue.expectValue.border.width.ri…
89 …arse(data.viewObj.$attrs.border).width.top).assertEqual(data.testValue.expectValue.border.width.to…
90 …e(data.viewObj.$attrs.border).width.bottom).assertEqual(data.testValue.expectValue.border.width.bo…
91 …e(data.viewObj.$attrs.border).color.bottom).assertEqual(data.testValue.expectValue.border.color.bo…
92 …arse(data.viewObj.$attrs.border).color.top).assertEqual(data.testValue.expectValue.border.color.to…
93 …rse(data.viewObj.$attrs.border).color.left).assertEqual(data.testValue.expectValue.border.color.le…
94 …se(data.viewObj.$attrs.border).color.right).assertEqual(data.testValue.expectValue.border.color.ri…
[all …]
/test/xts/acts/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_default/entry/src/main/ets/test/default/
DDefaultTest.test.ets114 expectValue: {
120 expectValue: {
126 expectValue: {
134 expectValue: {
140 expectValue: {
148 expectValue: {
156 expectValue: {
162 expectValue: {
168 expectValue: {
175 // expectValue: {
[all …]
DDefaultFlexTest.test.ets105 expectValue: {
111 expectValue: {
118 // expectValue: {
125 expectValue: {
136 expect(data.viewObj.$attrs.flexBasis).assertEqual(data.testValue.expectValue.flexBasis);
140 expect(data.viewObj.$attrs.flexGrow).assertEqual(data.testValue.expectValue.flexGrow);
146 …expect(data.viewObj.$attrs.flexShrink).assertEqual(data.testValue.expectValue.flexShrinkRowColumn);
150 … expect(data.viewObj.$attrs.flexShrink).assertEqual(data.testValue.expectValue.flexShrinkFlex);
156 … expect(data.viewObj.$attrs.alignSelf).assertEqual(data.testValue.expectValue.alignSelfBlank);
159 expect(data.viewObj.$attrs.alignSelf).assertEqual(data.testValue.expectValue.alignSelf);
DDefaultFocusValueTest.test.ets84 expectValue: {
89 expectValue: {
94 expectValue: {
99 expectValue: {
110 expect(data.viewObj.$attrs.tabIndex).assertEqual(data.testValue.expectValue.tabIndex);
114 … expect(data.viewObj.$attrs.defaultFocus).assertEqual(data.testValue.expectValue.defaultFocus);
120 .assertEqual(data.testValue.expectValue.groupDefaultFocus);
125 … expect(data.viewObj.$attrs.focusOnTouch).assertEqual(data.testValue.expectValue.focusOnTouch);
/test/xts/acts/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_padding/entry/src/main/ets/test/padding/
DPaddingContainerTest.test.ets77 expectValue: {
93 expectValue: {
109 expectValue: {
125 expectValue: {
141 expectValue: {
184 … expect(viewObj.$attrs.padding).assertEqual(JSON.stringify(data.testValue.expectValue.padding));
210 …expect(Math.abs(referenceRect.top - targetRectAfter.top - (data.testValue.expectValue.top + vp2px(…
212 …expect(Math.abs(referenceRect.top - targetRectAfter.top - data.testValue.expectValue.top) <= 1).as…
214 …ath.abs(targetRectAfter.bottom - referenceRect.bottom - data.testValue.expectValue.bottom) <= 1).a…
215 …expect(Math.abs(targetRectAfter.right - referenceRect.right - data.testValue.expectValue.right) <=…
[all …]
DPaddingContainerLengthTest.test.ets75 expectValue: {
87 expectValue: {
99 expectValue: {
111 expectValue: {
149 expect(viewObj.$attrs.padding).assertEqual(data.testValue.expectValue.padding);
177 …expect(Math.abs(referenceRect.top - targetRectAfter.top - (data.testValue.expectValue.bottom + vp2…
179 …expect(Math.abs(referenceRect.top - targetRectAfter.top - (data.testValue.expectValue.top)) <= 1).…
181 …ath.abs(targetRectAfter.bottom - referenceRect.bottom - data.testValue.expectValue.bottom) <= 1).a…
182 …expect(Math.abs(targetRectAfter.right - referenceRect.right - data.testValue.expectValue.right) <=…
183 …expect(Math.abs(referenceRect.left - targetRectAfter.left - data.testValue.expectValue.left) <= 1)…
[all …]
DPaddingBaseTest.test.ets96 expectValue: {
108 expectValue: {
120 expectValue: {
132 expectValue: {
144 expectValue: {
172 …onsole.info('[' + data.caseTag + '] data.testValue.expectValue.padding:' + data.testValue.expectVa…
178 …expect(JSON.parse(viewObj.$attrs.padding).top).assertEqual(data.testValue.expectValue.padding.top);
183 …expect(JSON.parse(viewObj.$attrs.padding).right).assertEqual(data.testValue.expectValue.padding.ri…
188 …expect(JSON.parse(viewObj.$attrs.padding).bottom).assertEqual(data.testValue.expectValue.padding.b…
193 …expect(JSON.parse(viewObj.$attrs.padding).left).assertEqual(data.testValue.expectValue.padding.lef…
[all …]
/test/xts/acts/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_size/entry/src/main/ets/test/size/
DSizeTest.test.ets121 expectValue: {
130 expectValue: {
140 expectValue: {
151 expectValue: {
160 expectValue: {
170 expectValue: {
194 …console.info('[' + data.caseTag + '] data.testValue.expectValue.width:' + data.testValue.expectVal…
195 …console.info('[' + data.caseTag + '] data.testValue.expectValue.height:' + data.testValue.expectVa…
202 expect(data.viewObj.$attrs.size.width).assertEqual(data.testValue.expectValue.widthCompare);
203 expect(Math.abs(strJsonRectWidth - data.testValue.expectValue.width) <= 1).assertTrue();
[all …]
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_common_size/entry/src/main/ets/test/attrss/
DSizeTest.test.ets110 expectValue: {
119 expectValue: {
129 expectValue: {
140 expectValue: {
149 expectValue: {
158 expectValue: {
175 …console.info('[' + data.caseTag + '] data.testValue.expectValue.width:' + data.testValue.expectVal…
176 …console.info('[' + data.caseTag + '] data.testValue.expectValue.height:' + data.testValue.expectVa…
180 expect(data.viewObj.$attrs.size.width).assertEqual(data.testValue.expectValue.widthCompare);
182 … expect(data.viewObj.$attrs.size.height).assertEqual(data.testValue.expectValue.heightCompare);
[all …]
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_sweepGradient/entry/src/main/ets/test/sweepGradient/
DSweepGradientTest.test.ets61 expectValue: {
79 … console.info('[' + JSON.stringify(data.testValue.expectValue.sweepGradient) + '] expectValue');
81 …expect(data.viewObj.$attrs.sweepGradient.center[0]).assertEqual(data.testValue.expectValue.sweepGr…
82 …expect(data.viewObj.$attrs.sweepGradient.center[1]).assertEqual(data.testValue.expectValue.sweepGr…
83 …expect(data.viewObj.$attrs.sweepGradient.start).assertEqual(data.testValue.expectValue.sweepGradie…
84 …expect(data.viewObj.$attrs.sweepGradient.end).assertEqual(data.testValue.expectValue.sweepGradient…
85 …//expect(data.viewObj.$attrs.sweepGradient.colors).assertEqual(data.testValue.expectValue.sweepGra…
86 …expect(data.viewObj.$attrs.sweepGradient.repeating).assertEqual(data.testValue.expectValue.sweepGr…
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_common_markAnchor/entry/src/main/ets/test/attrss/
DMarkAnchorTest.test.ets49 expectValue: {
57 expectValue: {
65 expectValue: {
73 expectValue: {
97 console.info('[' + data.caseTag + ']' + 'expectValue.x:' + data.testValue.expectValue.x);
98 console.info('[' + data.caseTag + ']' + 'expectValue.y:' + data.testValue.expectValue.y);
101 expect(viewObj.$attrs.markAnchor.x).assertEqual(data.testValue.expectValue.x);
102 expect(viewObj.$attrs.markAnchor.y).assertEqual(data.testValue.expectValue.y);
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_shadow/entry/src/main/ets/test/shadow/
DShadowTest.test.ets57 expectValue: {
72 console.info('[' + data.testValue.expectValue.shadow + '] expectValue');
74 … expect(data.viewObj.$attrs.shadow.radius).assertEqual(data.testValue.expectValue.shadow.radius);
75 expect(data.viewObj.$attrs.shadow.color).assertEqual(data.testValue.expectValue.shadow.color);
76 … expect(data.viewObj.$attrs.shadow.offsetX).assertEqual(data.testValue.expectValue.shadow.offsetX);
77 … expect(data.viewObj.$attrs.shadow.offsetY).assertEqual(data.testValue.expectValue.shadow.offsetY);
78 expect(data.viewObj.$attrs.shadow.type).assertEqual(data.testValue.expectValue.shadow.type);
79 expect(data.viewObj.$attrs.shadow.fill).assertEqual(data.testValue.expectValue.shadow.fill);
/test/xts/acts/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_stateStyles/entry/src/main/ets/test/stateStyles/
DStateStylesTestTwo.test.ets39 expectValue: {
59 …fo('[' + data.caseTag + ']' + 'data.testValue.expectValue.selectedStyles is:' + data.testValue.exp…
60 expect(targetBeforeObj.$attrs.zIndex).assertEqual(data.testValue.expectValue.selectedStyles);
62 …nfo('[' + data.caseTag + ']' + 'data.testValue.expectValue.normalStyles is:' + data.testValue.expe…
63 expect(targetAfterObj.$attrs.zIndex).assertEqual(data.testValue.expectValue.normalStyles);
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_borderImage/entry/src/main/ets/test/borderImage/
DBorderImageTest.test.ets62 expectValue: {
81 console.info('[' + data.testValue.expectValue.borderImage + '] expectValue');
83 …rse(data.viewObj.$attrs.borderImage).slice).assertEqual(data.testValue.expectValue.borderImage.sli…
84 …rse(data.viewObj.$attrs.borderImage).width).assertEqual(data.testValue.expectValue.borderImage.wid…
85 …se(data.viewObj.$attrs.borderImage).repeat).assertEqual(data.testValue.expectValue.borderImage.rep…
86 …se(data.viewObj.$attrs.borderImage).outset).assertEqual(data.testValue.expectValue.borderImage.out…
87 …arse(data.viewObj.$attrs.borderImage).fill).assertEqual(data.testValue.expectValue.borderImage.fil…
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_radialGradient/entry/src/main/ets/test/radialGradient/
DRadialGradientTest.test.ets60 expectValue: {
77 … console.info('[' + JSON.stringify(data.testValue.expectValue.radialGradient) + '] expectValue');
79 …expect(data.viewObj.$attrs.radialGradient.center[0]).assertEqual(data.testValue.expectValue.radial…
80 …expect(data.viewObj.$attrs.radialGradient.center[1]).assertEqual(data.testValue.expectValue.radial…
81 …expect(data.viewObj.$attrs.radialGradient.radius).assertEqual(data.testValue.expectValue.radialGra…
82 …//expect(data.viewObj.$attrs.radialGradient.colors).assertEqual(data.testValue.expectValue.radialG…
83 …expect(data.viewObj.$attrs.radialGradient.repeating).assertEqual(data.testValue.expectValue.radial…
/test/xts/acts/ability/ability_runtime/workercontextcover/workercontexttest/entry/src/main/ets/test/
DWorkerTransmitTest.test.ets45 let expectValue = undefined
64 expectValue = message.data
80 expect(expectValue).assertTrue()
97 let expectValue = undefined
116 expectValue = message.data
132 expect(expectValue).assertTrue()
149 let expectValue = undefined
168 expectValue = message.data
184 expect(expectValue).assertTrue()
201 let expectValue = undefined
[all …]
/test/xts/acts/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_constraintSize/entry/src/main/ets/test/constraintSize/
DConstraintSizeTest.test.ets112 expectValue: {
127 expectValue: {
142 expectValue: {
157 expectValue: {
172 expectValue: {
187 expectValue: {
202 expectValue: {
217 expectValue: {
232 expectValue: {
254 …ewObj.$attrs.constraintSize).assertEqual(JSON.stringify(data.testValue.expectValue.constraintSize)…
[all …]
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_borderColor/entry/src/main/ets/test/borderColor/
DBorderColorTest.test.ets55 expectValue: {
68 …console.info('[' + data.testValue.expectValue.borderColor + '] borderColorTest. data.testValue.exp…
69 … expect(data.viewObj.$attrs.borderColor.left).assertEqual(data.testValue.expectValue.borderColor);
70 … expect(data.viewObj.$attrs.borderColor.right).assertEqual(data.testValue.expectValue.borderColor);
71 … expect(data.viewObj.$attrs.borderColor.top).assertEqual(data.testValue.expectValue.borderColor);
72 …expect(data.viewObj.$attrs.borderColor.bottom).assertEqual(data.testValue.expectValue.borderColor);
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_pixelStretchEffect/entry/src/main/ets/test/pixelStretchEffect/
DPixelStretchEffectTest.test.ets52 expectValue: {
66 console.info('[' + data.testValue.expectValue.PixelStretchEffect + '] expectValue');
68 …expect(data.viewObj.$attrs.pixelStretchEffect.top).assertEqual(data.testValue.expectValue.pixelStr…
69 …expect(data.viewObj.$attrs.pixelStretchEffect.left).assertEqual(data.testValue.expectValue.pixelSt…
70 …expect(data.viewObj.$attrs.pixelStretchEffect.right).assertEqual(data.testValue.expectValue.pixelS…
71 …expect(data.viewObj.$attrs.pixelStretchEffect.bottom).assertEqual(data.testValue.expectValue.pixel…
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_borderRadius/entry/src/main/ets/test/borderRadius/
DBorderRadiusTest.test.ets56 expectValue: {
69 …console.info('[' + data.testValue.expectValue.borderRadius + '] borderRadiusTest. data.testValue.e…
70 …expect(data.viewObj.$attrs.borderRadius.topLeft).assertEqual(data.testValue.expectValue.borderRadi…
71 …expect(data.viewObj.$attrs.borderRadius.topRight).assertEqual(data.testValue.expectValue.borderRad…
72 …expect(data.viewObj.$attrs.borderRadius.bottomLeft).assertEqual(data.testValue.expectValue.borderR…
73 …expect(data.viewObj.$attrs.borderRadius.bottomRight).assertEqual(data.testValue.expectValue.border…
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_rotate/entry/src/main/ets/test/rotate/
DRotateTest.test.ets60 expectValue: {
85 expect(data.viewObj.$attrs.rotate.x).assertEqual(data.testValue.expectValue.rotate.x);
86 expect(data.viewObj.$attrs.rotate.y).assertEqual(data.testValue.expectValue.rotate.y);
87 expect(data.viewObj.$attrs.rotate.z).assertEqual(data.testValue.expectValue.rotate.z);
88 … expect(data.viewObj.$attrs.rotate.centerX).assertEqual(data.testValue.expectValue.rotate.centerX);
89 … expect(data.viewObj.$attrs.rotate.centerY).assertEqual(data.testValue.expectValue.rotate.centerY);
90 expect(data.viewObj.$attrs.rotate.angle).assertEqual(data.testValue.expectValue.rotate.angle);
91 …expect(data.viewObj.$attrs.rotate.perspective).assertEqual(data.testValue.expectValue.rotate.persp…
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_common_constraintSize/entry/src/main/ets/test/attrss/
DConstraintSizeSize.test.ets111 expectValue: {
126 expectValue: {
141 expectValue: {
156 expectValue: {
171 expectValue: {
186 expectValue: {
201 expectValue: {
216 expectValue: {
231 expectValue: {
251 …ewObj.$attrs.constraintSize).assertEqual(JSON.stringify(data.testValue.expectValue.constraintSize)…
/test/xts/acts/ability/ability_runtime/workercontextcover/workercontexttest/entry/src/main/ets/workers/
Dworker_SUB_AA_AMS_Stage_StageContextSupportsWorker_0400.js24 let expectValue = false
29 expectValue = true
31 parentPort.postMessage(expectValue)

1234567