Skip to content

Commit

Permalink
Merge pull request #10 from OpenSmock/fix_test
Browse files Browse the repository at this point in the history
Fix not working tests
  • Loading branch information
labordep authored Oct 14, 2023
2 parents 915fd8d + 43087d3 commit 51f4940
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions src/Bloc-Serialization-Tests/BlocSerializationLayoutTests.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -536,18 +536,6 @@ BlocSerializationLayoutTests >> testBlLinearLayoutVerticalTest1 [
self assert: parent position equals: 0 @ 0 ]
]

{ #category : #tests }
BlocSerializationLayoutTests >> testBlLinearLayoutVerticalTest10 [

| origin |
origin := BlLinearLayoutVerticalTest new
testParentWithLinearHorizontalLayout.
self test: origin on: [ :element |
element forceLayout.
self assert: element layout class equals: BlLinearLayout.
self assert: element layout isVertical. ]
]

{ #category : #tests }
BlocSerializationLayoutTests >> testBlLinearLayoutVerticalTest2 [

Expand Down Expand Up @@ -667,11 +655,11 @@ BlocSerializationLayoutTests >> testBlLinearLayoutVerticalTest8 [
childC := parent childAt: 3.
parent forceLayout.
self assert: childA extent equals: 100 @ 100.
self assert: childA position equals: 400 @ 0.
self assert: childA position equals: 400 @ 200.
self assert: childB extent equals: 200 @ 100.
self assert: childB position equals: 150 @ 100.
self assert: childC extent equals: 50 @ 100.
self assert: childC position equals: 0 @ 200.
self assert: childC position equals: 0 @ 0.
self assert: parent extent equals: 500 @ 600.
self assert: parent position equals: 0 @ 0. ]
]
Expand Down

0 comments on commit 51f4940

Please sign in to comment.