| /test/xts/acts/multimedia/image/image_js_standard/imageGetImageProperty/src/main/js/test/ |
| D | getPropertySecond.test.js | 68 async function getFd(fileName) { 89 beforeAll(async function () { 105 async function getImagePropertyPromise(filename,done, testNum, key) { 127 async function getImagePropertyCb(filename,done, testNum, key) { 148 async function getImagePropertyCb2(filename,done, testNum, key) { 171 async function getImagePropertyErr(done, testNum, tag) { 201 it("SUB_MULTIMEDIA_IMAGE_GETIMAGEPROPERTY_PROMISE_0100", 0, async function (done) { 215 it("SUB_MULTIMEDIA_IMAGE_GETIMAGEPROPERTY_PROMISE_0200", 0, async function (done) { 229 it("SUB_MULTIMEDIA_IMAGE_GETIMAGEPROPERTY_PROMISE_0300", 0, async function (done) { 243 it("SUB_MULTIMEDIA_IMAGE_GETIMAGEPROPERTY_PROMISE_0400", 0, async function (done) { [all …]
|
| D | getProperty.test.js | 36 async function getFd(fileName) { 57 beforeAll(async function () { 65 afterEach(async function () { 89 async function testGetImageProperties(done, testNum, type, args) { 121 async function testGetImagePropertyPromise(done, testNum, type, args) { 150 async function testGetImagePropertyCb(done, testNum, type, args) { 177 async function testGetImagePropertyOptCb(done, testNum, type, args) { 205 async function testGetImagePropertyPromiseErr(done, testNum, type, args, isTypeErr) { 241 async function testGetImagePropertyCbErr(done, testNum, type, args, isTypeErr) { 276 async function testGetImagePropertyOptCbErr(done, testNum, type, args, isTypeErr) { [all …]
|
| /test/xts/acts/multimedia/image/image_js_standard/imageModifyProperty/src/main/js/test/ |
| D | modify.test.js | 32 async function getFd(fileName) { 53 beforeAll(async function () { 61 afterEach(async function () { 77 async function testModifyImageProperties(done, testNum, type, props, checkKey) { 124 async function testModifyImagePropertyPromise(done, testNum, type, key, value, checkProps) { 163 async function testModifyImagePropertyCb(done, testNum, type, key, value, checkProps) { 200 async function testModifyImagePropertyOptCb(done, testNum, type, key, value, checkProps) { 238 async function testModifyImagePropertyCbErr(done, testNum, type, key, value) { 261 async function testModifyImagePropertyOptCbErr(done, testNum, type, key, value) { 285 async function testModifyImagePropertyPromiseError(done, testNum, type, key, value) { [all …]
|
| /test/xts/acts/distributeddatamgr/preferencesjstest/hap/entry/src/ohosTest/js/test/ |
| D | SystemStorageJsunit.test.js | 30 afterEach(async function (done) { 59 it('testSet001', 0, async function (done) { 66 success: async function () { 70 complete: async function () { 77 success: async function (data) { 97 it('testSet002', 0, async function (done) { 105 success: async function () { 108 fail: async function (data, errCode) { 112 complete: async function () { 134 it('testSet003', 0, async function (done) { [all …]
|
| D | StoragePromiseJsunit.test.js | 30 beforeAll(async function () { 34 afterAll(async function () { 38 beforeEach(async function () { 45 afterEach(async function () { 59 it('testClear0011', 0, async function (done) { 79 it('testHasKey0031', 0, async function (done) { 98 it('testHasKey0032', 0, async function (done) { 117 it('testHasKey0033', 0, async function (done) { 136 it('testHasKey0034', 0, async function (done) { 155 it('testHasKey0035', 0, async function (done) { [all …]
|
| D | PreferencesCallBackJsunit.test.js | 34 beforeAll(async function () { 39 afterAll(async function () { 43 beforeEach(async function () { 48 afterEach(async function () { 62 it('testPreferencesClear0012', 0, async function (done) { 65 await mPreferences.clear(async function (err, ret) { 80 it('testPreferencesHasKey0032', 0, async function (done) { 96 it('testPreferencesHasKey0033', 0, async function (done) { 112 it('testPreferencesHasKey0034', 0, async function (done) { 128 it('testPreferencesHasKey0035', 0, async function (done) { [all …]
|
| /test/xts/acts/multimedia/avsession/avsession_js_standard/avsessionManager/entry/src/ohosTest/js/test/ |
| D | AVSessionErrorCode.test.js | 89 async function invalidSession(validFunc) { 90 await session.destroy().then(async () => { 112 async function offCallbackInvalidSession(eventName) { 132 async function onCallbackInvalidSession(eventName) { 147 beforeEach(async function () { 170 afterEach(async function (done) { 205 it('SUB_MULTIMEDIA_AVSESSION_SET_METADATA_ERRORCODE_0100', 0, async function (done) { 206 await invalidSession(async () => { 228 it('SUB_MULTIMEDIA_AVSESSION_SET_METADATA_ERRORCODE_0200', 0, async function (done) { 247 it('SUB_MULTIMEDIA_AVSESSION_SET_METADATA_ERRORCODE_0300', 0, async function (done) { [all …]
|
| D | AVSessionControllerErrorCode.test.js | 41 async function invalidSession(validFunc) { 42 await session.destroy().then(async () => { 52 async function invalidSessionState(validFunc) { 53 await session.deactivate().then(async () => { 62 async function invalidController(validFunc) { 63 await controller.destroy().then(async () => { 85 async function offCallbackInvalidController(eventName) { 96 async function offCallbackInvalidSession(eventName) { 107 async function onCallbackInvalidSession(eventName) { 118 async function onCallbackInvalidController(eventName) { [all …]
|
| /test/xts/acts/multimedia/media/media_js_standard/avPlayer/entry/src/main/ets/test/ |
| D | AVPlayerStabilityTest.test.js | 82 beforeAll(async function () { 95 async function getStageFdRead(pathName) { 110 beforeEach(async function() { 115 afterEach(async function() { 125 afterAll(async function() { 140 it('SUB_MULTIMEDIA_MEDIA_AVPLAYER_STABILITY_0100', 0, async function (done) { 154 it('SUB_MULTIMEDIA_MEDIA_AVPLAYER_STABILITY_0200', 0, async function (done) { 168 it('SUB_MULTIMEDIA_MEDIA_AVPLAYER_FORMAT_MP4_0100', 0, async function (done) { 182 it('SUB_MULTIMEDIA_MEDIA_AVPLAYER_FORMAT_MP4_0200', 0, async function (done) { 196 it('SUB_MULTIMEDIA_MEDIA_AVPLAYER_FORMAT_MP4_0300', 0, async function (done) { [all …]
|
| D | AVPlayerMultiTrackTest.test.js | 39 beforeAll(async function() { 49 beforeEach(async function() { 56 afterEach(async function() { 64 afterAll(async function() { 78 async function getAudioTracks() { 102 async function getCurrentAudioTrack() { 109 async function getCurrentAudioTrackCall() { 120 async function changeAudioTrack() { 132 async function resetAndCallbackOff() { 147 async function testChangeTrack(fd, preparedOp, playedOp, stoppedOp, extraOp) { [all …]
|
| D | AVPlayerAmrTest.test.js | 34 beforeAll(async function () { 37 async function getConverts(pathName) { 48 async function getStageFdRead(pathName) { 63 beforeEach(async function () { 68 afterEach(async function () { 78 afterAll(async function () { 93 it('SUB_MULTIMEDIA_MEDIA_AVPLAYER_AMR_0100', 0, async function (done) { 108 it('SUB_MULTIMEDIA_MEDIA_AVPLAYER_AMR_0200', 0, async function (done) { 123 it('SUB_MULTIMEDIA_MEDIA_AVPLAYER_AMR_0300', 0, async function (done) { 137 it('SUB_MULTIMEDIA_MEDIA_AVPLAYER_AMR_0400', 0, async function (done) { [all …]
|
| /test/xts/acts/multimedia/image/image_js_standard/imagePixelMapFramework/entry/src/ohosTest/js/test/ |
| D | framework.test.js | 40 beforeAll(async function () { 50 afterEach(async function () { 70 afterAll(async function () { 79 async function genPixelMap() { 120 async function checkPixelMapInterface(done, logger, pixelMap, orgInfo, sizeCheck, data) { 140 …async function pixelMapModifySizeTest(done, testNum, type, pixelMapInterface, sizeCheck, data, ...… 150 pixelMap[pixelMapInterface](...params, async () => { 169 async function checkAlphaPixelmap(done, logger, alphaPixelMap) { 184 async function createAlphaPixelmapTest(done, testNum, type, imageData) { 196 pixelMap.createAlphaPixelmap(async (err, alphaPixelMap) => { [all …]
|
| /test/xts/acts/arkui/ace_ets_state_test/entry/src/main/ets/test/ |
| D | StateTwoJsunit.test.ets | 24 beforeAll(async function (done) { 44 beforeEach(async function (done) { 49 afterEach(async function (done) { 74 it('GetCertificate',0,async function(done){ 79 it('Get',0,async function(done){ 86 it('Has',0,async function(done){ 91 it('Set',0,async function(done){ 96 it('SetFalse',0,async function(done){ 104 it('GetUndefined',0,async function(done){ 109 it('IsMutable',0,async function(done){ [all …]
|
| /test/xts/acts/multimedia/media/media_js_standard/httpPlayer/src/main/js/test/ |
| D | HttpPlayerCompatibilityTest.test.js | 37 beforeEach(async function() { 45 afterEach(async function() { 62 it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MP4_0100', 0, async function (done) { 76 it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MP4_0200', 0, async function (done) { 90 it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_TS_0100', 0, async function (done) { 104 it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_TS_0200', 0, async function (done) { 118 it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0100', 0, async function (done) { 132 it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0200', 0, async function (done) { 146 it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0300', 0, async function (done) { 160 it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0400', 0, async function (done) { [all …]
|
| /test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/componettest/ |
| D | WebJsunit.test_g.ets | 24 beforeEach(async () => { 28 afterEach(async () => { 52 it('storeWebArchive', 0, async () => { 62 it('allowGeolocation', 0, async () => { 72 it('deletGeolocation', 0, async () => { 82 it('deletAllGeolocation', 0, async () => { 92 it('isCookieAllowed', 0, async () => { 102 it('saveCookieAsync', 0, async () => { 112 it('isThirdPartyCookieAllowed', 0, async () => { 122 it('existCookie', 0, async () => { [all …]
|
| /test/xts/acts/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/ |
| D | RecorderLocalTestAudioAPI.test.js | 149 beforeAll(async function () { 164 afterAll(async function () { 177 it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0200', 0, async function (done) { 192 it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0300', 0, async function (done) { 208 it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0400', 0, async function (done) { 224 it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0500', 0, async function (done) { 239 it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0600', 0, async function (done) { 254 it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0800', 0, async function (done) { 270 it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_0900', 0, async function (done) { 285 it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_PREPARE_API_1000', 0, async function (done) { [all …]
|
| /test/xts/acts/telephony/telephonyjstest/telephony_base/call_manager/entry/src/ohosTest/js/test/ |
| D | CallManagerTest.test.js | 46 it('Telephony_CallManager_getCallState_Async_0100', 0, async function (done) { 66 it('Telephony_CallManager_getCallState_Promise_0100', 0, async function (done) { 86 it('Telephony_CallManager_hasCall_Async_0400', 0, async function (done) { 106 it('Telephony_CallManager_hasCall_Promise_0400', 0, async function (done) { 126 it('Telephony_CallManager_formatPhoneNumber_Async_0100', 0, async function (done) { 147 it('Telephony_CallManager_formatPhoneNumber_Async_0200', 0, async function (done) { 169 it('Telephony_CallManager_formatPhoneNumber_Async_0300', 0, async function (done) { 191 it('Telephony_CallManager_formatPhoneNumber_Async_0400', 0, async function (done) { 213 it('Telephony_CallManager_formatPhoneNumber_Async_0500', 0, async function (done) { 235 it('Telephony_CallManager_formatPhoneNumber_Async_0600', 0, async function (done) { [all …]
|
| /test/xts/acts/security/certificate_framework/js_api_test_one/entry/src/ohosTest/js/test/ |
| D | Certificate.test.js | 31 it("Security_crypto_framework_X509Cert_0100", 0, async function (done) { 57 it("Security_crypto_framework_X509Cert_0200", 0, async function (done) { 83 it("Security_crypto_framework_X509Cert_0300", 0, async function (done) { 108 it("Security_crypto_framework_X509Cert_0400", 0, async function (done) { 133 it("Security_crypto_framework_X509Cert_0500", 0, async function (done) { 158 it("Security_crypto_framework_X509Cert_0600", 0, async function (done) { 175 it("Security_crypto_framework_X509Cert_0700", 0, async function (done) { 200 it("Security_crypto_framework_X509Cert_0800", 0, async function (done) { 227 it("Security_crypto_framework_X509Cert_0900", 0, async function (done) { 245 it("Security_crypto_framework_X509Cert_1000", 0, async function (done) { [all …]
|
| /test/xts/acts/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/ |
| D | PlayerLocalTestAudioFormat.test.js | 36 afterEach(async function() { 57 it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP3_0100', 0, async function (done) { 77 it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP3_0200', 0, async function (done) { 97 it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP3_0300', 0, async function (done) { 117 it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP3_0400', 0, async function (done) { 137 it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0100', 0, async function (done) { 158 it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0300', 0, async function (done) { 178 it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0400', 0, async function (done) { 198 it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0500', 0, async function (done) { 218 it('SUB_MULTIMEDIA_MEDIA_AUDIOPLAYER_FORMAT_MP4_0600', 0, async function (done) { [all …]
|
| /test/xts/acts/distributeddatamgr/kvStoretest/kvStorejstest/hap/entry/src/ohosTest/js/test/ |
| D | KvStoreResultSetJsunit.test.js | 44 beforeAll(async function (done) { 53 await kvManager.getAllKVStoreId(TEST_BUNDLE_NAME).then(async (data) => { 71 afterAll(async function (done) { 78 beforeEach(async function (done) { 98 await kvStore.putBatch(entries).then(async (err) => { 113 afterEach(async function (done) { 120 await kvManager.closeKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID, kvStore).then(async () => { 140 it('testKvStoreResultSetGetCount001', 0, async function(done) { 157 it('testKvStoreResultSetGetCount002', 0, async function(done) { 186 it('testKvStoreResultSetGetCount003', 0, async function(done) { [all …]
|
| D | SingleKvStoreCallbackJsunit.test.js | 77 beforeAll(async function (done) { 86 afterAll(async function (done) { 93 beforeEach(async function (done) { 102 afterEach(async function (done) { 104 …await kvManager.closeKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID, kvStore, async function (err, data) { 119 it('testSingleKvStorePutString101', 0, async function (done) { 143 it('testSingleKvStorePutString102', 0, async function (done) { 150 await kvStore.put(KEY_TEST_STRING_ELEMENT+'102', str, async function (err,data) { 171 it('testSingleKvStoreGetString101', 0, async function (done) { 195 it('testSingleKvStoreGetString102', 0, async function (done) { [all …]
|
| /test/xts/acts/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/test/ |
| D | ContinuousTaskJsunit.test.js | 59 async function startAbilityWithOption(subscribeInfo, option, event, done) { 110 it("ContinuousTaskJsTest001", 0, async function (done) { 120 it("ContinuousTaskJsTest002", 0, async function (done) { 130 it("ContinuousTaskJsTest003", 0, async function (done) { 140 it("ContinuousTaskJsTest004", 0, async function (done) { 150 it("ContinuousTaskJsTest005", 0, async function (done) { 160 it("ContinuousTaskJsTest006", 0, async function (done) { 170 it("ContinuousTaskJsTest007", 0, async function (done) { 180 it("ContinuousTaskJsTest008", 0, async function (done) { 190 it("ContinuousTaskJsTest009", 0, async function (done) { [all …]
|
| /test/xts/acts/storage/storagefileiojstest/entry/src/ohosTest/js/test/ |
| D | FileIO.test.js | 36 it('fileio_test_open_close_sync_000', 0, async function () { 55 it('fileio_test_open_000', 0, async function () { 75 it('fileio_test_open_001', 0, async function () { 95 it('fileio_test_open_002', 0, async function () { 115 it('fileio_test_open_003', 0, async function () { 138 it('fileio_test_open_004', 0, async function () { 159 it('fileio_test_open_005', 0, async function () { 189 it('fileio_test_open_006', 0, async function () { 207 it('fileio_test_open_007', 0, async function () { 236 it('fileio_test_open_008', 0, async function () { [all …]
|
| /test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/ |
| D | RelationalStoreExcuteSqlJsunit.test.js | 31 beforeAll(async function () { 37 beforeEach(async function () { 46 afterAll(async function () { 57 it('ExcuteSqlTest0001', 0, async function (done) { 68 insertPromise.then(async (ret) => { 83 insertPromise.then(async (ret) => { 99 insertPromise.then(async (ret) => { 109 executeSqlPromise.then(async (resultSet) => { 118 querySqlPromise.then(async (resultSet) => { 134 it('ExcuteSqlTest0002', 0, async function (done) { [all …]
|
| /test/xts/acts/distributeddatamgr/relationalStoretest/RdbJstest/hap/entry/src/ohosTest/js/test/ |
| D | RdbstoreStoreExcuteSqlJsunit.test.js | 28 beforeAll(async function () { 34 beforeEach(async function () { 43 afterAll(async function () { 54 it('ExcuteSqlTest0001', 0, async function (done) { 65 insertPromise.then(async (ret) => { 80 insertPromise.then(async (ret) => { 96 insertPromise.then(async (ret) => { 106 executeSqlPromise.then(async (resultSet) => { 115 querySqlPromise.then(async (resultSet) => { 131 it('ExcuteSqlTest0002', 0, async function (done) { [all …]
|