use of com.axway.ats.rbv.db.DbSearchTerm in project ats-framework by Axway.
the class Test_DbVerification method checkFieldValueContainsNegative.
@Test(expected = RbvVerificationException.class)
public void checkFieldValueContainsNegative() throws RbvException {
DbVerification fsVerification = new DbVerification(new DbSearchTerm(""), provider);
fsVerification.checkFieldValueContains("", "key1", "val1");
fsVerification.verifyDbDataExists();
}
use of com.axway.ats.rbv.db.DbSearchTerm in project ats-framework by Axway.
the class Test_DbVerification method checkFieldValueDoesNotEqualStringPositive.
@Test
public void checkFieldValueDoesNotEqualStringPositive() throws RbvException {
DbVerification fsVerification = new DbVerification(new DbSearchTerm(""), provider);
fsVerification.checkFieldValueDoesNotEqual("", "key1", "value");
fsVerification.verifyDbDataExists();
}
use of com.axway.ats.rbv.db.DbSearchTerm in project ats-framework by Axway.
the class Test_DbVerification method checkFieldValueEqualsNumericNegative.
@Test(expected = RbvVerificationException.class)
public void checkFieldValueEqualsNumericNegative() throws RbvException {
DbVerification fsVerification = new DbVerification(new DbSearchTerm(""), provider);
fsVerification.checkFieldValueEquals("numeric", "key", 23);
fsVerification.verifyDbDataExists();
}
use of com.axway.ats.rbv.db.DbSearchTerm in project ats-framework by Axway.
the class Test_DbVerification method checkFieldValueRegexNegative.
@Test(expected = RbvVerificationException.class)
public void checkFieldValueRegexNegative() throws RbvException {
DbVerification fsVerification = new DbVerification(new DbSearchTerm(""), provider);
fsVerification.checkFieldValueRegex("", "key1", "val1.*");
fsVerification.verifyDbDataExists();
}
use of com.axway.ats.rbv.db.DbSearchTerm in project ats-framework by Axway.
the class Test_DbVerification method checkFieldValueContainsPositive.
@Test
public void checkFieldValueContainsPositive() throws RbvException {
DbVerification fsVerification = new DbVerification(new DbSearchTerm(""), provider);
fsVerification.checkFieldValueContains("", "key1", "val");
fsVerification.verifyDbDataExists();
}
Aggregations