未验证 提交 791c7e88 编写于 作者: O openharmony_ci 提交者: Gitee

!7669 【Openharmony4.0.3.2】【monthly分支】【sensor子系统】【ToC】【RK3568】【必现】修改bundle-name,p7b文件,陀螺仪用例

Merge pull request !7669 from ldy/cherry-pick-1676963247
......@@ -4,8 +4,8 @@
"type": "OHJSUnitTest",
"test-timeout": "160000",
"shell-timeout": "160000",
"bundle-name": "ohos.acts.sensors.sensor.function",
"package-name": "ohos.acts.sensors.sensor.function"
"bundle-name": "ohos.acts.sensors.miscdevice.function",
"package-name": "ohos.acts.sensors.miscdevice.function"
},
"kits": [
{
......
{
"app": {
"bundleName": "ohos.acts.sensors.sensor.function",
"bundleName": "ohos.acts.sensors.miscdevice.function",
"vendor": "example",
"version": {
"code": 1,
......@@ -13,7 +13,7 @@
},
"deviceConfig": {},
"module": {
"package": "ohos.acts.sensors.sensor.function",
"package": "ohos.acts.sensors.miscdevice.function",
"name": ".entry",
"deviceType": [
"tablet",
......
......@@ -19,6 +19,7 @@ import SensorJsTest_sensor_60 from './SensorOnOffTest.test_newSensorGeomagnetic.
import SensorJsTest_sensor_3 from './SensorOnOffTest.test_oldAccelerometer.js'
import SensorJsTest_sensor_25 from './Subscribe_subscribeAccelerometer.js'
import SensorJsTest_sensor_39 from './SensorOnOffTest.test_newAccelerometer.js'
import SensorJsTest_sensor_43 from './SensorOnOffTest.test_newGyroScope.js'
export default function testsuite() {
SensorJsTest_sensor_1()
......@@ -28,4 +29,5 @@ SystemParameterTest()
SensorJsTest_sensor_3()
SensorJsTest_sensor_25()
SensorJsTest_sensor_39()
SensorJsTest_sensor_43()
}
......@@ -15,8 +15,8 @@
import sensor from '@ohos.sensor'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect, TestType, Size, Level } from '@ohos/hypium'
export default function SensorJsTest_sensor_39() {
describe("SensorJsTest_sensor_39", function () {
export default function SensorJsTest_sensor_37() {
describe("SensorJsTest_sensor_37", function () {
function callback(data) {
console.info("callback" + JSON.stringify(data));
expect(typeof (data.x)).assertEqual("number");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册