Home
last modified time | relevance | path

Searched refs:assertContain (Results 1 – 25 of 72) sorted by relevance

123

/test/xts/acts/demo/hjsunit/Assertion/entry/src/ohosTest/js/test/
DassertContain.test.js21 expect(a).assertContain(b)
26 expect(a).assertContain(b)
31 expect(a).assertContain(b)
36 expect(a).assertContain(b)
/test/xts/acts/ability/ability_runtime/stage/actsdebuggabletest/actsdebuggabletest/entry/src/main/ets/test/
DActsDebuggableAaProcessTest.test.ets98 expect(res).assertContain('error: option requires a value.');
99 expect(res).assertContain('usage: aa process <options>');
120 expect(res).assertContain('error: option requires a value.');
121 expect(res).assertContain('usage: aa process <options>');
141 expect(res).assertContain('usage: aa process <options>');
142 expect(res).assertContain('-h, --help');
143 expect(res).assertContain('list available commands');
144 expect(res).assertContain('-a <ability-name> -b <bundle-name> [-m <module-name>]');
145 expect(res).assertContain('-p <perf-cmd>');
146 …expect(res).assertContain('performance optimization command. Either -p or -D must be selected, -p …
[all …]
DActsDebuggableAaStartTest.test.ets79 expect(res).assertContain('start ability successfully.');
100 expect(res).assertContain('error: option requires a value.');
101 expect(res).assertContain('usage: aa start <options>');
121 expect(res).assertContain('usage: aa start <options>');
122 expect(res).assertContain('[-p <perf-cmd>]');
123 expect(res).assertContain('[-S]');
/test/xts/acts/global/i18n_standard/intljs/src/main/js/test/
DDateTimeFormatInIntl.test.js89 expect(datefmt.format(date)).assertContain('2021');
101 expect(datefmt.format(date)).assertContain('2021');
113 expect(datefmt.format(date)).assertContain('2021');
125 expect(datefmt.format(date)).assertContain('21');
137 expect(datefmt.format(date)).assertContain('21');
149 expect(datefmt.format(date)).assertContain('2021');
214 expect(datefmt.format(date)).assertContain('2020');
227 expect(datefmt.format(date)).assertContain('2020年12月20日星期日');
241 expect(datefmt.format(date)).assertContain('2020年12月20日');
255 expect(datefmt.format(date)).assertContain('2020年12月20日');
[all …]
/test/testfwk/arkxtest/jsunit/src/module/assert/
DassertContain.js16 function assertContain(actualValue, expect) { function
35 export default assertContain;
DExpectExtend.js18 import assertContain from './assertContain';
47 this.matchers.assertContain = assertContain;
/test/xts/acts/ability/ability_runtime/actsparsingparameterstest/ActsParsingParametersTest/entry/src/main/ets/test/
DAbility.test.ets64 expect(res).assertContain('aa start <options>');
85 expect(res).assertContain('aa start <options>');
106 expect(res).assertContain('aa start <options>');
127 expect(res).assertContain('aa start <options>');
148 expect(res).assertContain('aa start <options>');
169 expect(res).assertContain('aa start <options>');
190 expect(res).assertContain('aa start <options>');
211 expect(res).assertContain('start ability successfully');
233 expect(res).assertContain('aa start <options>');
255 expect(res).assertContain('start ability successfully');
[all …]
/test/xts/acts/ability/ability_runtime/aacommand/AACommandtest/entry/src/main/ets/test/
DAbility.test.ets219 expect(globalThis.stdResult1).assertContain(finishmsg);
220 expect(globalThis.stdResult1).assertContain(finishmsg1);
257 expect(globalThis.stdResult11).assertContain(finishmsg);
275 expect(globalThis.stdResult13).assertContain(finishmsg);
276 expect(globalThis.stdResult13).assertContain(finishmsg1);
294 expect(globalThis.stdResult15).assertContain(finishmsg);
295 expect(globalThis.stdResult15).assertContain(finishmsg1);
313 expect(globalThis.stdResult17).assertContain(finishmsg);
314 expect(globalThis.stdResult17).assertContain(finishmsg1);
330 expect(globalThis.stdResult19).assertContain(finishmsg);
[all …]
/test/xts/acts/ability/ability_runtime/aacommand/AACommandPrintOneTest/entry/src/main/ets/test/
DAbility.test.ets52 expect(globalThis.stdResult3).assertContain(msg);
76 expect(globalThis.stdResult4).assertContain(msg);
101 expect(globalThis.stdResult5).assertContain(msg);
116 expect(globalThis.stdResult6).assertContain(msg);
130 expect(globalThis.stdResult7).assertContain(msg);
154 expect(globalThis.stdResult8).assertContain(msg);
179 expect(globalThis.stdResult9).assertContain(msg);
194 expect(globalThis.stdResult10).assertContain(msg);
/test/xts/acts/ability/ability_runtime/actsshellcommandfunctionalitytest/ActsKillProcessWithAccountCloseRelyHap/entry/src/main/ets/test/
DAbility.test.ets19 it('assertContain',0, function () {
23 expect(a).assertContain(b)
/test/xts/acts/ability/ability_runtime/aacommand/AACommandPrintSyncTest/entry/src/main/ets/test/
DAbility.test.ets50 expect(globalThis.stdResult1).assertContain(msg)
74 expect(globalThis.stdResult2).assertContain(msg);
98 expect(globalThis.stdResult3).assertContain(msg);
113 expect(globalThis.stdResult4).assertContain(msg);
/test/xts/acts/hiviewdfx/hilogtest/hilogjstest/src/main/js/test/
DHilogJsTest.js708 expect(msg).assertContain("666666");
732 expect(msg).assertContain("hilogJs0100");
737 expect(msg).assertContain("hilogJs0200");
742 expect(msg).assertContain("hilogJs0300");
747 expect(msg).assertContain("hilogJs0400");
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/PhotoAccessHelperCases/
Dcommon.ets89 expect(uri).assertContain("IMG")
91 expect(uri).assertContain("VID")
93 expect(uri).assertContain(extension)
/test/xts/acts/ability/ability_runtime/stage/actsgetgroupdirtest/actsgetgroupdirtest/entry/src/main/ets/test/
DActsGetgroupdirTest.test.ets41 expect(data).assertContain("/data/storage/el2/group");
96 expect(data).assertContain("/data/storage/el2/group");
168 expect(data.parameters.res).assertContain("/data/storage/el2/group");
211 expect(data.parameters.res).assertContain("/data/storage/el2/group");
/test/xts/acts/theme/wallpaper_ets/entry/src/main/ets/test/
DwallpapernopermissionTest.test.ets74 expect(err.message).assertContain("async call failed");
127 expect(err.message).assertContain("async call failed");
152 expect(err.message).assertContain("async call failed");
207 expect(err.message).assertContain("async call failed");
290 expect(err.message).assertContain("async call failed");
343 expect(err.message).assertContain("async call failed");
/test/xts/tools/sample/AppSampleD/entry/src/ohosTest/ets/test/
DAbility.test.ets39 it('assertContain',0, function () {
45 expect(a).assertContain(b)
/test/xts/acts/ability/crossplatform/ability_runtime/ActsCrossplatformAbilityTest/src/main/ets/test/
DAbility.test.ets47 it("assertContain", 0, function () {
53 expect(a).assertContain(b);
/test/xts/acts/time/timeTest/entry/src/main/ets/test/
DtimeNoPermission.test.ets72 expect(err.message).assertContain("permission denied");
127 expect(err.message).assertContain("permission denied");
180 expect(err.message).assertContain("permission denied");
/test/xts/acts/ability/ability_runtime/abilitygetstartparameterstest/startabilitygetstartparametertest/entry/src/main/ets/test/
DStartAbilityGetStartParameter.test.ets105 expect(pid).assertContain(callPid);
155 expect(pid).assertContain(callPid);
208 expect(pid).assertContain(callPid);
257 expect(pid).assertContain(callPid);
305 expect(pid).assertContain(callPid);
357 expect(pid).assertContain(callPid);
405 expect(pid).assertContain(callPid);
457 expect(pid).assertContain(callPid);
/test/xts/acts/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_focusOnTouch/entry/src/main/ets/test/focusOnTouch/
DFocusOnTouchTest.test.ets105 expect(referenceComponent.$attrs.label).assertContain('onFocus');
117 expect(referenceComponent.$attrs.label).assertContain('onFocus');
/test/xts/acts/inputmethod/InputMethodTest_ets/entry/src/main/ets/test/
DinputMethodNormalJSUnit.test.ets62 expect(err.message).assertContain("the permissions check fails");
155 expect(err.message).assertContain("the permissions check fails");
210 expect(err.message).assertContain("the permissions check fails");
/test/testfwk/arkxtest/jsunit/
Dindex.d.ts66 assertContain(expectValue: any): void
/test/xts/acts/ability/ability_runtime/registerjserror/ActsRegisterJsErrorTest/entry/src/main/ets/test/
DAbility.test.ets66 … expect(data.parameters.message).assertContain("Error message:Cannot read property terminateSelf");
115 … expect(data.parameters.message).assertContain("Error message:Cannot read property terminateSelf");
122 expect(data.parameters.message.stack).assertContain("at anonymous");
394 … expect(data.parameters.message).assertContain("Error message:Cannot read property terminateSelf");
401 expect(data.parameters.message.stack).assertContain("at anonymous");
/test/xts/acts/ability/ability_runtime/shareextensionability/actsshareextensionabilitytest/entry/src/main/ets/test/
DAbility.test.ets80 expect(result[0]).assertContain("main name [ActsShareExtensionAbility]");
81 … expect(result[0]).assertContain("bundle name [com.example.actsshareextensionabilitytest]");
82 expect(result[0]).assertContain("ability type [UIEXTENSION]");
83 expect(result[0]).assertContain("app state #FOREGROUND");
149 expect(result[0]).assertContain("main name [ActsShareExtensionAbility]");
150 … expect(result[0]).assertContain("bundle name [com.example.actsshareextensionabilitytest]");
151 expect(result[0]).assertContain("ability type [UIEXTENSION]");
152 expect(result[0]).assertContain("app state #FOREGROUND");
217 expect(result[0]).assertContain("main name [ActsShareExtensionAbility]");
218 … expect(result[0]).assertContain("bundle name [com.example.actsshareextensionabilityrely]");
[all …]
/test/xts/acts/ability/ability_runtime/actsactionextensionability/actsactionextensionabilitytest/entry/src/main/ets/test/
DAbility.test.ets67 expect(result[0]).assertContain("main name [ActsActionExtensionAbility]");
68 … expect(result[0]).assertContain("bundle name [com.example.actsactionextensionabilitytest]");
69 expect(result[0]).assertContain("ability type [UIEXTENSION]");
70 expect(result[0]).assertContain("app state #FOREGROUND");
135 expect(result[0]).assertContain("main name [ActsActionExtensionAbility]");
136 … expect(result[0]).assertContain("bundle name [com.example.actsactionextensionabilitytest]");
137 expect(result[0]).assertContain("ability type [UIEXTENSION]");
138 expect(result[0]).assertContain("app state #FOREGROUND");
202 expect(result[0]).assertContain("main name [ActsActionExtensionAbility]");
203 … expect(result[0]).assertContain("bundle name [com.example.actsactionextensionabilityrely]");
[all …]

123