提交 f5053d4d 编写于 作者: L liuhaonan2

<liuhaonan8@huawei.com>

Signed-off-by: Nliuhaonan2 <liuhaonan8@huawei.com>
上级 7668f8e8
...@@ -30,7 +30,7 @@ describe('DeviceStatusUnitTest', function () { ...@@ -30,7 +30,7 @@ describe('DeviceStatusUnitTest', function () {
it('msdp_test_devices_status_001', 0, function (done) { it('msdp_test_devices_status_001', 0, function (done) {
console.log("msdp_test_devices_status_001 start"); console.log("msdp_test_devices_status_001 start");
try { try {
stationary.on("highStill", ActivityEvent.ENTER_EXIT, 1, (data) => { stationary.on("still", ActivityEvent.ENTER_EXIT, 1, (data) => {
expect(data.state == -1).assertTrue(); expect(data.state == -1).assertTrue();
done(); done();
}) })
...@@ -50,7 +50,7 @@ describe('DeviceStatusUnitTest', function () { ...@@ -50,7 +50,7 @@ describe('DeviceStatusUnitTest', function () {
it('msdp_test_devices_status_002', 0, function (done) { it('msdp_test_devices_status_002', 0, function (done) {
console.log("msdp_test_devices_status_002 start"); console.log("msdp_test_devices_status_002 start");
try { try {
stationary.off("highStill", ActivityEvent.ENTER_EXIT, (data) => { stationary.off("still", ActivityEvent.ENTER_EXIT, (data) => {
expect(data.state == -1).assertTrue(); expect(data.state == -1).assertTrue();
done(); done();
}) })
...@@ -70,7 +70,7 @@ describe('DeviceStatusUnitTest', function () { ...@@ -70,7 +70,7 @@ describe('DeviceStatusUnitTest', function () {
it('msdp_test_devices_status_003', 0, function (done) { it('msdp_test_devices_status_003', 0, function (done) {
console.log("msdp_test_devices_status_003 start"); console.log("msdp_test_devices_status_003 start");
try { try {
stationary.once("highStill", (data) => { stationary.once("still", (data) => {
expect(data.state == -1).assertTrue(); expect(data.state == -1).assertTrue();
done(); done();
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册