Home
last modified time | relevance | path

Searched refs:done (Results 1 – 25 of 38) sorted by relevance

12

/base/time/time_service/framework/js/napi/system_time/test/unittest/src/
DSystemTimeJsunit.test.js30 it("systemTime_setTimezone_test1", 0, async function (done) { argument
35 done();
48 it("systemTime_setTimezone_test2", 0, async function (done) { argument
53 done();
66 it("systemTime_setTimezone_test3", 0, async function (done) { argument
71 done();
84 it("systemTime_setTimezone_test4", 0, async function (done) { argument
89 done();
102 it("systemTime_setTimezone_test5", 0, async function (done) { argument
107 done();
[all …]
DSystemTimeGets.test.js41 it('systemTime_getCurrentTime_test1', 0, async function (done) { argument
53 done();
64 it('systemTime_getCurrentTime_Nano_test1', 0, async function (done) { argument
78 done();
89 it('systemTime_getRealActiveTime_test1', 0, async function (done) { argument
98 done();
109 it('systemTime_getRealActiveTime_Nano_test1', 0, async function (done) { argument
118 done();
129 it('systemTime_getRealTime_test1', 0, async function (done) { argument
138 done();
[all …]
/base/time/time_service/framework/js/napi/system_date_time/test/unittest/src/
DSystemDateTimeJsunit.test.js30 it("systemDateTime_setTimezone_test1", 0, async function (done) { argument
35 done();
48 it("systemDateTime_setTimezone_test2", 0, async function (done) { argument
53 done();
66 it("systemDateTime_setTimezone_test3", 0, async function (done) { argument
71 done();
84 it("systemDateTime_setTimezone_test4", 0, async function (done) { argument
89 done();
102 it("systemDateTime_setTimezone_test5", 0, async function (done) { argument
107 done();
[all …]
DSystemDateTimeGets.test.js41 it('systemDateTime_getCurrentTime_test1', 0, async function (done) { argument
53 done();
64 it('systemDateTime_getCurrentTime_Nano_test1', 0, async function (done) { argument
78 done();
89 it('systemDateTime_getRealActiveTime_test1', 0, async function (done) { argument
98 done();
109 it('systemDateTime_getRealActiveTime_Nano_test1', 0, async function (done) { argument
118 done();
129 it('systemDateTime_getRealTime_test1', 0, async function (done) { argument
138 done();
[all …]
/base/theme/wallpaper_mgr/interfaces/kits/napi/test/unittest/src/wallpaper_js/
DWallpaper.test.js194 it('restoreCallbackSystemTest001', 0, async function (done) { argument
203 done();
209 done();
220 it('restorePromiseSystemTest002', 0, async function (done) { argument
224 done();
228 done();
232 done();
242 it('restoreCallbackLockTest003', 0, async function (done) { argument
251 done();
255 done();
[all …]
/base/sensors/miscdevice/interfaces/plugin/vibrator/test/unittest/
DExampleJsunit.test.js65 it("VibratorJsTest001", 0, async function (done) { argument
75 done();
87 it("VibratorJsTest002", 0, async function (done) { argument
97 done();
109 it("VibratorJsTest003", 0, async function (done) { argument
119 done();
131 it("VibratorJsTest004", 0, async function (done) { argument
141 done();
153 it("VibratorJsTest005", 0, async function (done) { argument
163 done();
[all …]
/base/theme/screenlock_mgr/interfaces/kits/napi/test/unittest/src/
DScreenlock.test.js49 it("SUB_MISC_THEME_screenLock_API_0001", 0, function (done) { argument
55 done();
59 done();
68 it("SUB_MISC_THEME_screenLock_API_0002", 0, function (done) { argument
73 done();
77 done();
86 it("SUB_MISC_THEME_screenLock_API_0003", 0, function (done) { argument
98 done();
102 done();
111 it("SUB_MISC_THEME_screenLock_API_0004", 0, function (done) { argument
[all …]
/base/inputmethod/imf/test/unitest/src/
DInputMethodTest.js49 it('inputmethod_test_MAX_TYPE_NUM_001', 0, async function (done) { argument
56 done();
65 it('inputmethod_test_getInputMethodController_001', 0, async function (done) { argument
70 done();
79 it('inputmethod_test_getController_001', 0, async function (done) { argument
84 done();
93 it('inputmethod_test_getInputMethodSetting_001', 0, async function (done) { argument
98 done();
107 it('inputmethod_test_getSetting_001', 0, async function (done) { argument
112 done();
[all …]
/base/sensors/sensor/interfaces/plugin/test/unittest/
DExampleJsunit.test.js69 it("SensorJsTest_001", 0, async function (done) { argument
74 done();
84 it("SensorJsTest_002", 0, async function (done) { argument
89 done();
97 done();
107 it("SensorJsTest_003", 0, async function (done) { argument
114 done();
124 it("SensorJsTest_004", 0, function (done) { argument
129 done();
136 done();
[all …]
/base/sensors/sensor/interfaces/plugin/test/
DExampleJsunit.test_ambientlight.js64 it("SensorJsTest001", 0, async function (done) { argument
69 done();
79 it("SensorJsTest002", 0, async function (done) { argument
86 done();
96 it("SensorJsTest003", 0, function (done) { argument
101 done();
108 done();
118 it("SensorJsTest004", 0, async function (done) { argument
122 done();
132 it("SensorJsTest005", 0, function (done) { argument
[all …]
DExampleJsunit.test_rotatingvector.js70 it("SensorJsTest001", 0, async function (done) { argument
75 done();
85 it("SensorJsTest002", 0, async function (done) { argument
92 done();
102 it("SensorJsTest003", 0, function (done) { argument
107 done();
114 done();
124 it("SensorJsTest004", 0, async function (done) { argument
128 done();
138 it("SensorJsTest005", 0, function (done) { argument
[all …]
DExampleJsunit.test_orientating.js68 it("SensorJsTest001", 0, async function (done) { argument
73 done();
83 it("SensorJsTest002", 0, async function (done) { argument
90 done();
100 it("SensorJsTest003", 0, function (done) { argument
105 done();
112 done();
122 it("SensorJsTest004", 0, async function (done) { argument
126 done();
136 it("SensorJsTest005", 0, function (done) { argument
[all …]
DExampleJsunit.test_gravity.js68 it("SensorJsTest001", 0, async function (done) { argument
73 done();
83 it("SensorJsTest002", 0, async function (done) { argument
90 done();
100 it("SensorJsTest003", 0, function (done) { argument
105 done();
112 done();
122 it("SensorJsTest004", 0, async function (done) { argument
126 done();
136 it("SensorJsTest005", 0, function (done) { argument
[all …]
DExampleJsunit.test_acc.js67 it("SensorJsTest001", 0, async function (done) { argument
72 done();
82 it("SensorJsTest002", 0, async function (done) { argument
89 done();
99 it("SensorJsTest003", 0, async function (done) { argument
104 done();
111 done();
121 it("SensorJsTest004", 0, async function (done) { argument
125 done();
135 it("SensorJsTest005", 0, async function (done) { argument
[all …]
DExampleJsunit.test_magnetic.js68 it("SensorJsTest001", 0, async function (done) { argument
73 done();
83 it("SensorJsTest002", 0, async function (done) { argument
90 done();
100 it("SensorJsTest003", 0, function (done) { argument
105 done();
112 done();
122 it("SensorJsTest004", 0, async function (done) { argument
126 done();
136 it("SensorJsTest005", 0, function (done) { argument
[all …]
DExampleJsunit.test_system.js54 it("SensorJsTest001", 0, async function (done) { argument
78 done();
89 it("SensorJsTest002", 0, async function (done) { argument
96 done();
101 done();
112 it("SensorJsTest003", 0, async function (done) { argument
120 done();
126 done();
136 it("SensorJsTest004", 0, async function (done) { argument
145 done();
[all …]
/base/hiviewdfx/hiappevent/test/unittest/common/napi/
Dnapi_hiappevent.test.js96 function writeTest(name, type, params, code, done) { argument
101 done();
105 function writeParamsTest(params, code, done) { argument
106 writeTest(TEST_NAME, TEST_TYPE, params, code, done);
109 function writeNameTest(name, code, done) { argument
110 writeTest(name, TEST_TYPE, TEST_PARAMS, code, done);
113 function writeV9Test(eventInfo, expectErr, done, hasCatch) { argument
122 done();
128 done();
133 function writeParamsV9Test(params, expectErr, done, hasCatch) { argument
[all …]
/base/inputmethod/imf/test/js/
DInputMethodTest.test.js26 it('inputmethod_test_listInputMethod_001', 0, async function (done) { argument
33 done();
42 it('inputmethod_test_listInputMethod_002', 0, async function (done) { argument
56 done();
65 it('inputmethod_test_listInputMethod_003', 0, async function (done) { argument
75 done();
84 it('inputmethod_test_displayOptionalInputMethod_001', 0, async function (done) { argument
91 done();
100 it('inputmethod_test_displayOptionalInputMethod_002', 0, async function (done) { argument
106 done();
[all …]
/base/hiviewdfx/hitrace/test/unittest/common/napi/
Dnapi_hitracechain.test.js58 it('hiTraceChainJsUnitTest001', 0, async function (done) { argument
62 done()
70 it('hiTraceChainJsUnitTest002', 0, async function (done) { argument
75 done()
83 it('hiTraceChainJsUnitTest003', 0, async function (done) { argument
90 done();
98 it('hiTraceChainJsUnitTest004', 0, async function (done) { argument
104 done();
112 it('hiTraceChainJsUnitTest005', 0, async function (done) { argument
116 done();
[all …]
/base/request/request/test/unittest/common/napi/requestTest/
DRequestJsunit.test.js50 it('SUB_REQUEST_DOWNLOAD_API_DOWNLOADTASK_ON_0001', 0, async function (done) { argument
80 done();
84 done();
89 done();
101 it('SUB_REQUEST_DOWNLOAD_API_DOWNLOADTASK_ON_0002', 0, async function (done) { argument
129 done();
133 done();
145 it('SUB_REQUEST_DOWNLOAD_API_DOWNLOADTASK_ON_0003', 0, async function (done) { argument
174 done();
183 done();
[all …]
DRequestUploadTest.js80 it('SUB_REQUEST_UPLOAD_API_0001', 0, async function (done) { argument
96 done();
107 it('SUB_REQUEST_UPLOAD_API_0002', 0, async function (done) { argument
123 done();
134 it('SUB_REQUEST_UPLOAD_API_0003', 0, async function (done) { argument
150 done();
161 it('SUB_REQUEST_UPLOAD_API_0004', 0, async function (done) { argument
177 done();
188 it('SUB_REQUEST_UPLOAD_API_0005', 0, async function (done) { argument
204 done();
[all …]
/base/notification/distributed_notification_service/frameworks/test/moduletest/
DReminderHelperTest.js61 it("testReminderHelper001", 0, async function (done) { argument
75 done();
97 it("testReminderHelper002", 0, async function (done) { argument
122 done();
132 it("testReminderHelper003", 0, async function (done) { argument
149 done();
173 it("testReminderHelper004", 0, async function (done) { argument
201 done();
211 it("testReminderHelper005", 0, async function (done) { argument
231 done();
[all …]
/base/hiviewdfx/hisysevent/test/unittest/common/napi/
Dnapi_hisysevent.test.js58 it('hiSysEventJsUnitTest001', 0, async function (done) { argument
81 done()
87 done()
96 it('hiSysEventJsUnitTest002', 0, async function (done) { argument
115 done()
122 done()
129 done()
138 it('hiSysEventJsUnitTest003', 0, async function (done) { argument
156 done();
161 done()
[all …]
/base/time/time_service/framework/js/napi/system_timer/test/unittest/src/
DSystemTimerUnit.test.js30 it('SUB_time_systemTimer_createTimer_0000', 0, async function (done) { argument
51 done();
62 it('SUB_time_systemTimer_createTimer_0001', 0, async function (done) { argument
83 done();
94 it('SUB_time_systemTimer_createTimer_0002', 0, async function (done) { argument
116 done();
127 it('SUB_time_systemTimer_createTimer_0003', 0, async function (done) { argument
148 done();
159 it('SUB_time_systemTimer_createTimer_0004', 0, async function (done) { argument
180 done();
[all …]
DSystemTimerJsunit.test.js31 it('SUB_time_systemTimer_createTimer_0001', 0, async function (done) { argument
52 done();
63 it('SUB_time_systemTimer_createTimer_0002', 0, async function (done) { argument
82 done();
93 it('SUB_time_systemTimer_createTimer_0003', 0, async function (done) { argument
114 done();
125 it('SUB_time_systemTimer_createTimer_0004', 0, async function (done) { argument
140 done();
151 it('SUB_time_systemTimer_createTimer_0005', 0, async function (done) { argument
168 done();
[all …]

12