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

!3316 窗口接口用例修改

Merge pull request !3316 from hk_js/OpenHarmony-3.2-Beta1
...@@ -1883,7 +1883,7 @@ describe('window_test', function () { ...@@ -1883,7 +1883,7 @@ describe('window_test', function () {
*/ */
it('setScreenActiveMode_Test_001', 0, async function (done) { it('setScreenActiveMode_Test_001', 0, async function (done) {
console.log('screenshotTest setScreenActiveModeTest1 begin'); console.log('screenshotTest setScreenActiveModeTest1 begin');
screen.getAllScreen().then(src => { screen.getAllScreens().then(src => {
console.log('screenshotTest setScreenActiveModeTest1 getAllScreen src' + src); console.log('screenshotTest setScreenActiveModeTest1 getAllScreen src' + src);
expect(src[0] != null).assertTrue(); expect(src[0] != null).assertTrue();
let screenIndex = src[0]; let screenIndex = src[0];
...@@ -1909,7 +1909,7 @@ describe('window_test', function () { ...@@ -1909,7 +1909,7 @@ describe('window_test', function () {
*/ */
it('setScreenActiveMode_Test_002', 0, async function (done) { it('setScreenActiveMode_Test_002', 0, async function (done) {
console.log('screenshotTest setScreenActiveModeTest2 begin'); console.log('screenshotTest setScreenActiveModeTest2 begin');
screen.getAllScreen().then(src => { screen.getAllScreens().then(src => {
console.log('screenshotTest setScreenActiveModeTest2 getAllScreen src' + src); console.log('screenshotTest setScreenActiveModeTest2 getAllScreen src' + src);
expect(src[0] != null).assertTrue(); expect(src[0] != null).assertTrue();
let screenIndex = src[0]; let screenIndex = src[0];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册