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