未验证 提交 25e109b6 编写于 作者: O openharmony_ci 提交者: Gitee

!9067 【ACE子系统】修复失败用例

Merge pull request !9067 from 张立哲/master
...@@ -21,7 +21,7 @@ struct GridRow_onBreakpoint { ...@@ -21,7 +21,7 @@ struct GridRow_onBreakpoint {
build() { build() {
Column() { Column() {
Text(this.textBreakpoint).fontSize(9).fontColor(0xCCCCCC).key('textBreakpointChange') Text(this.textBreakpoint).fontSize(9).fontColor(0xCCCCCC).key('GridRowText')
GridRow({ GridRow({
columns: { xs: 1, sm: 2, md: 3, lg: 4, xl: 5, xxl: 6}, columns: { xs: 1, sm: 2, md: 3, lg: 4, xl: 5, xxl: 6},
gutter: { gutter: {
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
*/ */
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium';
import {UiComponent, UiDriver, Component, Driver, UiWindow, ON, BY, MatchPattern, DisplayRotation, ResizeDirection, WindowMode, PointerMatrix} from '@ohos.UiTest';
import router from '@ohos.router'; import router from '@ohos.router';
import CommonFunc from '../../../../MainAbility/common/Common'; import CommonFunc from '../../../../MainAbility/common/Common';
export default function GridRow_onBreakpoint() { export default function GridRow_onBreakpoint() {
...@@ -51,8 +50,8 @@ export default function GridRow_onBreakpoint() { ...@@ -51,8 +50,8 @@ export default function GridRow_onBreakpoint() {
* @tc.name testOnBreakChange * @tc.name testOnBreakChange
* @tc.desc Trigger event printing xxl * @tc.desc Trigger event printing xxl
*/ */
it('SUB_ACE_GridRowOnBreakPointChange_0100', 0, async function (done) { it('SUB_ACE_GridRow_onBreakPointChange_0100', 0, async function (done) {
console.info('SUB_ACE_GridRowOnBreakPointChange_0100 START'); console.info('SUB_ACE_GridRow_onBreakPointChange_0100 START');
await CommonFunc.sleep(2000) await CommonFunc.sleep(2000)
let Breakpoint_1 = CommonFunc.getComponentRect('GridRow_onBreakpoint001'); let Breakpoint_1 = CommonFunc.getComponentRect('GridRow_onBreakpoint001');
...@@ -65,11 +64,10 @@ export default function GridRow_onBreakpoint() { ...@@ -65,11 +64,10 @@ export default function GridRow_onBreakpoint() {
let seventhBreakpoint = CommonFunc.getComponentRect('GridRow_onBreakpoint_6'); let seventhBreakpoint = CommonFunc.getComponentRect('GridRow_onBreakpoint_6');
let gridRowBreakpointJson = getInspectorByKey('GridRow_onBreakpoint001'); let gridRowBreakpointJson = getInspectorByKey('GridRow_onBreakpoint001');
let gridRow = JSON.parse(gridRowBreakpointJson); let gridRow = JSON.parse(gridRowBreakpointJson);
let driver = await UiDriver.create() let textComponent2 = getInspectorByKey('GridRowText');
let textComponent2 = await driver.findComponent(BY.key('textBreakpointChange')); let text2 = JSON.parse(textComponent2);
let text2 = await textComponent2.getText();
expect(gridRow.$type).assertEqual('GridRow'); expect(gridRow.$type).assertEqual('GridRow');
expect(text2).assertEqual('xxl'); expect(text2.$attrs.content).assertEqual('xxl');
expect(firstBreakpoint.top).assertEqual(Breakpoint_1.top); expect(firstBreakpoint.top).assertEqual(Breakpoint_1.top);
expect(secondBreakpoint.top).assertEqual(secondBreakpoint.top); expect(secondBreakpoint.top).assertEqual(secondBreakpoint.top);
...@@ -81,7 +79,7 @@ export default function GridRow_onBreakpoint() { ...@@ -81,7 +79,7 @@ export default function GridRow_onBreakpoint() {
expect(Math.round(fourthBreakpoint.left - thirdBreakpoint.right)).assertEqual(vp2px(30)); expect(Math.round(fourthBreakpoint.left - thirdBreakpoint.right)).assertEqual(vp2px(30));
expect(Math.round(seventhBreakpoint.top - firstBreakpoint.bottom)).assertEqual(vp2px(30)); expect(Math.round(seventhBreakpoint.top - firstBreakpoint.bottom)).assertEqual(vp2px(30));
console.info('SUB_ACE_GridRowOnBreakPointChange_0100 END'); console.info('SUB_ACE_GridRow_onBreakPointChange_0100 END');
done(); done();
}); });
......
...@@ -112,7 +112,7 @@ export default function stackAlignChange() { ...@@ -112,7 +112,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopStart") expect(obj.$attrs.align).assertEqual("Alignment.TopStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Top') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart')
console.info('new testStackAlignTopStartAlignmentTop END'); console.info('new testStackAlignTopStartAlignmentTop END');
done(); done();
}); });
...@@ -148,7 +148,7 @@ export default function stackAlignChange() { ...@@ -148,7 +148,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopStart") expect(obj.$attrs.align).assertEqual("Alignment.TopStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart')
console.info('new testStackAlignTopStartAlignmentEnd END'); console.info('new testStackAlignTopStartAlignmentEnd END');
done(); done();
}); });
...@@ -184,7 +184,7 @@ export default function stackAlignChange() { ...@@ -184,7 +184,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopStart") expect(obj.$attrs.align).assertEqual("Alignment.TopStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Start') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart')
console.info('new testStackAlignTopStartAlignmentStart END'); console.info('new testStackAlignTopStartAlignmentStart END');
done(); done();
}); });
...@@ -220,7 +220,7 @@ export default function stackAlignChange() { ...@@ -220,7 +220,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopStart") expect(obj.$attrs.align).assertEqual("Alignment.TopStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Center') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart')
console.info('new testStackAlignTopStartAlignmentCenter END'); console.info('new testStackAlignTopStartAlignmentCenter END');
done(); done();
}); });
...@@ -256,7 +256,7 @@ export default function stackAlignChange() { ...@@ -256,7 +256,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopStart") expect(obj.$attrs.align).assertEqual("Alignment.TopStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.End') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart')
console.info('new testStackAlignTopStartAlignmentEnd END'); console.info('new testStackAlignTopStartAlignmentEnd END');
done(); done();
}); });
...@@ -292,7 +292,7 @@ export default function stackAlignChange() { ...@@ -292,7 +292,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopStart") expect(obj.$attrs.align).assertEqual("Alignment.TopStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart')
console.info('new testStackAlignTopStartAlignmentBottomStart END'); console.info('new testStackAlignTopStartAlignmentBottomStart END');
done(); done();
}); });
...@@ -328,7 +328,7 @@ export default function stackAlignChange() { ...@@ -328,7 +328,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopStart") expect(obj.$attrs.align).assertEqual("Alignment.TopStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart')
console.info('new testStackAlignTopStartAlignmentBottom END'); console.info('new testStackAlignTopStartAlignmentBottom END');
done(); done();
}); });
...@@ -364,7 +364,7 @@ export default function stackAlignChange() { ...@@ -364,7 +364,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopStart") expect(obj.$attrs.align).assertEqual("Alignment.TopStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart')
console.info('new testStackAlignTopStartAlignmentBottomEnd END'); console.info('new testStackAlignTopStartAlignmentBottomEnd END');
done(); done();
}); });
...@@ -400,7 +400,7 @@ export default function stackAlignChange() { ...@@ -400,7 +400,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$attrs.align).assertEqual("Alignment.Top") expect(obj.$attrs.align).assertEqual("Alignment.Top")
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.Top')
console.info('new testStackAlignTopAlignmentTopStart END'); console.info('new testStackAlignTopAlignmentTopStart END');
done(); done();
}); });
...@@ -472,7 +472,7 @@ export default function stackAlignChange() { ...@@ -472,7 +472,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Top") expect(obj.$attrs.align).assertEqual("Alignment.Top")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.Top')
console.info('new testStackAlignTopAlignmentTopEnd END'); console.info('new testStackAlignTopAlignmentTopEnd END');
done(); done();
}); });
...@@ -508,7 +508,7 @@ export default function stackAlignChange() { ...@@ -508,7 +508,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Top") expect(obj.$attrs.align).assertEqual("Alignment.Top")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Start') expect(obj.$attrs.alignContent).assertEqual('Alignment.Top')
console.info('new testStackAlignTopAlignmentStart END'); console.info('new testStackAlignTopAlignmentStart END');
done(); done();
}); });
...@@ -544,7 +544,7 @@ export default function stackAlignChange() { ...@@ -544,7 +544,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Top") expect(obj.$attrs.align).assertEqual("Alignment.Top")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Center') expect(obj.$attrs.alignContent).assertEqual('Alignment.Top')
console.info('new testStackAlignTopAlignmentCenter END'); console.info('new testStackAlignTopAlignmentCenter END');
done(); done();
}); });
...@@ -580,7 +580,7 @@ export default function stackAlignChange() { ...@@ -580,7 +580,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Top") expect(obj.$attrs.align).assertEqual("Alignment.Top")
expect(obj.$attrs.alignContent).assertEqual('Alignment.End') expect(obj.$attrs.alignContent).assertEqual('Alignment.Top')
console.info('new testStackAlignTopAlignmentEnd END'); console.info('new testStackAlignTopAlignmentEnd END');
done(); done();
}); });
...@@ -616,7 +616,7 @@ export default function stackAlignChange() { ...@@ -616,7 +616,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Top") expect(obj.$attrs.align).assertEqual("Alignment.Top")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.Top')
console.info('new testStackAlignTopAlignmentBottomStart END'); console.info('new testStackAlignTopAlignmentBottomStart END');
done(); done();
}); });
...@@ -652,7 +652,7 @@ export default function stackAlignChange() { ...@@ -652,7 +652,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Top") expect(obj.$attrs.align).assertEqual("Alignment.Top")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom') expect(obj.$attrs.alignContent).assertEqual('Alignment.Top')
console.info('new testStackAlignTopAlignmentBottom END'); console.info('new testStackAlignTopAlignmentBottom END');
done(); done();
}); });
...@@ -688,7 +688,7 @@ export default function stackAlignChange() { ...@@ -688,7 +688,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Top") expect(obj.$attrs.align).assertEqual("Alignment.Top")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.Top')
console.info('new testStackAlignTopAlignmentBottomEnd END'); console.info('new testStackAlignTopAlignmentBottomEnd END');
done(); done();
}); });
...@@ -724,7 +724,7 @@ export default function stackAlignChange() { ...@@ -724,7 +724,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopEnd") expect(obj.$attrs.align).assertEqual("Alignment.TopEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd')
console.info('new testStackAlignTopEndAlignmentTopStart END'); console.info('new testStackAlignTopEndAlignmentTopStart END');
done(); done();
}); });
...@@ -760,7 +760,7 @@ export default function stackAlignChange() { ...@@ -760,7 +760,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopEnd") expect(obj.$attrs.align).assertEqual("Alignment.TopEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Top') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd')
console.info('new testStackAlignTopEndAlignmentTop END'); console.info('new testStackAlignTopEndAlignmentTop END');
done(); done();
}); });
...@@ -832,7 +832,7 @@ export default function stackAlignChange() { ...@@ -832,7 +832,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopEnd") expect(obj.$attrs.align).assertEqual("Alignment.TopEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Start') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd')
console.info('new testStackAlignTopEndAlignmentStart END'); console.info('new testStackAlignTopEndAlignmentStart END');
done(); done();
}); });
...@@ -868,7 +868,7 @@ export default function stackAlignChange() { ...@@ -868,7 +868,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopEnd") expect(obj.$attrs.align).assertEqual("Alignment.TopEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Center') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd')
console.info('new testStackAlignTopEndAlignmentCenter END'); console.info('new testStackAlignTopEndAlignmentCenter END');
done(); done();
}); });
...@@ -904,7 +904,7 @@ export default function stackAlignChange() { ...@@ -904,7 +904,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopEnd") expect(obj.$attrs.align).assertEqual("Alignment.TopEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.End') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd')
console.info('new testStackAlignTopEndAlignmentEnd END'); console.info('new testStackAlignTopEndAlignmentEnd END');
done(); done();
}); });
...@@ -940,7 +940,7 @@ export default function stackAlignChange() { ...@@ -940,7 +940,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopEnd") expect(obj.$attrs.align).assertEqual("Alignment.TopEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd')
console.info('new testStackAlignTopEndAlignmentBottomStart END'); console.info('new testStackAlignTopEndAlignmentBottomStart END');
done(); done();
}); });
...@@ -976,7 +976,7 @@ export default function stackAlignChange() { ...@@ -976,7 +976,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopEnd") expect(obj.$attrs.align).assertEqual("Alignment.TopEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd')
console.info('new testStackAlignTopEndAlignmentBottom END'); console.info('new testStackAlignTopEndAlignmentBottom END');
done(); done();
}); });
...@@ -1012,7 +1012,7 @@ export default function stackAlignChange() { ...@@ -1012,7 +1012,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.TopEnd") expect(obj.$attrs.align).assertEqual("Alignment.TopEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd')
console.info('new testStackAlignTopEndAlignmentBottomEnd END'); console.info('new testStackAlignTopEndAlignmentBottomEnd END');
done(); done();
}); });
...@@ -1048,7 +1048,7 @@ export default function stackAlignChange() { ...@@ -1048,7 +1048,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Start") expect(obj.$attrs.align).assertEqual("Alignment.Start")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.Start')
console.info('new testStackAlignStartAlignmentTopStart END'); console.info('new testStackAlignStartAlignmentTopStart END');
done(); done();
}); });
...@@ -1084,7 +1084,7 @@ export default function stackAlignChange() { ...@@ -1084,7 +1084,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Start") expect(obj.$attrs.align).assertEqual("Alignment.Start")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Top') expect(obj.$attrs.alignContent).assertEqual('Alignment.Start')
console.info('new testStackAlignStartAlignmentTop END'); console.info('new testStackAlignStartAlignmentTop END');
done(); done();
}); });
...@@ -1120,7 +1120,7 @@ export default function stackAlignChange() { ...@@ -1120,7 +1120,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Start") expect(obj.$attrs.align).assertEqual("Alignment.Start")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.Start')
console.info('new testStackAlignStartAlignmentTopEnd END'); console.info('new testStackAlignStartAlignmentTopEnd END');
done(); done();
}); });
...@@ -1192,7 +1192,7 @@ export default function stackAlignChange() { ...@@ -1192,7 +1192,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Start") expect(obj.$attrs.align).assertEqual("Alignment.Start")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Center') expect(obj.$attrs.alignContent).assertEqual('Alignment.Start')
console.info('new testStackAlignStartAlignmentCenter END'); console.info('new testStackAlignStartAlignmentCenter END');
done(); done();
}); });
...@@ -1228,7 +1228,7 @@ export default function stackAlignChange() { ...@@ -1228,7 +1228,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Start") expect(obj.$attrs.align).assertEqual("Alignment.Start")
expect(obj.$attrs.alignContent).assertEqual('Alignment.End') expect(obj.$attrs.alignContent).assertEqual('Alignment.Start')
console.info('new testStackAlignStartAlignmentEnd END'); console.info('new testStackAlignStartAlignmentEnd END');
done(); done();
}); });
...@@ -1264,7 +1264,7 @@ export default function stackAlignChange() { ...@@ -1264,7 +1264,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Start") expect(obj.$attrs.align).assertEqual("Alignment.Start")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.Start')
console.info('new testStackAlignStartAlignmentBottomStart END'); console.info('new testStackAlignStartAlignmentBottomStart END');
done(); done();
}); });
...@@ -1300,7 +1300,7 @@ export default function stackAlignChange() { ...@@ -1300,7 +1300,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Start") expect(obj.$attrs.align).assertEqual("Alignment.Start")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom') expect(obj.$attrs.alignContent).assertEqual('Alignment.Start')
console.info('new testStackAlignStartAlignmentBottom END'); console.info('new testStackAlignStartAlignmentBottom END');
done(); done();
}); });
...@@ -1336,7 +1336,7 @@ export default function stackAlignChange() { ...@@ -1336,7 +1336,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Start") expect(obj.$attrs.align).assertEqual("Alignment.Start")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.Start')
console.info('new testStackAlignStartAlignmentBottomEnd END'); console.info('new testStackAlignStartAlignmentBottomEnd END');
done(); done();
}); });
...@@ -1372,7 +1372,7 @@ export default function stackAlignChange() { ...@@ -1372,7 +1372,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Center") expect(obj.$attrs.align).assertEqual("Alignment.Center")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.Center')
console.info('new testStackAlignCenterAlignmentTopStart END'); console.info('new testStackAlignCenterAlignmentTopStart END');
done(); done();
}); });
...@@ -1408,7 +1408,7 @@ export default function stackAlignChange() { ...@@ -1408,7 +1408,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Center") expect(obj.$attrs.align).assertEqual("Alignment.Center")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Top') expect(obj.$attrs.alignContent).assertEqual('Alignment.Center')
console.info('new testStackAlignCenterAlignmentTop END'); console.info('new testStackAlignCenterAlignmentTop END');
done(); done();
}); });
...@@ -1443,7 +1443,7 @@ export default function stackAlignChange() { ...@@ -1443,7 +1443,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Center") expect(obj.$attrs.align).assertEqual("Alignment.Center")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.Center')
console.info('new testStackAlignCenterAlignmentTopEnd END'); console.info('new testStackAlignCenterAlignmentTopEnd END');
done(); done();
}); });
...@@ -1479,7 +1479,7 @@ export default function stackAlignChange() { ...@@ -1479,7 +1479,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Center") expect(obj.$attrs.align).assertEqual("Alignment.Center")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Start') expect(obj.$attrs.alignContent).assertEqual('Alignment.Center')
console.info('new testStackAlignCenterAlignmentStart END'); console.info('new testStackAlignCenterAlignmentStart END');
done(); done();
}); });
...@@ -1551,7 +1551,7 @@ export default function stackAlignChange() { ...@@ -1551,7 +1551,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Center") expect(obj.$attrs.align).assertEqual("Alignment.Center")
expect(obj.$attrs.alignContent).assertEqual('Alignment.End') expect(obj.$attrs.alignContent).assertEqual('Alignment.Center')
console.info('new testStackAlignCenterAlignmentEnd END'); console.info('new testStackAlignCenterAlignmentEnd END');
done(); done();
}); });
...@@ -1587,7 +1587,7 @@ export default function stackAlignChange() { ...@@ -1587,7 +1587,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Center") expect(obj.$attrs.align).assertEqual("Alignment.Center")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.Center')
console.info('new testStackAlignCenterAlignmentBottomStart END'); console.info('new testStackAlignCenterAlignmentBottomStart END');
done(); done();
}); });
...@@ -1623,7 +1623,7 @@ export default function stackAlignChange() { ...@@ -1623,7 +1623,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Center") expect(obj.$attrs.align).assertEqual("Alignment.Center")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom') expect(obj.$attrs.alignContent).assertEqual('Alignment.Center')
console.info('new testStackAlignCenterAlignmentBottom END'); console.info('new testStackAlignCenterAlignmentBottom END');
done(); done();
}); });
...@@ -1659,7 +1659,7 @@ export default function stackAlignChange() { ...@@ -1659,7 +1659,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Center") expect(obj.$attrs.align).assertEqual("Alignment.Center")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.Center')
console.info('new testStackAlignCenterAlignmentBottomEnd END'); console.info('new testStackAlignCenterAlignmentBottomEnd END');
done(); done();
}); });
...@@ -1695,7 +1695,7 @@ export default function stackAlignChange() { ...@@ -1695,7 +1695,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.End") expect(obj.$attrs.align).assertEqual("Alignment.End")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.End')
console.info('new testStackAlignEndAlignmentTopStart END'); console.info('new testStackAlignEndAlignmentTopStart END');
done(); done();
}); });
...@@ -1731,7 +1731,7 @@ export default function stackAlignChange() { ...@@ -1731,7 +1731,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.End") expect(obj.$attrs.align).assertEqual("Alignment.End")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Top') expect(obj.$attrs.alignContent).assertEqual('Alignment.End')
console.info('new testStackAlignEndAlignmentTop END'); console.info('new testStackAlignEndAlignmentTop END');
done(); done();
}); });
...@@ -1767,7 +1767,7 @@ export default function stackAlignChange() { ...@@ -1767,7 +1767,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.End") expect(obj.$attrs.align).assertEqual("Alignment.End")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.End')
console.info('new testStackAlignEndAlignmentTopEnd END'); console.info('new testStackAlignEndAlignmentTopEnd END');
done(); done();
}); });
...@@ -1803,7 +1803,7 @@ export default function stackAlignChange() { ...@@ -1803,7 +1803,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.End") expect(obj.$attrs.align).assertEqual("Alignment.End")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Start') expect(obj.$attrs.alignContent).assertEqual('Alignment.End')
console.info('new testStackAlignEndAlignmentStart END'); console.info('new testStackAlignEndAlignmentStart END');
done(); done();
}); });
...@@ -1839,7 +1839,7 @@ export default function stackAlignChange() { ...@@ -1839,7 +1839,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.End") expect(obj.$attrs.align).assertEqual("Alignment.End")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Center') expect(obj.$attrs.alignContent).assertEqual('Alignment.End')
console.info('new testStackAlignEndAlignmentCenter END'); console.info('new testStackAlignEndAlignmentCenter END');
done(); done();
}); });
...@@ -1911,7 +1911,7 @@ export default function stackAlignChange() { ...@@ -1911,7 +1911,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.End") expect(obj.$attrs.align).assertEqual("Alignment.End")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.End')
console.info('new testStackAlignEndAlignmentBottomStart END'); console.info('new testStackAlignEndAlignmentBottomStart END');
done(); done();
}); });
...@@ -1947,7 +1947,7 @@ export default function stackAlignChange() { ...@@ -1947,7 +1947,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.End") expect(obj.$attrs.align).assertEqual("Alignment.End")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom') expect(obj.$attrs.alignContent).assertEqual('Alignment.End')
console.info('new testStackAlignEndAlignmentBottom END'); console.info('new testStackAlignEndAlignmentBottom END');
done(); done();
}); });
...@@ -1983,7 +1983,7 @@ export default function stackAlignChange() { ...@@ -1983,7 +1983,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.End") expect(obj.$attrs.align).assertEqual("Alignment.End")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.End')
console.info('new testStackAlignEndAlignmentBottomEnd END'); console.info('new testStackAlignEndAlignmentBottomEnd END');
done(); done();
}); });
...@@ -2019,7 +2019,7 @@ export default function stackAlignChange() { ...@@ -2019,7 +2019,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomStart") expect(obj.$attrs.align).assertEqual("Alignment.BottomStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart')
console.info('new testStackAlignBottomStartAlignmentTopStart END'); console.info('new testStackAlignBottomStartAlignmentTopStart END');
done(); done();
}); });
...@@ -2055,7 +2055,7 @@ export default function stackAlignChange() { ...@@ -2055,7 +2055,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomStart") expect(obj.$attrs.align).assertEqual("Alignment.BottomStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Top') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart')
console.info('new testStackAlignBottomStartAlignmentTop END'); console.info('new testStackAlignBottomStartAlignmentTop END');
done(); done();
}); });
...@@ -2091,7 +2091,7 @@ export default function stackAlignChange() { ...@@ -2091,7 +2091,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomStart") expect(obj.$attrs.align).assertEqual("Alignment.BottomStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart')
console.info('new testStackAlignBottomStartAlignmentTopEnd END'); console.info('new testStackAlignBottomStartAlignmentTopEnd END');
done(); done();
}); });
...@@ -2127,7 +2127,7 @@ export default function stackAlignChange() { ...@@ -2127,7 +2127,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomStart") expect(obj.$attrs.align).assertEqual("Alignment.BottomStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Start') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart')
console.info('new testStackAlignBottomStartAlignmentStart END'); console.info('new testStackAlignBottomStartAlignmentStart END');
done(); done();
}); });
...@@ -2163,7 +2163,7 @@ export default function stackAlignChange() { ...@@ -2163,7 +2163,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomStart") expect(obj.$attrs.align).assertEqual("Alignment.BottomStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Center') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart')
console.info('new testStackAlignBottomStartAlignmentCenter END'); console.info('new testStackAlignBottomStartAlignmentCenter END');
done(); done();
}); });
...@@ -2199,7 +2199,7 @@ export default function stackAlignChange() { ...@@ -2199,7 +2199,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomStart") expect(obj.$attrs.align).assertEqual("Alignment.BottomStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.End') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart')
console.info('new testStackAlignBottomStartAlignmentEnd END'); console.info('new testStackAlignBottomStartAlignmentEnd END');
done(); done();
}); });
...@@ -2271,7 +2271,7 @@ export default function stackAlignChange() { ...@@ -2271,7 +2271,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomStart") expect(obj.$attrs.align).assertEqual("Alignment.BottomStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart')
console.info('new testStackAlignBottomStartAlignmentBottom END'); console.info('new testStackAlignBottomStartAlignmentBottom END');
done(); done();
}); });
...@@ -2307,7 +2307,7 @@ export default function stackAlignChange() { ...@@ -2307,7 +2307,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomStart") expect(obj.$attrs.align).assertEqual("Alignment.BottomStart")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart')
console.info('new testStackAlignBottomStartAlignmentBottomEnd END'); console.info('new testStackAlignBottomStartAlignmentBottomEnd END');
done(); done();
}); });
...@@ -2343,7 +2343,7 @@ export default function stackAlignChange() { ...@@ -2343,7 +2343,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Bottom") expect(obj.$attrs.align).assertEqual("Alignment.Bottom")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom')
console.info('new testStackAlignBottomAlignmentTopStart END'); console.info('new testStackAlignBottomAlignmentTopStart END');
done(); done();
}); });
...@@ -2379,7 +2379,7 @@ export default function stackAlignChange() { ...@@ -2379,7 +2379,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Bottom") expect(obj.$attrs.align).assertEqual("Alignment.Bottom")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Top') expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom')
console.info('new testStackAlignBottomAlignmentTop END'); console.info('new testStackAlignBottomAlignmentTop END');
done(); done();
}); });
...@@ -2415,7 +2415,7 @@ export default function stackAlignChange() { ...@@ -2415,7 +2415,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Bottom") expect(obj.$attrs.align).assertEqual("Alignment.Bottom")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom')
console.info('new testStackAlignBottomAlignmentTopEnd END'); console.info('new testStackAlignBottomAlignmentTopEnd END');
done(); done();
}); });
...@@ -2451,7 +2451,7 @@ export default function stackAlignChange() { ...@@ -2451,7 +2451,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Bottom") expect(obj.$attrs.align).assertEqual("Alignment.Bottom")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Start') expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom')
console.info('new testStackAlignBottomAlignmentStart END'); console.info('new testStackAlignBottomAlignmentStart END');
done(); done();
}); });
...@@ -2487,7 +2487,7 @@ export default function stackAlignChange() { ...@@ -2487,7 +2487,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Bottom") expect(obj.$attrs.align).assertEqual("Alignment.Bottom")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Center') expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom')
console.info('new testStackAlignBottomAlignmentCenter END'); console.info('new testStackAlignBottomAlignmentCenter END');
done(); done();
}); });
...@@ -2523,7 +2523,7 @@ export default function stackAlignChange() { ...@@ -2523,7 +2523,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Bottom") expect(obj.$attrs.align).assertEqual("Alignment.Bottom")
expect(obj.$attrs.alignContent).assertEqual('Alignment.End') expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom')
console.info('new testStackAlignBottomAlignmentEnd END'); console.info('new testStackAlignBottomAlignmentEnd END');
done(); done();
}); });
...@@ -2559,7 +2559,7 @@ export default function stackAlignChange() { ...@@ -2559,7 +2559,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Bottom") expect(obj.$attrs.align).assertEqual("Alignment.Bottom")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom')
console.info('new testStackAlignBottomAlignmentBottomStart END'); console.info('new testStackAlignBottomAlignmentBottomStart END');
done(); done();
}); });
...@@ -2631,7 +2631,7 @@ export default function stackAlignChange() { ...@@ -2631,7 +2631,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.Bottom") expect(obj.$attrs.align).assertEqual("Alignment.Bottom")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom')
console.info('new testStackAlignBottomAlignmentBottomEnd END'); console.info('new testStackAlignBottomAlignmentBottomEnd END');
done(); done();
}); });
...@@ -2667,7 +2667,7 @@ export default function stackAlignChange() { ...@@ -2667,7 +2667,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd") expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd')
console.info('new testStackAlignBottomEndAlignmentTopStart END'); console.info('new testStackAlignBottomEndAlignmentTopStart END');
done(); done();
}); });
...@@ -2703,7 +2703,7 @@ export default function stackAlignChange() { ...@@ -2703,7 +2703,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd") expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Top') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd')
console.info('new testStackAlignBottomEndAlignmentTop END'); console.info('new testStackAlignBottomEndAlignmentTop END');
done(); done();
}); });
...@@ -2739,7 +2739,7 @@ export default function stackAlignChange() { ...@@ -2739,7 +2739,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd") expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.TopEnd') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd')
console.info('new testStackAlignBottomEndAlignmentTopEnd END'); console.info('new testStackAlignBottomEndAlignmentTopEnd END');
done(); done();
}); });
...@@ -2775,7 +2775,7 @@ export default function stackAlignChange() { ...@@ -2775,7 +2775,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd") expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Start') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd')
console.info('new testStackAlignBottomEndAlignmentStart END'); console.info('new testStackAlignBottomEndAlignmentStart END');
done(); done();
}); });
...@@ -2811,7 +2811,7 @@ export default function stackAlignChange() { ...@@ -2811,7 +2811,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd") expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Center') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd')
console.info('new testStackAlignBottomEndAlignmentCenter END'); console.info('new testStackAlignBottomEndAlignmentCenter END');
done(); done();
}); });
...@@ -2847,7 +2847,7 @@ export default function stackAlignChange() { ...@@ -2847,7 +2847,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd") expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.End') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd')
console.info('new testStackAlignBottomEndAlignmentEnd END'); console.info('new testStackAlignBottomEndAlignmentEnd END');
done(); done();
}); });
...@@ -2883,7 +2883,7 @@ export default function stackAlignChange() { ...@@ -2883,7 +2883,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd") expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomStart') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd')
console.info('new testStackAlignBottomEndAlignmentBottomStart END'); console.info('new testStackAlignBottomEndAlignmentBottomStart END');
done(); done();
}); });
...@@ -2919,7 +2919,7 @@ export default function stackAlignChange() { ...@@ -2919,7 +2919,7 @@ export default function stackAlignChange() {
expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100)) expect(Math.round(stackTopStartKey02.bottom - stackTopStartKey02.top)).assertEqual(vp2px(100))
expect(obj.$type).assertEqual('Stack') expect(obj.$type).assertEqual('Stack')
expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd") expect(obj.$attrs.align).assertEqual("Alignment.BottomEnd")
expect(obj.$attrs.alignContent).assertEqual('Alignment.Bottom') expect(obj.$attrs.alignContent).assertEqual('Alignment.BottomEnd')
console.info('new testStackAlignBottomEndAlignmentBottom END'); console.info('new testStackAlignBottomEndAlignmentBottom END');
done(); done();
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册