/test/xts/acts/resourceschedule/resourceschedule_standard/ffrt/entry/src/main/ets/test/ |
D | Ffrt.test.ets | 17 export default function ffrtTest() { 18 describe('ActsFfrtTest', function () { 19 // Defines a test suite. Two parameters are supported: test suite name and test suite function. 20 beforeAll(function () { 22 // This API supports only one parameter: preset action function. 24 beforeEach(function () { 27 // This API supports only one parameter: preset action function. 29 afterEach(function () { 32 // This API supports only one parameter: clear action function. 34 afterAll(function () { [all …]
|
/test/xts/acts/arkui/ace_ets_state_test/entry/src/main/ets/test/ |
D | StateTwoJsunit.test.ets | 21 export default function stateTwoJsunit() { 22 describe('ActsAceStateTwoTest', function () { 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){ [all …]
|
D | StateJsunit.test.ets | 20 export default function stateJsunit() { 21 describe('ActsAceStateTest', function () { 22 beforeEach(async function (done) { 28 afterEach(async function (done) { 50 … *tc.desic Injects the JavaScript object into window and invoke the function in window 52 it('OnLoadIntercept',0,async function(done){ 57 it('Clear',0,async function(done){ 62 it('Keys',0,async function(done){ 68 it('Size',0,async function(done){ 73 it('LocalStorageSize',0,async function(done){ [all …]
|
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/componettest/ |
D | WebJsunit.test_g.ets | 20 export default function webJsunit() { 21 describe('ActsAceWebDevTest', function () { 22 beforeEach(async function (done) { 27 afterEach(async function (done) { 52 it('storeWebArchive',0,async function(done){ 62 it('allowGeolocation',0,async function(done){ 72 it('deletGeolocation',0,async function(done){ 82 it('deletAllGeolocation',0,async function(done){ 92 it('isCookieAllowed',0,async function(done){ 102 it('saveCookieAsync',0,async function(done){ [all …]
|
/test/xts/acts/communication/netstack_websocket/entry/src/main/ets/test/ |
D | WebSocketTest.ets | 19 export default function webSocketTest() { 20 describe('ActsAbilityTest', function () { 21 // Defines a test suite. Two parameters are supported: test suite name and test suite function. 22 beforeAll(function () { 24 // This API supports only one parameter: preset action function. 26 beforeEach(function () { 29 // This API supports only one parameter: preset action function. 31 afterEach(function () { 34 // This API supports only one parameter: clear action function. 36 afterAll(function () { [all …]
|
/test/xts/acts/ability/ability_runtime/workercontextcover/workercontexttest/entry/src/main/ets/test/ |
D | WorkerTransmitTest.test.ets | 19 export default function WorkerTransmitTest() { 20 describe('WorkerTransmitTest', function () { 28 function sleep(ms) { 39 it('SUB_AA_AMS_Stage_StageContextSupportsWorker_0100',0, async function (done) { 47 trans.onexit = function() { 52 trans.onerror = function() { 57 trans.onmessageerror = function() { 62 trans.onmessage = function(message) { 91 it('SUB_AA_AMS_Stage_StageContextSupportsWorker_0300',0, async function (done) { 99 trans.onexit = function() { [all …]
|
/test/xts/acts/arkui/ace_ets_web_dev_three/entry/src/main/ets/test/ |
D | WebJsunit.test.ets | 20 export default function webJsunit() { 21 describe('ActsAceWebDevTest', function () { 22 beforeEach(async function (done) { 27 afterEach(async function (done) { 52 it('LoadUrl',0,async function(done){ 62 it('LoadData',0,async function(done){ 72 it('Backward',0,async function(done){ 82 it('Forward',0,async function(done){ 92 it('AccessBackward',0,async function(done){ 102 it('AccessForward',0,async function(done){ [all …]
|
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/ |
D | WebJsunitApi9.test.ets | 20 export default function webJsunit() { 21 describe('ActsAceWebDevTest1', function () { 22 beforeEach(async function (done) { 27 afterEach(async function (done) { 53 it('testmultiWindow01', 0, async function (done) { 70 it('testonWindowExit02',0,async function(done){ 80 it('tesweb03',0,async function(done){ 90 it('tesweb04',0,async function(done){ 100 it('tesweb05',0,async function(done){ 110 it('testweb06', 0, async function (done) { [all …]
|
/test/xts/acts/arkui/ace_ets_web_dev_webviewController/entry/src/main/ets/test/ |
D | webViewControllerJsunit.test.ets | 19 export default function webViewControllerJsunit() { 20 describe('ActsAceWebDevWebViewControllerTest', function () { 21 beforeEach(async function (done) { 26 afterEach(async function (done) { 51 it('testGetWebId',0,async function(done){ 62 it('testFetchCookieSync',0,async function(done){ 72 it('testFetchCookieCallback',0,async function(done){ 82 it('testFetchCookiePromise',0,async function(done){ 92 it('testConfigCookieSync',0,async function(done){ 102 it('testConfigCookieCallback',0,async function(done){ [all …]
|
/test/xts/acts/inputmethod/InputMethodWindManage/entry/src/main/ets/test/ |
D | InputMethodWindManage.test.ets | 27 export default function inputMethodWindManageAbility() { 28 describe('inputMethodWindManageTest', function () { 75 it('Sub_Misc_inputMethod_Panel_createPanelCallback_0010', 0, async function (done) { 76 function unSubscriberCallback(err) { 85 function subscriberCallback(err, data) { 102 async function publishCallback(err) { 114 commonEventManager.createSubscriber(commonEventSubscribeInfo).then(function (data) { 135 it('Sub_Misc_inputMethod_Panel_createPanelPromise_0020', 0, async function (done) { 136 function unSubscriberCallback(err) { 145 function subscriberCallback(err, data) { [all …]
|
/test/xts/acts/arkui/ace_ets_web_dev/entry/src/main/ets/test/ |
D | WebJsunit.test.ets | 20 export default function webJsunit() { 21 describe('ActsAceWebDevTest', function () { 22 beforeEach(async function (done) { 27 afterEach(async function (done) { 52 it('userAgent',0,async function(done){ 60 … *tc.desic Injects the JavaScript object into window and invoke the function in window 62 it('javaScriptProxy',0,async function(done){ 71 it('onUrlLoadIntercept',0,async function(done){ 81 it('onRenderExited',0,async function(done){ 92 it('onResourceLoad',0,async function(done){ [all …]
|
/test/xts/acts/multimedia/image/image_js_standard/imagePixelMapNDK/entry/src/main/ets/test/ |
D | ImagePixelMapNDKTest.ets | 21 export default function ImagePixelMapNDKTest() { 22 describe('ImagePixelMapNDKTest', function () { 26 function logger(caseName) { 29 log: function (msg) { 34 function resulter(done) { 37 trueDone: function (criterion) { 41 falseDone: function (criterion) { 45 failDone: function () { 49 eTrue: function (criterion) { 52 eFalse: function (criterion) { [all …]
|
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/ets/test/ |
D | ImageSourceNDKTest.ets | 25 export default function ImageSourceNDKTest() { 26 describe('ImageSourceNDKTest', function () { 31 beforeAll(function () { 35 beforeEach(function () { 39 afterEach(function () { 43 afterAll(function () { 46 function logger(caseName) { 49 log: function (msg) { 55 async function getPath(fileName: string) { 68 async function getFd(fileName) { [all …]
|
/test/xts/acts/applications/settingsdata/settings_ets/entry/src/main/ets/test/ |
D | SettingUiJsunit.test.ets | 19 export default function settingUiJsunit() { 20 describe('appInfoTest', function () { 22 it('settings_uri_test_001', 0,(done:function) => { 32 it('settings_uri_test_002', 0, async function (done) { 40 it('settings_uri_test_003', 0, async function (done) { 54 it('settings_uri_test_004', 0, async function (done) { 62 it('settings_get_value_005', 0, async function (done) { 70 it('settings_get_value_006', 0, async function (done) { 88 it('settings_get_value_007', 0, async function (done) { 103 it('settings_get_value_008', 0, async function (done) { [all …]
|
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverMultiThread/entry/src/main/ets/test/ |
D | imageMultiThread.test.ets | 22 async function promiseCase() { 23 return new Promise(function (resolve, reject) { 24 setTimeout(function () { 30 async function terminateThreads(threadWorks, count) { 34 threadWorks[a].onexit = function () { 44 async function doTest(done, name, runner) { 52 threadWorks[a].onmessage = function (e) { 58 threadWorks[a].onexit = function () { 82 export default function multiThreadTest() { 83 describe('multiThreadTest', function () { [all …]
|
/test/xts/tools/sample/AppSampleD/entry/src/ohosTest/ets/test/ |
D | Ability.test.ets | 18 export default function abilityTest() { 19 describe('ActsAbilityTest', function () { 20 // Defines a test suite. Two parameters are supported: test suite name and test suite function. 21 beforeAll(function () { 23 // This API supports only one parameter: preset action function. 25 beforeEach(function () { 28 // This API supports only one parameter: preset action function. 30 afterEach(function () { 33 // This API supports only one parameter: clear action function. 35 afterAll(function () { [all …]
|
/test/xts/acts/ability/crossplatform/ability_runtime/ActsCrossplatformAbilityTest/src/main/ets/test/ |
D | Ability.test.ets | 26 export default function abilityTest() { 27 describe("ActsAbilityTest", function () { 28 // Defines a test suite. Two parameters are supported: test suite name and test suite function. 29 beforeAll(function () { 31 // This API supports only one parameter: preset action function. 33 beforeEach(function () { 36 // This API supports only one parameter: preset action function. 38 afterEach(function () { 41 // This API supports only one parameter: clear action function. 43 afterAll(function () { [all …]
|
/test/xts/acts/arkui/ace_ets_web_napis/entry/src/ohosTest/ets/test/ |
D | Ability.test.ets | 18 export default function abilityTest() { 19 describe('ActsAbilityTest', function () { 20 // Defines a test suite. Two parameters are supported: test suite name and test suite function. 21 beforeAll(function () { 23 // This API supports only one parameter: preset action function. 25 beforeEach(function () { 28 // This API supports only one parameter: preset action function. 30 afterEach(function () { 33 // This API supports only one parameter: clear action function. 35 afterAll(function () { [all …]
|
/test/xts/acts/arkui/ace_napi_test/entry/src/main/ets/test/ |
D | NativeApiStringTest.ets | 22 export default function nativeApiStringJsunit() { 24 describe('napiStringTest', function () { 29 async function sleep(time) { 42 afterEach(async function () { 52 it('napiStringTest001', 0, async function (done) { 65 it('napiCreateArrayBuffer002', 0, async function (done) { 78 it('napiGetArrayBufferInfo003', 0, async function (done) { 91 it('napiCreateFunction004', 0, async function (done) { 106 it('napiDefineClass005', 0, async function (done) { 119 it('napiCancelAsyncWork006', 0, async function (done) { [all …]
|
D | NativeApiObjectTest.ets | 21 function deepStrictEqualOfArray(obj1, obj2) { 34 function deepStrictEqualOfObject(obj1, obj2) { 41 function addSeal() { 48 function deleteSeal() { 55 function assignFreeze() { 62 function addFreeze() { 69 function deleteFreeze() { 78 function createObject() { 114 export default function npiObjectTest() { 116 describe('npiObjectTest', function () { [all …]
|
/test/xts/acts/multimedia/image/image_js_standard/imageColorSpaceTransfer/entry/src/main/ets/test/ |
D | ImageColorSpaceTransferTest.ets | 23 export default function ImageColorSpaceTransferTest() { 24 describe('ImageColorSpaceTransferTest', function () { 27 async function getFd(fileName) { 37 function Logger(caseName) { 40 log: function (msg) { 45 … async function createPixelmapTestPromise(done, testNum, colorSpace, gamma, checkColorSpace) { 78 async function createPixelmapTestCb(done, testNum, colorSpace, gamma, checkColorSpace) { 113 … async function applyColorSpacePromiseTest(done, testNum, checkColorSpace, colorSpace, gamma) { 155 async function applyColorSpaceCbTest(done, testNum, checkColorSpace, colorSpace, gamma) { 198 async function applyColorSpaceCbErrTest(done, testNum, csmModify) { [all …]
|
/test/xts/acts/notification/ans_standard/actsNotificationSystemAPITest/entry/src/main/ets/test/ |
D | ActsNotificationSystemAPITest.test.ets | 20 export default function ActsNotificationSystemAPITest() { 21 describe('SUB_NOTIFICATION_ANS_SYSTEM_API_TEST', function () { 28 * @tc.desc: test function publish takes userId 30 it('Sub_Notification_Ans_Publish_Publish_4100', 0, async function (done) { 70 * @tc.desc: test function publishAsBundle 72 it('Sub_Notification_Ans_Publish_Publish_4200', 0, async function (done) { 105 * @tc.desc: test function cancelAsBundle 107 it('Sub_Notification_Ans_Publish_Cancel_0150', 0, async function (done) { 128 * @tc.desc: test function addSlot 130 it('Sub_Notification_Ans_Slot_CreateSlot_3550', 0, async function (done) { [all …]
|
/test/xts/acts/ability/ability_runtime/abilitymultiinstance/amsabilitymultiinstancetest/entry/src/main/ets/test/ |
D | Ability.test.ets | 26 async function startAbilityProcess(abilityContext, parameters) { 91 export default function abilityTest(abilityContext) { 92 describe('ActsAbilityTest', function () { 107 setTimeout(function () { 118 it('ACTS_AbilityMultiInstance_Single_0100', 0, async function (done) { 126 function subscribeCallBack(err, data) { 146 function unSubscribeCallback() { 148 setTimeout(function () { 153 function timeout() { 175 it('ACTS_AbilityMultiInstance_Single_0200', 0, async function (done) { [all …]
|
/test/xts/acts/barrierfree/accessibilitysendaccessibilityevent/entry/src/main/ets/test/ |
D | AccessibilitySendAccessibilityEvent.test.ets | 24 export default function abilityTest() { 25 describe('AccessibilitySendAccessibilityEvent', function () { 27 beforeEach(async function (done) { 32 afterEach(async function (done) { 41 * function. The result of sendAccessibilityEvent() should be undefined. 46 …it('SUB_BASIC_BARRIERFREE_API_AccessibilitySendAccessibilityEvent_0100', 0, async function (done) { 69 … The parameter input eventType is accessibilityFocus, test the sendAccessibilityEvent() function 70 … * The function sendAccessibilityEvent in promise mode and result should be undefined. 75 …it('SUB_BASIC_BARRIERFREE_API_AccessibilitySendAccessibilityEvent_0200', 0, async function (done) { 98 * function. The result of sendAccessibilityEvent() should be undefined. [all …]
|
/test/xts/acts/communication/wifi_ets_standard/src/main/ets/test/ |
D | WifiManagerSTA.test.ets | 18 export default function wifiSta() { 20 describe('wifiSta', function () { 21 function sleep(delay) { 25 async function tryToEnableWifi(){ 32 async function tryToDisConnWifi(){ 48 beforeAll(async function (done) { 53 beforeEach(function() {}) 55 afterEach(function() {}) 57 afterAll(async function (done){ 68 it('SUB_Communication_WiFi_XTS_Sta_0034', 0, async function(done) {
|