Skip to content

Commit 5d7a3b6

Browse files
committed
not doing tolerance for methods use only by PageValidator
1 parent a4b0922 commit 5d7a3b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/net/itarray/automotion/internal/UIElement.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,12 @@ private Scalar signedDistanceToSuccessor(Direction direction, UIElement successo
190190
return direction.signedDistance(direction.end(rectangle), direction.begin(successor.rectangle));
191191
}
192192

193+
// todo: used only in PageValidator - no tolerance yet
193194
public boolean hasRightElement(UIElement rightElement) {
194195
return hasSuccessor(RIGHT, rightElement);
195196
}
196197

198+
// todo: used only in PageValidator - no tolerance yet
197199
public boolean hasBelowElement(UIElement bottomElement) {
198200
return hasSuccessor(DOWN, bottomElement);
199201
}

0 commit comments

Comments
 (0)