Skip to content

Commit bf4b664

Browse files
committed
small number of extra tests
1 parent b42c6fc commit bf4b664

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/main/java/net/itarray/automotion/validation/ChunkUIElementValidator.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,20 +143,36 @@ public interface ChunkUIElementValidator {
143143
// alignment
144144

145145
@Valid({
146+
@Scenario(chunk = "empty"),
146147
@Scenario(chunk = "one"),
147148
})
149+
@NotValid({
150+
@Scenario(chunk = "empty", oneOrMore = true),
151+
})
148152
ChunkUIElementValidator areLeftAligned();
149153
@Valid({
154+
@Scenario(chunk = "empty"),
150155
@Scenario(chunk = "one"),
151156
})
157+
@NotValid({
158+
@Scenario(chunk = "empty", oneOrMore = true),
159+
})
152160
ChunkUIElementValidator areRightAligned();
153161
@Valid({
162+
@Scenario(chunk = "empty"),
154163
@Scenario(chunk = "one"),
155164
})
165+
@NotValid({
166+
@Scenario(chunk = "empty", oneOrMore = true),
167+
})
156168
ChunkUIElementValidator areTopAligned();
157169
@Valid({
170+
@Scenario(chunk = "empty"),
158171
@Scenario(chunk = "one"),
159172
})
173+
@NotValid({
174+
@Scenario(chunk = "empty", oneOrMore = true),
175+
})
160176
ChunkUIElementValidator areBottomAligned();
161177

162178
//

0 commit comments

Comments
 (0)