提交 362fb45e 编写于 作者: I inter515

新增api覆盖

Signed-off-by: Ninter515 <ry.renyi@huawei.com>
上级 a0497577
......@@ -416,6 +416,7 @@ export default function applicationBundleJsunit() {
expect(applicationInfo.descriptionResource.bundleName).assertEqual('com.open.harmony.packagemag')
expect(applicationInfo.descriptionResource.moduleName).assertEqual('entry')
expect(applicationInfo.descriptionResource.id).assertLarger(0)
expect(applicationInfo.appProvisionType).assertEqual('release')
done();
}).catch((err) => {
expect(err).assertFail();
......
......@@ -32,18 +32,18 @@ const ABILITY_NAME_TEST_10 = "MainAbility10"
const ABILITY_NAME_TEST_11 = "MainAbility11"
const ABILITY_NAME_TEST_12 = "MainAbility12"
const ORIENTATION = "orientation"
const UNSPECIFIED = 0
const LANDSCAPE = 1
const PORTRAIT = 2
const LANDSCAPE_INVERTED = 4
const PORTRAIT_INVERTED = 5
const AUTO_ROTATION = 6
const AUTO_ROTATION_LANDSCAPE = 7
const AUTO_ROTATION_PORTRAIT = 8
const AUTO_ROTATION_RESTRICTED = 9
const AUTO_ROTATION_LANDSCAPE_RESTRICTED = 10
const AUTO_ROTATION_PORTRAIT_RESTRICTED = 11
const LOCKED = 12
const UNSPECIFIED = bundle.DisplayOrientation.UNSPECIFIED
const LANDSCAPE = bundle.DisplayOrientation.LANDSCAPE
const PORTRAIT = bundle.DisplayOrientation.PORTRAIT
const LANDSCAPE_INVERTED = bundle.DisplayOrientation.LANDSCAPE_INVERTED
const PORTRAIT_INVERTED = bundle.DisplayOrientation.PORTRAIT_INVERTED
const AUTO_ROTATION = bundle.DisplayOrientation.AUTO_ROTATION
const AUTO_ROTATION_LANDSCAPE = bundle.DisplayOrientation.AUTO_ROTATION_LANDSCAPE
const AUTO_ROTATION_PORTRAIT = bundle.DisplayOrientation.AUTO_ROTATION_PORTRAIT
const AUTO_ROTATION_RESTRICTED = bundle.DisplayOrientation.AUTO_ROTATION_RESTRICTED
const AUTO_ROTATION_LANDSCAPE_RESTRICTED = bundle.DisplayOrientation.AUTO_ROTATION_LANDSCAPE_RESTRICTED
const AUTO_ROTATION_PORTRAIT_RESTRICTED = bundle.DisplayOrientation.AUTO_ROTATION_PORTRAIT_RESTRICTED
const LOCKED = bundle.DisplayOrientation.LOCKED
const DEFAULT_VALUE = 0
const MAX_WINDOW_RATIO_VALUE = 3.5
const MIN_WINDOW_RATIO_VALUE = 0.5
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册