提交 26fe8505 编写于 作者: Y ywx1211260

revise_file_18

Signed-off-by: Nywx1211260 <yupeng78@huawei-partners.com>
上级 5b2698a9
......@@ -92,7 +92,7 @@ export default function alphabetIndexerOnSelectJsunit() {
console.info("[testalphabetIndexerColor0003] component fontSize strJson:" + strJson);
let obj = JSON.parse(strJson);
expect(obj.$type).assertEqual('AlphabetIndexer');
expect(obj.$attrs.color).assertEqual(undefined);
expect(obj.$attrs.color).assertEqual('#FFFF0000');
console.info("[testalphabetIndexerColor0003] color value :" + obj.$attrs.color);
done();
});
......
......@@ -66,12 +66,12 @@ export default function imageJsunit() {
let obj = JSON.parse(strJson);
console.info("imageTest_0200 obj.$attrs.src is: " + obj.$attrs.src);
console.info("imageTest_0200 obj.obj.$type is: " + obj.$type);
var res = obj.$attrs.src.indexOf('rawfile/test.png');
var res = obj.$attrs.src.indexOf('RAWFILE/test.png');
console.info("imageTest_0200 result is: " + res);
var sres = obj.$attrs.src.slice(res, res + 16);
console.info("imageTest_0200 slice result is: " + sres);
expect(obj.$type).assertEqual('Image');
expect(obj.$attrs.src.slice(res, res + 16)).assertEqual('rawfile/test.png');
expect(obj.$attrs.src.slice(res, res + 16)).assertEqual('RAWFILE/test.png');
console.info('imageTest_0200 END');
done();
});
......
......@@ -66,7 +66,7 @@ struct ButtonExample {
Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Start, justifyContent: FlexAlign.SpaceBetween }) {
Button('Ok', { type: this.buttonTypeValue, stateEffect: true })
.borderRadius(8).backgroundColor(0x317aff).width(90).key('button')
Button('ok').type(`${this.buttonTypeValue}`).key('button1')
Button('ok').type(this.buttonTypeValue).key('button1')
.backgroundColor(0x317aff).width(90)
Button('ok')
.type(this.buttonTypeValue)
......
......@@ -5,7 +5,9 @@
"test-timeout": "700000",
"bundle-name": "com.open.harmony.acetesttwo",
"package-name": "com.open.harmony.acetesttwo",
"shell-timeout": "700000"
"shell-timeout": "700000",
"testcase-timeout":"10000"
},
"kits": [
{
......
......@@ -5,7 +5,8 @@
"test-timeout": "1000000",
"shell-timeout": "1000000",
"bundle-name": "com.example.acejsapi",
"package-name": "com.example.acejsapi"
"package-name": "com.example.acejsapi",
"testcase-timeout":"10000"
},
"kits": [
{
......
......@@ -5,7 +5,8 @@
"test-timeout": "1000000",
"shell-timeout": "1000000",
"bundle-name": "com.example.acevideo",
"package-name": "com.example.acevideo"
"package-name": "com.example.acevideo",
"testcase-timeout":"10000"
},
"kits": [
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册