提交 9d09b20c 编写于 作者: E e

修改用例

Signed-off-by: Ne <qianwangdq@isoftstone.com>
上级 631ce63b
......@@ -35,7 +35,6 @@ struct AlignSpaceEvenly_AddAllSpace {
@State justifyContent: FlexAlign = FlexAlign.SpaceEvenly
build() {
Column() {
Text('justifyContent:FlexAlign.SpaceEvenly').fontSize(9).fontColor(0xCCCCCC).width('90%')
Flex({ justifyContent: this.justifyContent, direction: FlexDirection.Row }) {
Text('1').width(150).height(50).backgroundColor(0xF5DEB3).key("SpaceEvenly_AddAllSpace_011")
Text('2').width(150).height(100).backgroundColor(0xD2B48C).key("SpaceEvenly_AddAllSpace_012")
......
......@@ -35,7 +35,6 @@ struct AlignSpaceEvenly_AddMargin {
@State justifyContent: FlexAlign = FlexAlign.SpaceEvenly
build() {
Column() {
Text('justifyContent:FlexAlign.SpaceEvenly').fontSize(9).fontColor(0xCCCCCC).width('90%')
Flex({ justifyContent: this.justifyContent, direction: FlexDirection.Row }) {
Text('1').width(150).height(50).backgroundColor(0xF5DEB3).key("SpaceEvenly_AddMargin_011")
Text('2').width(150).height(100).backgroundColor(0xD2B48C).key("SpaceEvenly_AddMargin_012")
......
......@@ -35,7 +35,6 @@ struct AlignSpaceEvenly_AddOneMargin {
@State justifyContent: FlexAlign = FlexAlign.SpaceEvenly
build() {
Column() {
Text('justifyContent:FlexAlign.SpaceEvenly').fontSize(9).fontColor(0xCCCCCC).width('90%')
Flex({ justifyContent: this.justifyContent, direction: FlexDirection.Row }) {
Text('1')
.width(150)
......
......@@ -17,7 +17,7 @@ import {MessageManager,Callback} from './../../../../common/MessageManager';
@Entry
@Component
struct AlignSpaceEvenly_AddVisibility {
@State OneVisibility: number = Visibility.None;
@State OneVisibility: number = Visibility.Visible;
messageManager:MessageManager = new MessageManager()
onPageShow() {
console.info('AlignSpaceEvenly_AddVisibility onPageShow');
......
......@@ -48,7 +48,7 @@ export default function AlignSpaceEvenly_AddAlign() {
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0800
* @tc.name Align_SpaceEvenly_Row_AddAlign
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc Setting generic properties does not take effect, and owned properties take precedence
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0800', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0800] START');
......
......@@ -48,7 +48,8 @@ export default function AlignSpaceEvenly_AddAllSpace() {
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0600
* @tc.name Align_SpaceEvenly_Row_AddAllSpace
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc After setting margin, after subtracting the padding from the layout space of the parent component,
* the interface display of the spindle layout that does not meet the sub-component
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0600', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0600] START');
......@@ -71,6 +72,7 @@ export default function AlignSpaceEvenly_AddAllSpace() {
expect(SpaceEvenly_AddAllSpace_011.left - SpaceEvenly_AddAllSpace_01.left).assertEqual(vp2px(30));
expect(SpaceEvenly_AddAllSpace_012.left).assertEqual(SpaceEvenly_AddAllSpace_011.right);
expect(SpaceEvenly_AddAllSpace_013.left).assertEqual(SpaceEvenly_AddAllSpace_012.right);
expect(SpaceEvenly_AddAllSpace_01.left - SpaceEvenly_AddAllSpace_01_Box.left ).assertEqual(vp2px(10));
expect(SpaceEvenly_AddAllSpace_01.top - SpaceEvenly_AddAllSpace_01_Box.top).assertEqual(vp2px(10));
expect(SpaceEvenly_AddAllSpace_011.bottom - SpaceEvenly_AddAllSpace_011.top).assertEqual(vp2px(50));
expect(SpaceEvenly_AddAllSpace_012.bottom - SpaceEvenly_AddAllSpace_012.top).assertEqual(vp2px(100));
......@@ -84,7 +86,8 @@ export default function AlignSpaceEvenly_AddAllSpace() {
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0700
* @tc.name Align_SpaceEvenly_Row_AddAllSpace
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc After setting margin, the interface that satisfies the spindle layout of the child component is
* displayed after subtracting the padding from the layout space of the parent component
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0700', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0700] START');
......@@ -105,6 +108,7 @@ export default function AlignSpaceEvenly_AddAllSpace() {
expect(SpaceEvenly_AddAllSpace_011.top - SpaceEvenly_AddAllSpace_01.top).assertEqual(vp2px(20));
expect(SpaceEvenly_AddAllSpace_01.right - SpaceEvenly_AddAllSpace_013.right).assertEqual(vp2px(22.5));
expect(SpaceEvenly_AddAllSpace_011.left - SpaceEvenly_AddAllSpace_01.left).assertEqual(vp2px(22.5));
expect(SpaceEvenly_AddAllSpace_01.left - SpaceEvenly_AddAllSpace_01_Box.left).assertEqual(vp2px(10));
expect(SpaceEvenly_AddAllSpace_01.top - SpaceEvenly_AddAllSpace_01_Box.top).assertEqual(vp2px(10));
expect(SpaceEvenly_AddAllSpace_011.right - SpaceEvenly_AddAllSpace_011.left).assertEqual(vp2px(150));
expect(SpaceEvenly_AddAllSpace_012.right - SpaceEvenly_AddAllSpace_012.left).assertEqual(vp2px(150));
......
......@@ -48,7 +48,7 @@ export default function AlignSpaceEvenly_AddLayoutWeight() {
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1200
* @tc.name Align_SpaceEvenly_Row_AddLayoutWeight
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc The interface displays all subcomponents that set different layoutWeight properties
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1200', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1200] START');
......@@ -84,7 +84,7 @@ export default function AlignSpaceEvenly_AddLayoutWeight() {
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1300
* @tc.name Align_SpaceEvenly_Row_AddLayoutWeight
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc Some subcomponents are displayed with different layoutWeight properties
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1300', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1300] START');
......
......@@ -48,7 +48,8 @@ export default function AlignSpaceEvenly_AddMargin() {
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0500
* @tc.name Align_SpaceEvenly_Row_AddMargin
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc The interface display where the child component is offset by the margin setting of the parent
* component
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0500', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0500] START');
......@@ -68,9 +69,9 @@ export default function AlignSpaceEvenly_AddMargin() {
expect(SpaceEvenly_AddMargin_013.top).assertEqual(SpaceEvenly_AddMargin_012.top);
expect(SpaceEvenly_AddMargin_011.top).assertEqual(SpaceEvenly_AddMargin_01.top);
expect(SpaceEvenly_AddMargin_011.left - SpaceEvenly_AddMargin_01.left).assertEqual(vp2px(12.5));
expect(SpaceEvenly_AddMargin_01.right - SpaceEvenly_AddMargin_013.right).assertEqual(vp2px(12.5));
expect(SpaceEvenly_AddMargin_012.left - SpaceEvenly_AddMargin_011.right).assertEqual(vp2px(12.5));
expect(SpaceEvenly_AddMargin_013.left - SpaceEvenly_AddMargin_012.right).assertEqual(vp2px(12.5));
expect(SpaceEvenly_AddMargin_01.left - SpaceEvenly_AddMargin_01_Box.left).assertEqual(vp2px(20));
expect(SpaceEvenly_AddMargin_01.top - SpaceEvenly_AddMargin_01_Box.top).assertEqual(vp2px(20));
expect(SpaceEvenly_AddMargin_011.right - SpaceEvenly_AddMargin_011.left).assertEqual(vp2px(150));
expect(SpaceEvenly_AddMargin_012.right - SpaceEvenly_AddMargin_012.left).assertEqual(vp2px(150));
......
......@@ -48,7 +48,7 @@ export default function AlignSpaceEvenly_AddOffset() {
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0900
* @tc.name Align_SpaceEvenly_Row_AddOffset
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc The interface display of the component that sets the offset position when drawing
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0900', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0900] START');
......
......@@ -46,12 +46,13 @@ export default function AlignSpaceEvenly_AddOneMargin() {
});
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1400
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1500
* @tc.name Align_SpaceEvenly_Row_AddOneMargin
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc After setting margin for the first subcomponent, the layout of the parent component's spindle
* meets the interface display of the subcomponent's layout
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1400', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1400] START');
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1500', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1500] START');
globalThis.value.message.notify({name:'OneMargin', value:20});
await CommonFunc.sleep(3000);
let strJson = getInspectorByKey('SpaceEvenly_AddOneMargin_01');
......@@ -77,16 +78,17 @@ export default function AlignSpaceEvenly_AddOneMargin() {
expect(SpaceEvenly_AddOneMargin_011.right - SpaceEvenly_AddOneMargin_011.left).assertEqual(vp2px(150));
expect(SpaceEvenly_AddOneMargin_012.right - SpaceEvenly_AddOneMargin_012.left).assertEqual(vp2px(150));
expect(SpaceEvenly_AddOneMargin_013.right - SpaceEvenly_AddOneMargin_013.left).assertEqual(vp2px(150));
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1400] END');
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1500] END');
done();
})
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1500
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1600
* @tc.name Align_SpaceEvenly_Row_AddOneMargin
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc After setting margin for the first subcomponent, the layout of the parent component's spindle does
* not meet the interface display of the subcomponent's layout
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1500', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1500] START');
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1600', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1600] START');
globalThis.value.message.notify({name:'OneMargin', value:30});
await CommonFunc.sleep(3000);
let strJson = getInspectorByKey('SpaceEvenly_AddOneMargin_01');
......@@ -112,7 +114,7 @@ export default function AlignSpaceEvenly_AddOneMargin() {
expect(SpaceEvenly_AddOneMargin_011.right - SpaceEvenly_AddOneMargin_011.left).assertEqual(vp2px(440/3));
expect(SpaceEvenly_AddOneMargin_012.right - SpaceEvenly_AddOneMargin_012.left).assertEqual(vp2px(440/3));
expect(SpaceEvenly_AddOneMargin_013.right - SpaceEvenly_AddOneMargin_013.left).assertEqual(vp2px(440/3));
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1500] END');
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1600] END');
done();
})
})
......
......@@ -46,12 +46,12 @@ export default function AlignSpaceEvenly_AddOneWidth() {
});
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1300
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1400
* @tc.name Align_SpaceEvenly_Row_ChangeOneWidth
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc The interface is displayed when you change the spindle length (width) of the first subassembly
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1300', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1300] START');
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1400', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1400] START');
globalThis.value.message.notify({name:'OneWidth', value:160});
await CommonFunc.sleep(3000);
let strJson = getInspectorByKey('SpaceEvenly_AddOneWidth_01');
......@@ -77,7 +77,7 @@ export default function AlignSpaceEvenly_AddOneWidth() {
expect(SpaceEvenly_AddOneWidth_011.bottom - SpaceEvenly_AddOneWidth_011.top).assertEqual(vp2px(50));
expect(SpaceEvenly_AddOneWidth_012.bottom - SpaceEvenly_AddOneWidth_012.top).assertEqual(vp2px(100));
expect(SpaceEvenly_AddOneWidth_013.bottom - SpaceEvenly_AddOneWidth_013.top).assertEqual(vp2px(150));
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1300] END');
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1400] END');
done();
});
})
......
......@@ -48,7 +48,8 @@ export default function AlignSpaceEvenly_AddPadding() {
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0300
* @tc.name Align_SpaceEvenly_Row_AddPadding
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc After subtracting the padding from the parent component layout space, the interface
* display that does not meet the spindle layout of the child component
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0300', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0300] START');
......@@ -82,7 +83,8 @@ export default function AlignSpaceEvenly_AddPadding() {
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0400
* @tc.name Align_SpaceAround_Row_AddPadding
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc After subtracting the padding from the parent component layout space, the interface that
* satisfies the spindle layout of the child component is displayed
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0400', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0400] START');
......
......@@ -48,7 +48,7 @@ export default function AlignSpaceEvenly_AddVisibility() {
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1000
* @tc.name Align_SpaceEvenly_Row_AddVisibility
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc The subcomponent sets the visibility. None, the child components are hidden in the interface display
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1000', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1000] START');
......@@ -80,7 +80,8 @@ export default function AlignSpaceEvenly_AddVisibility() {
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1100
* @tc.name Align_SpaceEvenly_Row_AddVisibility
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc When the subcomponent sets visibility.hidden, the interface of the subcomponent does not occupy the
* position
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1100', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1100] START');
......@@ -114,5 +115,43 @@ export default function AlignSpaceEvenly_AddVisibility() {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1100] END');
done();
});
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1700
* @tc.name Align_SpaceEvenly_Row_AddVisibility
* @tc.desc The subcomponent sets the visibility. Visible, the subcomponent does not occupy a position in the
* interface display
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1700', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1700] START');
globalThis.value.message.notify({name:'OneVisibility',value:Visibility.Visible});
await CommonFunc.sleep(3000);
let strJson = getInspectorByKey('SpaceEvenly_AddVisibility_01');
let obj = JSON.parse(strJson);
let strJson2 = getInspectorByKey('SpaceEvenly_AddVisibility_011');
let obj2 = JSON.parse(strJson2);
expect(obj.$type).assertEqual('Flex');
expect(obj.$attrs.constructor.direction).assertEqual('FlexDirection.Row');
expect(obj.$attrs.constructor.justifyContent).assertEqual('FlexAlign.SpaceEvenly');
expect(obj2.$attrs.visibility).assertEqual("Visibility.Visible");
let SpaceEvenly_AddVisibility_011 = CommonFunc.getComponentRect('SpaceEvenly_AddVisibility_011');
let SpaceEvenly_AddVisibility_012 = CommonFunc.getComponentRect('SpaceEvenly_AddVisibility_012');
let SpaceEvenly_AddVisibility_013 = CommonFunc.getComponentRect('SpaceEvenly_AddVisibility_013');
let SpaceEvenly_AddVisibility_01 = CommonFunc.getComponentRect('SpaceEvenly_AddVisibility_01');
expect(SpaceEvenly_AddVisibility_012.top).assertEqual(SpaceEvenly_AddVisibility_013.top);
expect(SpaceEvenly_AddVisibility_012.top).assertEqual(SpaceEvenly_AddVisibility_01.top);
expect(SpaceEvenly_AddVisibility_012.top).assertEqual(SpaceEvenly_AddVisibility_011.top);
expect(SpaceEvenly_AddVisibility_011.left - SpaceEvenly_AddVisibility_01.left).assertEqual(vp2px(12.5));
expect(SpaceEvenly_AddVisibility_01.right - SpaceEvenly_AddVisibility_013.right).assertEqual(vp2px(12.5));
expect(SpaceEvenly_AddVisibility_012.left - SpaceEvenly_AddVisibility_011.right).assertEqual(vp2px(12.5));
expect(SpaceEvenly_AddVisibility_013.left - SpaceEvenly_AddVisibility_012.right).assertEqual(vp2px(12.5));
expect(SpaceEvenly_AddVisibility_011.right - SpaceEvenly_AddVisibility_011.left).assertEqual(vp2px(150));
expect(SpaceEvenly_AddVisibility_012.right - SpaceEvenly_AddVisibility_012.left).assertEqual(vp2px(150));
expect(SpaceEvenly_AddVisibility_013.right - SpaceEvenly_AddVisibility_013.left).assertEqual(vp2px(150));
expect(SpaceEvenly_AddVisibility_011.bottom - SpaceEvenly_AddVisibility_011.top ).assertEqual(vp2px(50));
expect(SpaceEvenly_AddVisibility_012.bottom - SpaceEvenly_AddVisibility_012.top ).assertEqual(vp2px(100));
expect(SpaceEvenly_AddVisibility_013.bottom - SpaceEvenly_AddVisibility_013.top ).assertEqual(vp2px(150));
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_1700] END');
done();
});
})
}
......@@ -48,7 +48,8 @@ export default function AlignSpaceEvenly_NoSpace() {
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0100
* @tc.name Align_SpaceEvenly_Row_ChangeWidth
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc The parent component layout space does not meet the interface display of the spindle layout of
* the child component
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0100', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0100] START');
......@@ -82,7 +83,8 @@ export default function AlignSpaceEvenly_NoSpace() {
/**
* @tc.number SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0200
* @tc.name Align_SpaceEvenly_Row_ChangeWidth
* @tc.desc aceFlexAlignSpaceEvenlyTest
* @tc.desc The interface display where the parent component layout space satisfies the spindle layout of
* the child component
*/
it('SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0200', 0, async function (done) {
console.info('[SUB_ACE_FLEX_JUSTIFYCONTENT_FLEXALIGN_SPACEEVENLY_TEST_0200] START');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册