Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvment of dynamically changed await
- Loading branch information
1 parent
53bb429
commit 54d1963
Showing
6 changed files
with
20 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 1 addition & 60 deletions
61
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/IntegerConditions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,8 @@ | ||
package org.fluentlenium.core.conditions; | ||
|
||
import org.fluentlenium.core.conditions.message.Message; | ||
import org.fluentlenium.core.conditions.message.NotMessage; | ||
|
||
/** | ||
* Conditions API for Integer. | ||
*/ | ||
|
||
|
||
//todo consider removal of this class and replacing by DynamicIntegerConditions | ||
public interface IntegerConditions extends Conditions<Integer> { | ||
@Override | ||
@Negation | ||
IntegerConditions not(); | ||
|
||
/** | ||
* Check that this is equal to given value | ||
* | ||
* @param value the value to compare with | ||
* @return true if is equals, false otherwise | ||
*/ | ||
@Message("is equal to {0}") | ||
@NotMessage("is not equal to {0}") | ||
boolean equalTo(int value); | ||
|
||
/** | ||
* Check that this is less than given value | ||
* | ||
* @param value the value to compare with | ||
* @return true if less than, false otherwise | ||
*/ | ||
@Message("is less than {0}") | ||
@NotMessage("is not less than {0}") | ||
boolean lessThan(int value); | ||
|
||
/** | ||
* Check that this is less than or equal given value | ||
* | ||
* @param value the value to compare with | ||
* @return true if less than or equal, false otherwise | ||
*/ | ||
@Message("is less than or equal to {0}") | ||
@NotMessage("is not less than or equal to {0}") | ||
boolean lessThanOrEqualTo(int value); | ||
|
||
/** | ||
* Check that this is greater than given value | ||
* | ||
* @param value the value to compare with | ||
* @return true if greater than, false otherwise | ||
*/ | ||
@Message("is greater than {0}") | ||
@NotMessage("is not greater than {0}") | ||
boolean greaterThan(int value); | ||
|
||
/** | ||
* Check that this is greater than or equal given value | ||
* | ||
* @param value the value to compare with | ||
* @return true if greater than or equal, false otherwise | ||
*/ | ||
@Message("is greater than or equal to {0}") | ||
@NotMessage("is not greater than or equal to {0}") | ||
boolean greaterThanOrEqualTo(int value); | ||
public interface IntegerConditions extends AbstractIntegerConditions<Integer, IntegerConditions> { | ||
|
||
} |
13 changes: 13 additions & 0 deletions
13
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/ListIntegerConditions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.fluentlenium.core.conditions; | ||
|
||
import java.util.List; | ||
|
||
import org.fluentlenium.core.domain.FluentWebElement; | ||
|
||
/** | ||
* Conditions API for FluentLists. | ||
*/ | ||
public interface ListIntegerConditions extends AbstractIntegerConditions<List<? extends FluentWebElement>, | ||
ListIntegerConditions> { | ||
|
||
} |