提交 492b5900 编写于 作者: I inter515

仅page类型ability可以配置orientation

Signed-off-by: Ninter515 <ry.renyi@huawei.com>
上级 b6ee0af4
...@@ -1141,6 +1141,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -1141,6 +1141,7 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.name).assertEqual("com.example.myapplication.MainAbility"); expect(datainfo.name).assertEqual("com.example.myapplication.MainAbility");
expect(datainfo.type).assertEqual(demo.AbilityType.DATA); expect(datainfo.type).assertEqual(demo.AbilityType.DATA);
expect(datainfo.bundleName).assertEqual(NAME4); expect(datainfo.bundleName).assertEqual(NAME4);
expect(datainfo.orientation).assertEqual(demo.DisplayOrientation.UNSPECIFIED);
queryResultCount++; queryResultCount++;
} }
if (datainfo.bundleName == NAME5) { if (datainfo.bundleName == NAME5) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册