/base/time/time_service/test/unittest/js_test/permission/ |
D | SystemTimeSet.test.js | 36 it("testSetTime001", 0,function (done) { argument 40 done(); 43 done(); 54 it("testSetTime002", 0, async function (done) { argument 62 done(); 73 it("testSetTimeInvalidValue003", 0, async function (done) { argument 78 done(); 81 done(); 92 it("testSetTimeInvalidValue004", 0, async function (done) { argument 98 done(); [all …]
|
D | SystemTimerException.test.js | 23 async function testCreateTimerPromise(options, done) { argument 27 done(); 31 done(); 35 async function testCreateTimerCallback(options, done) { argument 43 done(); 47 done(); 51 let timeErr = function (err, done) { argument 57 done(); 69 it('testCreateTimerType001', 0, async function (done) { argument 78 done(); [all …]
|
D | SystemDateTimeSet.test.js | 39 it("testSetTime001", 0,function (done) { argument 43 done(); 46 done(); 60 it("testSetTime002", 0, async function (done) { argument 68 done(); 82 it("testSetTimeInvalidValue003", 0, async function (done) { argument 87 done(); 90 done(); 104 it("testSetTimeInvalidValue004", 0, async function (done) { argument 113 done(); [all …]
|
D | SystemDateTimeGet.test.js | 34 it('testGetCurrentTimeMs001', 0, async function (done) { argument 41 done(); 53 it('testGetCurrentTimeMs002', 0, async function (done) { argument 61 done(); 75 it('testGetCurrentTimeMs003', 0, async function (done) { argument 82 done(); 94 it('testGetCurrentTimeMs004', 0, async function (done) { argument 102 done(); 116 it('testGetCurrentTimeNs001', 0, async function (done) { argument 124 done(); [all …]
|
D | SystemTimeGet.test.js | 33 it('testGetCurrentTimeMs001', 0, async function (done) { argument 40 done(); 51 it('testGetCurrentTimeMs002', 0, async function (done) { argument 59 done(); 72 it('testGetCurrentTimeMs003', 0, async function (done) { argument 79 done(); 90 it('testGetCurrentTimeMs004', 0, async function (done) { argument 98 done(); 111 it('testGetCurrentTimeNs001', 0, async function (done) { argument 119 done(); [all …]
|
D | SystemTimerNormal.test.js | 24 async function createTimerCallback(options ,done){ argument 31 done(); 35 async function createTimerPromise(options, done){ argument 39 done(); 42 done(); 55 it('testCreateTimerType001', 0, async (done) => { 67 done(); 81 it('testCreateTimerType002', 0, async (done) => { 87 await createTimerCallback(options ,done); 100 it('testCreateTimerType003', 0, async (done) => { [all …]
|
/base/theme/wallpaper_mgr/frameworks/js/napi/test/unittest/src/wallpaper_js/ |
D | Wallpaper.test.js | 211 it('restoreCallbackSystemTest001', 0, async function (done) { argument 220 done(); 226 done(); 237 it('restorePromiseSystemTest002', 0, async function (done) { argument 241 done(); 245 done(); 249 done(); 259 it('restoreCallbackLockTest003', 0, async function (done) { argument 268 done(); 273 done(); [all …]
|
/base/theme/wallpaper_mgr/frameworks/js/napi/test/unittest/src/wallpaper_perf/ |
D | WallpaperSyncApiPerfJsunit.test.js | 39 it('on_performance_test_001', 0, function (done) { argument 44 done(); 54 it('getColorsSync_performance_test_001', 0, function (done) { argument 59 done(); 68 it('getColorsSync_performance_test_002', 0, function (done) { argument 73 done(); 82 it('getIdSync_performance_test_001', 0, function (done) { argument 87 done(); 96 it('getIdSync_performance_test_002', 0, function (done) { argument 101 done(); [all …]
|
/base/inputmethod/imf/test/unittest/napi_test/src/ |
D | InputMethodWithAttachTest.js | 41 beforeAll(async function (done) { argument 49 done(); 93 function subscribe(subscribeInfo, functionCode, done) { argument 104 done(); 115 it('inputmethod_with_attach_test_showTextInput_001', 0, async function (done) { argument 122 done(); 126 done(); 136 it('inputmethod_with_attach_test_showTextInput_002', 0, async function (done) { argument 142 done(); 146 done(); [all …]
|
D | InputMethodTest.js | 120 it('inputmethod_test_MAX_TYPE_NUM_001', 0, async function (done) { argument 126 done(); 135 it('inputmethod_test_getInputMethodController_001', 0, async function (done) { argument 140 done(); 149 it('inputmethod_test_getController_001', 0, async function (done) { argument 154 done(); 163 it('inputmethod_test_getInputMethodSetting_001', 0, async function (done) { argument 168 done(); 177 it('inputmethod_test_getSetting_001', 0, async function (done) { argument 182 done(); [all …]
|
/base/sensors/miscdevice/test/unittest/vibrator/js/ |
D | ExampleJsunit.test.js | 84 it("VibratorJsTest001", 0, async function (done) { argument 94 done(); 107 it("VibratorJsTest002", 0, async function (done) { argument 117 done(); 130 it("VibratorJsTest003", 0, async function (done) { argument 140 done(); 153 it("VibratorJsTest004", 0, async function (done) { argument 163 done(); 176 it("VibratorJsTest005", 0, async function (done) { argument 186 done(); [all …]
|
/base/theme/screenlock_mgr/frameworks/js/napi/test/unittest/src/ |
D | Screenlock.test.js | 51 it("SUB_MISC_THEME_screenLock_API_0001", 0, function (done) { argument 57 done(); 61 done(); 71 it("SUB_MISC_THEME_screenLock_API_0002", 0, function (done) { argument 76 done(); 80 done(); 90 it("SUB_MISC_THEME_screenLock_API_0003", 0, function (done) { argument 102 done(); 106 done(); 116 it("SUB_MISC_THEME_screenLock_API_0004", 0, function (done) { argument [all …]
|
/base/time/time_service/test/unittest/js_test/nopermission/systemapi/ |
D | SystemTimer.test.js | 31 it('testCreateTimerNoPermission001', 0, async function (done) { argument 39 done(); 42 done(); 56 it('testCreateTimerNoPermission002', 0, async function (done) { argument 68 done(); 82 it('testStartTimerNoPermission001', 0, async function (done) { argument 90 done(); 104 it('testStartTimerNoPermission002', 0, async function (done) { argument 108 done(); 111 done(); [all …]
|
/base/request/request/test/unittest/js_test/requestTest/ |
D | RequestTask.test.js | 68 done() 71 done() 80 done() 83 done() 92 done() 95 done() 103 done() 106 done() 115 done() 144 it('testTaskAction001', function (done) { argument [all …]
|
/base/sensors/sensor/test/unittest/interfaces/js/sensor/ |
D | SensorJsunit.test.js | 82 it("SensorJsTest_001", 0, async function (done) { argument 87 done(); 100 it("SensorJsTest_002", 0, async function (done) { argument 105 done(); 113 done(); 126 it("SensorJsTest_003", 0, async function (done) { argument 133 done(); 146 it("SensorJsTest_004", 0, function (done) { argument 151 done(); 158 done(); [all …]
|
D | SensorFrequencyJsunit.test.js | 72 it("SensorFrequencyJsTest_001", 0, async function (done) { argument 79 done(); 85 done(); 90 done(); 97 done(); 110 it("SensorFrequencyJsTest_002", 0, async function (done) { argument 117 done(); 123 done(); 128 done(); 135 done(); [all …]
|
D | GyroscopeJsunit.test.js | 73 it("GyroscopeJsTest_001", 0, async function (done) { argument 80 done(); 86 done(); 91 done(); 98 done(); 112 it("GyroscopeJsTest_002", 0, async function (done) { argument 119 done(); 125 done(); 130 done(); 137 done(); [all …]
|
D | BarometerJsunit.test.js | 69 it("BarometerJsTest_001", 0, async function (done) { argument 76 done(); 82 done(); 87 done(); 94 done(); 108 it("BarometerJsTest_002", 0, async function (done) { argument 115 done(); 121 done(); 126 done(); 133 done(); [all …]
|
D | SarJsunit.test.js | 70 it("SarJsTest_001", 0, async function (done) { argument 77 done(); 83 done(); 88 done(); 95 done(); 109 it("SarJsTest_002", 0, async function (done) { argument 116 done(); 122 done(); 127 done(); 134 done(); [all …]
|
D | ColorJsunit.test.js | 71 it("ColorJsTest_001", 0, async function (done) { argument 78 done(); 84 done(); 89 done(); 96 done(); 110 it("ColorJsTest_002", 0, async function (done) { argument 117 done(); 123 done(); 128 done(); 135 done(); [all …]
|
D | PedometerDetectionJsunit.test.js | 89 it("PedometerDetectionJsTest_001", 0, async function (done) { argument 100 done(); 106 done(); 111 done(); 118 done(); 123 done(); 137 it("PedometerDetectionJsTest_002", 0, async function (done) { argument 148 done(); 156 done(); 163 done(); [all …]
|
/base/request/request/test/unittest/js_test/requestPermissonTest/ |
D | Permission.test.js | 57 it('testCreateTask001', async function (done) { argument 68 done() 78 it('testCreateTask002', async function (done) { argument 85 done() 88 done() 98 it('testSearchTask001', async function (done) { argument 108 done() 118 it('testSearchTask002', async function (done) { argument 124 done() 127 done() [all …]
|
/base/hiviewdfx/hisysevent/test/unittest/common/napi/ |
D | napi_hisysevent.test.js | 117 …ction writeEventWithAsyncWork(domain, name, eventType, params, errCallback, normalCallback, done) { argument 130 done() 134 done() 138 …function writeEventWithPromise(domain, name, eventType, params, errCallback, normalCallback, done)… argument 147 done() 150 done() 154 done() 169 done() 174 done() 183 errCallback, done) { argument [all …]
|
/base/hiviewdfx/hiappevent/test/unittest/common/napi/ |
D | napi_hiappevent.test.js | 96 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/request/request/test/unittest/common/napi/requestTest/ |
D | RequestJsunit.test.js | 64 it('SUB_REQUEST_DOWNLOAD_API_DOWNLOADTASK_ON_0001', 0, async function (done) { argument 82 done(); 86 done(); 91 done(); 104 it('SUB_REQUEST_DOWNLOAD_API_DOWNLOADTASK_ON_0002', 0, async function (done) { argument 120 done(); 124 done(); 137 it('SUB_REQUEST_DOWNLOAD_API_DOWNLOADTASK_ON_0003', 0, async function (done) { argument 155 done(); 164 done(); [all …]
|