提交 3b943b65 编写于 作者: S shenchunping 提交者: wanggang

add test cases

Signed-off-by: Nshenchunping <shenchunping@kaihongdigi.com>
上级 ccda3bad
...@@ -304,7 +304,7 @@ describe('gridContainerPropsJsTest', function () { ...@@ -304,7 +304,7 @@ describe('gridContainerPropsJsTest', function () {
expect(obj.$type).assertEqual('grid-container') expect(obj.$type).assertEqual('grid-container')
expect(obj.$attrs.id).assertEqual('dataProp') expect(obj.$attrs.id).assertEqual('dataProp')
expect(obj.$attrs.datagridContainer).assertEqual(undefined); expect(obj.$attrs.datagridContainer).assertEqual(undefined);
console.info("[gridContainerProps] get datagridContainer value is: " + JSON.stringify(obj.$attrs.datagridContainer)); console.info("[gridConProp] get data value is: " + JSON.stringify(obj.$attrs.datagridContainer));
done(); done();
}); });
...@@ -324,7 +324,7 @@ describe('gridContainerPropsJsTest', function () { ...@@ -324,7 +324,7 @@ describe('gridContainerPropsJsTest', function () {
expect(obj.$type).assertEqual('grid-container') expect(obj.$type).assertEqual('grid-container')
expect(obj.$attrs.id).assertEqual('dataPropNone') expect(obj.$attrs.id).assertEqual('dataPropNone')
expect(obj.$attrs.datagridContainer).assertEqual(undefined) expect(obj.$attrs.datagridContainer).assertEqual(undefined)
console.info("[gridContainerProps] get datagridContainer value is: " + JSON.stringify(obj.$attrs.datagridContainer)); console.info("[gridConProp] get data value is: " + JSON.stringify(obj.$attrs.datagridContainer));
done(); done();
}); });
...@@ -760,6 +760,7 @@ describe('gridContainerPropsJsTest', function () { ...@@ -760,6 +760,7 @@ describe('gridContainerPropsJsTest', function () {
console.info("[gridContainerProps] get size value is: " + JSON.stringify(obj.$attrs.sizetype)); console.info("[gridContainerProps] get size value is: " + JSON.stringify(obj.$attrs.sizetype));
done(); done();
}); });
/** /**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testgridContainerShowPropNone * @tc.name testgridContainerShowPropNone
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册