use of jakarta.nosql.query.Operator in project jnosql-diana by eclipse.
the class DeleteByMethodQueryProviderTest method shouldReturnParserQuery13.
@ParameterizedTest(name = "Should parser the query {0}")
@ValueSource(strings = { "deleteByAgeNotLike" })
public void shouldReturnParserQuery13(String query) {
Operator operator = Operator.LIKE;
String variable = "age";
checkNotCondition(query, operator, variable);
}
use of jakarta.nosql.query.Operator in project jnosql-diana by eclipse.
the class DeleteByMethodQueryProviderTest method shouldReturnParserQuery8.
@ParameterizedTest(name = "Should parser the query {0}")
@ValueSource(strings = { "deleteByAgeLessThan" })
public void shouldReturnParserQuery8(String query) {
Operator operator = Operator.LESSER_THAN;
String variable = "age";
checkCondition(query, operator, variable);
}
use of jakarta.nosql.query.Operator in project jnosql-diana by eclipse.
the class DeleteByMethodQueryProviderTest method shouldReturnParserQuery15.
@ParameterizedTest(name = "Should parser the query {0}")
@ValueSource(strings = { "deleteByAgeNotIn" })
public void shouldReturnParserQuery15(String query) {
Operator operator = Operator.IN;
String variable = "age";
checkNotCondition(query, operator, variable);
}
use of jakarta.nosql.query.Operator in project jnosql-diana by eclipse.
the class DeleteByMethodQueryProviderTest method shouldReturnParserQuery10.
@ParameterizedTest(name = "Should parser the query {0}")
@ValueSource(strings = { "deleteByAgeLessThanEqual" })
public void shouldReturnParserQuery10(String query) {
Operator operator = Operator.LESSER_EQUALS_THAN;
String variable = "age";
checkCondition(query, operator, variable);
}
use of jakarta.nosql.query.Operator in project jnosql-diana by eclipse.
the class FindByMethodQueryProviderTest method shouldReturnParserQuery6.
@ParameterizedTest(name = "Should parser the query {0}")
@ValueSource(strings = { "findByAgeGreaterThanEqual" })
public void shouldReturnParserQuery6(String query) {
Operator operator = Operator.GREATER_EQUALS_THAN;
String variable = "age";
checkCondition(query, operator, variable);
}
Aggregations