未验证 提交 71d512af 编写于 作者: O openharmony_ci 提交者: Gitee

!3627 modified testsuites

Merge pull request !3627 from jiyong/20220620_release_0001
......@@ -17,7 +17,7 @@ import bundle from '@ohos.bundle'
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'
const ERR_OS_ACCOUNT_SERVICE_MANAGER_BAD_UID_ERR = 4653057;
describe('ActsOsAccountThirdPartyTest', function () {
describe('ActsOsAccountThirdPartyTest_third1', function () {
/*
* @tc.number : ActsOsAccountGetIdFormUid_0100
......
......@@ -19,7 +19,7 @@ import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from '
const TIMEOUT = 1000;
const ERR_OSACCOUNT_KIT_IS_OS_ACCOUNT_ACTIVED_ERROR = 4587542;
const ERR_OSACCOUNT_KIT_IS_OS_ACCOUNT_VERIFIED_ERROR = 4587545;
describe('ActsOsAccountThirdPartyTest', function () {
describe('ActsOsAccountThirdPartyTest_third2', function () {
/*
* @tc.number : ActsOsAccountDeviceId_0100
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter'
import Utils from './Utils.ets';
export default function borderJsunit() {
describe('borderTest', function () {
describe('borderTest_five_1', function () {
beforeEach(async function (done) {
console.info("border beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils.ets';
export default function colorGradientJsunit() {
describe('borderTest', function () {
describe('borderTest_five_2', function () {
beforeEach(async function (done) {
console.info("colorGradient beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function ohosMatrix4Jsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_five_1', function () {
beforeEach(async function (done) {
console.info("ohosMatrix4 beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils.ets';
export default function positionSettingJsunit() {
describe('borderTest', function () {
describe('borderTest_five_3', function () {
beforeEach(async function (done) {
console.info("positionSetting beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function selectJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_five_2', function () {
beforeEach(async function (done) {
let options = {
uri: 'pages/select',
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils.ets';
export default function shapeClippingJsunit() {
describe('borderTest', function () {
describe('borderTest_five_4', function () {
beforeEach(async function (done) {
console.info("shapeClipping beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function sliderJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_five_3', function () {
beforeEach(async function (done) {
let options = {
uri: 'pages/slider',
......
......@@ -18,7 +18,7 @@ import router from '@system.router';
import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function transFormJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_five_4', function () {
beforeEach(async function (done) {
console.info("transForm beforeEach start");
let options = {
......
......@@ -18,7 +18,7 @@ import router from '@system.router';
import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function visibilityJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_five_5', function () {
beforeEach(async function (done) {
console.info("visibility beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter'
import Utils from './Utils';
export default function focusJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_four_8', function () {
beforeEach(async function (done) {
console.info("focus beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function ohosPromptJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_four_10', function () {
beforeEach(async function (done) {
console.info("OhosPrompt beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter'
import Utils from './Utils';
export default function enableJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_four_11', function () {
beforeEach(async function (done) {
console.info("path beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter'
import Utils from './Utils';
export default function patternLockJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_four_12', function () {
beforeEach(async function (done) {
console.info("patternLock beforeEach start");
let options = {
......
......@@ -18,7 +18,7 @@ import router from '@system.router';
import Utils from './Utils';
export default function polygonJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_four_9', function () {
beforeEach(async function (done) {
console.info("polygon beforeEach start");
let options = {
......
......@@ -18,7 +18,7 @@ import router from '@system.router';
import Utils from './Utils';
export default function polylineJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_four_6', function () {
beforeEach(async function (done) {
console.info("polyline beforeEach start");
let options = {
......
......@@ -18,7 +18,7 @@ import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "
import app from '@system.app';
export default function systemAppJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_four_3', function () {
it('systemAppTest_0100', 0, async function (done) {
console.info('systemAppTest_0100 START');
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function textAreaJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_four_4', function () {
beforeEach(async function (done) {
console.info("textArea beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function textClockJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_four_2', function () {
beforeEach(async function (done) {
console.info("text beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function textInputJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_four_7', function () {
beforeEach(async function (done) {
console.info("textInput beforeEach start");
let options = {
......
......@@ -18,7 +18,7 @@ import router from '@system.router';
import Utils from './Utils';
export default function textPickerJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_four_5', function () {
beforeEach(async function (done) {
console.info("button beforeEach start");
let options = {
......
......@@ -18,7 +18,7 @@ import router from '@system.router';
import Utils from './Utils';
export default function textTimerJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_four_1', function () {
beforeEach(async function (done) {
console.info("textTimer beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function transFormJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_two_1', function () {
beforeEach(async function (done) {
console.info("prompt beforeEach start");
let options = {
......
......@@ -18,7 +18,7 @@ import router from '@system.router';
import Utils from './Utils';
export default function curvesJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_two_2', function () {
beforeEach(async function (done) {
console.info("curves beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function datePickerJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_two_3', function () {
beforeEach(async function (done) {
let options = {
uri: 'pages/datePicker',
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function flexWrapJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_two_4', function () {
beforeEach(async function (done) {
console.info("text beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function navigationJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_two_10', function () {
beforeEach(async function (done) {
console.info("navigation beforeEach start");
let options = {
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function pieceJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_two_5', function () {
beforeEach(async function (done) {
let options = {
uri: 'pages/PieceCode',
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function scrollBarJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_two_6', function () {
beforeEach(async function (done) {
let options = {
uri: 'pages/scrollBar',
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils';
export default function searchJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_two_7', function () {
beforeEach(async function (done) {
let options = {
uri: 'pages/search',
......
......@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
import Utils from './Utils.ets';
export default function sourceTypeJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_two_8', function () {
beforeEach(async function (done) {
console.info("sourceType beforeEach start");
let options = {
......
......@@ -18,7 +18,7 @@ import router from '@system.router';
import Utils from './Utils';
export default function transFormJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_two_9', function () {
beforeEach(async function (done) {
console.info("prompt beforeEach start");
let options = {
......
......@@ -31,7 +31,7 @@ let userId = 0;
export default function applicationBundleJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_bms1', function () {
beforeAll(async function (done) {
await account.getAccountManager().getOsAccountLocalIdFromProcess().then(account => {
......
......@@ -36,7 +36,7 @@ let userId = 0;
export default function applicationBundleJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_bms2', function () {
beforeAll(async function (done) {
await account.getAccountManager().getOsAccountLocalIdFromProcess().then(account => {
......
......@@ -41,7 +41,7 @@ let MajorClass = {
}
describe('bluetoothhostTest', function() {
describe('bluetoothhostTest_ble1', function() {
let gattServer = null;
let gattClient = null;
......
......@@ -107,7 +107,7 @@ let MajorMinorClass = {
};
describe('bluetoothhostTest', function() {
describe('bluetoothhostTest_on1', function() {
let gattServer = null;
let gattClient = null;
......
......@@ -62,7 +62,7 @@ function off(OFF_VALUE_TEST_ELEMENT) {
}
describe('bluetoothhostTest', function () {
describe('bluetoothhostTest_host1', function () {
beforeAll(function () {
console.info('beforeAll called')
})
......
......@@ -54,7 +54,7 @@ function off(OFF_VALUE_TEST_ELEMENT) {
});
}
describe('bluetoothhostTest', function () {
describe('bluetoothhostTest_host2', function () {
beforeAll(function () {
console.info('beforeAll called')
})
......
......@@ -38,7 +38,7 @@ let Btname = {
+'345678901234567890123456789012345678901234567890123456789012367890123456789012345568'
}
describe('bluetoothhostTest', function() {
describe('bluetoothhostTest_standard1', function() {
beforeAll(function () {
console.info('beforeAll called')
......
......@@ -25,7 +25,7 @@ const STORE_CONFIG = {
var rdbStore = undefined;
describe('rdbStoreInsertTest', function () {
describe('rdbStoreInsertTest_test3', function () {
beforeAll(async function () {
console.info(TAG + 'beforeAll')
rdbStore = await dataRdb.getRdbStore(STORE_CONFIG, 1);
......
......@@ -23,7 +23,7 @@ const STORE_CONFIG = {
}
var rdbStore = undefined;
describe('rdbStoreInsertTest', function () {
describe('rdbStoreInsertTest_test2', function () {
beforeAll(async function () {
console.info(TAG + 'beforeAll')
rdbStore = await dataRdb.getRdbStore(STORE_CONFIG, 1);
......
......@@ -25,7 +25,7 @@ const STORE_CONFIG = {
var rdbStore = undefined;
describe('rdbStoreInsertTest', function () {
describe('rdbStoreInsertTest_test1', function () {
beforeAll(function () {
console.info(TAG + 'beforeAll')
})
......
......@@ -23,7 +23,7 @@ const KEY_TEST_BOOLEAN_ELEMENT = 'key_test_boolean';
const KEY_TEST_STRING_ELEMENT = 'key_test_string';
var mPref;
describe('storageTest', function () {
describe('storageTest_test4', function () {
beforeAll(function () {
console.info('beforeAll')
mPref = storage.getStorageSync(PATH);
......
......@@ -19,7 +19,7 @@ import storage from '@ohos.data.storage'
const PATH = '/data/test_storage';
var mPref;
describe('storageTest', function () {
describe('storageTest_test3', function () {
beforeAll(function () {
console.info('beforeAll')
mPref = storage.getStorageSync(PATH);
......
......@@ -23,7 +23,7 @@ const KEY_TEST_BOOLEAN_ELEMENT = 'key_test_boolean';
const KEY_TEST_STRING_ELEMENT = 'key_test_string';
var mPref;
describe('storageTest', function () {
describe('storageTest_test2', function () {
beforeAll(function () {
console.info('beforeAll')
mPref = storage.getStorageSync(PATH);
......
......@@ -24,7 +24,7 @@ const KEY_TEST_STRING_ELEMENT = 'key_test_string';
var mPref;
describe('storageTest', function () {
describe('storageTest_test1', function () {
beforeAll(function() {
console.info('beforeAll')
mPref = storage.getStorageSync(PATH);
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl2', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl3', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl4', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl5', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl6', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl7', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl8', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl9', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl10', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl11', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl12', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl13', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl14', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl15', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl16', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -25,7 +25,7 @@ import {
expect
} from 'deccjsunit/index'
describe('webgl1Test', function() {
describe('webgl1Test_webgl1', function() {
console.info('webgltest start');
var gl;
var gl2;
......
......@@ -73,7 +73,7 @@ async function applyPermission() {
}
}
describe('geolocationTest', function () {
describe('geolocationTest_geo1', function () {
let data = {
title: "",
locationChange: null,
......
......@@ -70,7 +70,7 @@ async function applyPermission() {
}
}
describe('geolocationTest', function () {
describe('geolocationTest_geo2', function () {
beforeAll(async function (done) {
console.info('beforeAll case');
await applyPermission();
......
......@@ -79,7 +79,7 @@ async function applyPermission() {
}
}
describe('geolocationTest', function () {
describe('geolocationTest_geo3', function () {
let data = {
title: "",
locationChange: null,
......
......@@ -20,7 +20,7 @@ import router from '@system.router';
import events_emitter from '@ohos.events.emitter';
export default function inputMethodEngineJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_input1', function () {
var mKeyboardDelegate = null;
var inputMethodEngineObject = inputMethodEngine.getInputMethodEngine();
var textInputClient = null;
......
......@@ -17,7 +17,7 @@ import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "
import inputmeth from '@ohos.inputmethod';
export default function settingUiJsunit() {
describe('appInfoTest', function () {
describe('appInfoTest_input2', function () {
console.log("************* settings Test start*************");
it('inputmethoh_test_001', 0, async function (done) {
let inputMethodSetting = inputmeth.getInputMethodSetting();
......
......@@ -18,7 +18,7 @@ import fileio from '@ohos.fileio';
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index';
describe('audioManger', function () {
describe('audioManger_audio1', function () {
console.info('AudioFrameworkTest: Create AudioManger Object JS Framework');
const audioManager = audio.getAudioManager();
var deviceRoleValue = null;
......
......@@ -17,7 +17,7 @@ import audio from '@ohos.multimedia.audio';
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index';
describe('audioManger', function () {
describe('audioManger_audio2', function () {
console.info('AudioFrameworkTest: Create AudioManger Object JS Framework');
const audioManager = audio.getAudioManager();
var deviceRoleValue = null;
......
......@@ -23,7 +23,7 @@ import ability_featureAbility from '@ohos.ability.featureAbility';
import resourceManager from '@ohos.resourceManager';
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index';
describe('audioRenderer', function () {
describe('audioRenderer_audo1', function () {
let fdRead;
let readpath;
......
......@@ -24,7 +24,7 @@ import featureAbility from '@ohos.ability.featureAbility'
import resourceManager from '@ohos.resourceManager';
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index';
describe('audioRenderer', function () {
describe('audioRenderer_audo2', function () {
var mediaDir;
let fdRead;
let readpath;
......
......@@ -19,7 +19,7 @@ import batteryInfo from '@ohos.batteryInfo';
import brightness from '@ohos.brightness';
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe('appInfoTest', function () {
describe('appInfoTest_battery1', function () {
console.log("*************Battery Unit Test Begin*************");
/**
......
......@@ -21,7 +21,7 @@ import '@ohos.permission.RUNNING_LOCK'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe('appInfoTest', function () {
describe('appInfoTest_battery3', function () {
console.log("*************Power Unit Test Begin*************");
//createRunningLock(name: string, type: RunningLockType): Promise<RunningLock>
it('create_running_lock_promise_test', 0, async function (done) {
......
......@@ -21,7 +21,7 @@ import '@ohos.permission.RUNNING_LOCK'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe('appInfoTest', function () {
describe('appInfoTest_battery2', function () {
console.log("*************Power Unit Test Begin*************");
it('power_reboot_device_test', 0, function () {//rebootDevice(reason: string): void
power.rebootDevice("power_js_test_reboot");
......
......@@ -39,7 +39,7 @@ function completeFunc(tag) {
console.log(tag + ": The device information is obtained successfully.");
}
describe('appInfoTest', function () {
describe('appInfoTest_battery4', function () {
console.log("*************System Battery Unit Test Begin*************");
/**
......
......@@ -28,7 +28,7 @@ function sleep(time){
return new Promise((resolve) => setTimeout(resolve, time));
}
describe('appInfoTest', function () {
describe('appInfoTest_doisplay1', function () {
console.log("*************System SystemDisplay Unit Test Begin*************");
/**
......
......@@ -18,7 +18,7 @@ import '@ohos.permission.RUNNING_LOCK'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe('appInfoTest', function () {
describe('appInfoTest_power1', function () {
console.log("*************RunningLock Unit Test Begin*************");
/**
......
......@@ -15,7 +15,7 @@
import commonEvent from '@ohos.commonEvent';
import thermal from "@ohos.thermal"
describe('appInfoTest', function () {
describe('appInfoTest_thermal1', function () {
console.log("*************Thermal commonEvent Test Begin*************");
/**
......
......@@ -16,7 +16,7 @@
import thermal from "@ohos.thermal"
import { describe, it, expect } from 'deccjsunit/index';
describe('appInfoTest', function () {
describe('appInfoTest_thermal2', function () {
console.log("*************Thermal Performance Test Begin*************");
performanceTest1();
performanceTest2();
......
......@@ -19,7 +19,7 @@ import thermal from "@ohos.thermal"
import ThermalLevel from "@ohos.thermal"
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe('appInfoTest', function () {
describe('appInfoTest_thermal3', function () {
console.log("*************Thermal API Test Begin*************");
test1();
test2();
......
......@@ -19,7 +19,7 @@ import ThermalLevel from "@ohos.thermal"
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
const MSEC_1000 = 1000;
describe('appInfoTest', function () {
describe('appInfoTest_thermal4', function () {
console.log("*************Thermal API Test Begin*************");
test14();
test15();
......
......@@ -16,7 +16,7 @@ import vibrator from '@ohos.vibrator'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("VibratorJsTest", function () {
describe("VibratorJsTest_miscdevice2", function () {
beforeAll(function () {
/*
......
......@@ -15,7 +15,7 @@
import vibrator from '@system.vibrator';
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("VibratorJsTest", function () {
describe("VibratorJsTest_miscdevice1", function () {
beforeAll(function () {
/*
......
......@@ -15,7 +15,7 @@
import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor1", function () {
function callback(data) {
console.info("callback" + JSON.stringify(data));
expect(typeof (data.x)).assertEqual("number");
......
......@@ -15,7 +15,7 @@
import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor3", function () {
function callback(data) {
console.info("callback" + JSON.stringify(data));
expect(typeof (data.x)).assertEqual("number");
......
......@@ -15,7 +15,7 @@
import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor4", function () {
function callback(data) {
console.info("callback" + JSON.stringify(data));
expect(typeof (data.status)).assertEqual("number");
......
......@@ -16,7 +16,7 @@ import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor5", function () {
beforeAll(function () {
/*
......
......@@ -16,7 +16,7 @@ import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor6", function () {
beforeAll(function () {
/*
......
......@@ -16,7 +16,7 @@ import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor8", function () {
beforeAll(function () {
/*
......
......@@ -16,7 +16,7 @@ import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor7", function () {
beforeAll(function () {
/*
......
......@@ -16,7 +16,7 @@ import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor9", function () {
beforeAll(function () {
/*
......
......@@ -16,7 +16,7 @@ import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor10", function () {
beforeAll(function () {
/*
......
......@@ -16,7 +16,7 @@ import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor11", function () {
beforeAll(function () {
/*
......
......@@ -16,7 +16,7 @@ import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor13", function () {
beforeAll(function () {
/*
......
......@@ -16,7 +16,7 @@ import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor12", function () {
beforeAll(function () {
/*
......
......@@ -16,7 +16,7 @@ import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor14", function () {
beforeAll(function () {
/*
......
......@@ -16,7 +16,7 @@ import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor15", function () {
beforeAll(function () {
/*
......
......@@ -16,7 +16,7 @@ import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor16", function () {
beforeAll(function () {
/*
......
......@@ -16,7 +16,7 @@ import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
describe("SensorJsTest", function () {
describe("SensorJsTest_sensor17", function () {
beforeAll(function () {
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册