Package guru.mikelue.jdut.assertion
Class ResultSetAssert
- java.lang.Object
-
- guru.mikelue.jdut.assertion.ResultSetAssert
-
public class ResultSetAssert extends Object
A stateful object to assert data of result set by cascading way.JdbcTemplateFactory.buildRunnable( () -> getDataSource().getConnection(), conn -> DbResultSet.buildRunnable( conn, "SELECT * FROM DO_INSERT", rs -> new ResultSetAssert(rs) .assertNextTrue() .assertInt("dm_v1", 1) .assertInt("dm_v3", 20) .assertNextTrue() ).run() ).run();
-
-
Constructor Summary
Constructors Constructor Description ResultSetAssert(ResultSet newResultSet)
Constructs this object with result set to be tested.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultSetAssert
assertAbsoluteFalse(int row)
CallsResultSet.absolute(int)
and asserts the result as false value.ResultSetAssert
assertAbsoluteFalse(int row, String message)
CallsResultSet.absolute(int)
and asserts the result as false value.ResultSetAssert
assertAbsoluteFalse(int row, Supplier<String> messageSupplier)
CallsResultSet.absolute(int)
and asserts the result as false value.ResultSetAssert
assertAbsoluteTrue(int row)
CallsResultSet.absolute(int)
and asserts the result as true value.ResultSetAssert
assertAbsoluteTrue(int row, String message)
CallsResultSet.absolute(int)
and asserts the result as true value.ResultSetAssert
assertAbsoluteTrue(int row, Supplier<String> messageSupplier)
CallsResultSet.absolute(int)
and asserts the result as true value.ResultSetAssert
assertArray(int columnIndex, Array expectedArray)
ResultSetAssert
assertArray(int columnIndex, Array expectedArray, String message)
ResultSetAssert
assertArray(int columnIndex, Array expectedArray, Supplier<String> messageSupplier)
ResultSetAssert
assertArray(String columnName, Array expectedArray)
ResultSetAssert
assertArray(String columnName, Array expectedArray, String message)
ResultSetAssert
assertArray(String columnName, Array expectedArray, Supplier<String> messageSupplier)
ResultSetAssert
assertBigDecimal(int columnIndex, BigDecimal expectedBigDecimal, MathContext roundMathContext)
ResultSetAssert
assertBigDecimal(int columnIndex, BigDecimal expectedBigDecimal, MathContext roundMathContext, String message)
ResultSetAssert
assertBigDecimal(int columnIndex, BigDecimal expectedBigDecimal, MathContext roundMathContext, Supplier<String> messageSupplier)
ResultSetAssert
assertBigDecimal(String columnName, BigDecimal expectedBigDecimal, MathContext roundMathContext)
ResultSetAssert
assertBigDecimal(String columnName, BigDecimal expectedBigDecimal, MathContext roundMathContext, String message)
ResultSetAssert
assertBigDecimal(String columnName, BigDecimal expectedBigDecimal, MathContext roundMathContext, Supplier<String> messageSupplier)
ResultSetAssert
assertBlob(int columnIndex, Blob expectedBlob)
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())
of the two object.ResultSetAssert
assertBlob(int columnIndex, Blob expectedBlob, String message)
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())
of the two object.ResultSetAssert
assertBlob(int columnIndex, Blob expectedBlob, Supplier<String> messageSupplier)
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())
of the two object.ResultSetAssert
assertBlob(String columnName, Blob expectedBlob)
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())
of the two object.ResultSetAssert
assertBlob(String columnName, Blob expectedBlob, String message)
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())
of the two object.ResultSetAssert
assertBlob(String columnName, Blob expectedBlob, Supplier<String> messageSupplier)
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())
of the two object.ResultSetAssert
assertBoolean(int columnIndex, boolean expectedBoolean)
ResultSetAssert
assertBoolean(int columnIndex, boolean expectedBoolean, String message)
ResultSetAssert
assertBoolean(int columnIndex, boolean expectedBoolean, Supplier<String> messageSupplier)
ResultSetAssert
assertBoolean(String columnName, boolean expectedBoolean)
ResultSetAssert
assertBoolean(String columnName, boolean expectedBoolean, String message)
ResultSetAssert
assertBoolean(String columnName, boolean expectedBoolean, Supplier<String> messageSupplier)
ResultSetAssert
assertByte(int columnIndex, byte expectedByte)
ResultSetAssert
assertByte(int columnIndex, byte expectedByte, String message)
ResultSetAssert
assertByte(int columnIndex, byte expectedByte, Supplier<String> messageSupplier)
ResultSetAssert
assertByte(String columnName, byte expectedByte)
ResultSetAssert
assertByte(String columnName, byte expectedByte, String message)
ResultSetAssert
assertByte(String columnName, byte expectedByte, Supplier<String> messageSupplier)
ResultSetAssert
assertBytes(int columnIndex, byte[] expectedBytes)
ResultSetAssert
assertBytes(int columnIndex, byte[] expectedBytes, String message)
ResultSetAssert
assertBytes(int columnIndex, byte[] expectedBytes, Supplier<String> messageSupplier)
ResultSetAssert
assertBytes(String columnName, byte[] expectedBytes)
ResultSetAssert
assertBytes(String columnName, byte[] expectedBytes, String message)
ResultSetAssert
assertBytes(String columnName, byte[] expectedBytes, Supplier<String> messageSupplier)
ResultSetAssert
assertClob(int columnIndex, Clob expectedClob)
Asserts the columns withClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.ResultSetAssert
assertClob(int columnIndex, Clob expectedClob, String message)
Asserts the columns withClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.ResultSetAssert
assertClob(int columnIndex, Clob expectedClob, Supplier<String> messageSupplier)
Asserts the columns withClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.ResultSetAssert
assertClob(String columnName, Clob expectedClob)
Asserts the columns withClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.ResultSetAssert
assertClob(String columnName, Clob expectedClob, String message)
Asserts the columns withClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.ResultSetAssert
assertClob(String columnName, Clob expectedClob, Supplier<String> messageSupplier)
Asserts the columns withClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.ResultSetAssert
assertDate(int columnIndex, Date expectedDate)
ResultSetAssert
assertDate(int columnIndex, Date expectedDate, String message)
ResultSetAssert
assertDate(int columnIndex, Date expectedDate, Supplier<String> messageSupplier)
ResultSetAssert
assertDate(String columnName, Date expectedDate)
ResultSetAssert
assertDate(String columnName, Date expectedDate, String message)
ResultSetAssert
assertDate(String columnName, Date expectedDate, Supplier<String> messageSupplier)
ResultSetAssert
assertDouble(int columnIndex, double expectedDouble)
ResultSetAssert
assertDouble(int columnIndex, double expectedDouble, String message)
ResultSetAssert
assertDouble(int columnIndex, double expectedDouble, Supplier<String> messageSupplier)
ResultSetAssert
assertDouble(String columnName, double expectedDouble)
ResultSetAssert
assertDouble(String columnName, double expectedDouble, String message)
ResultSetAssert
assertDouble(String columnName, double expectedDouble, Supplier<String> messageSupplier)
ResultSetAssert
assertFetchSize(int size)
CallsResultSet.getFetchSize()
and asserts the result as false value.ResultSetAssert
assertFetchSize(int size, String message)
CallsResultSet.getFetchSize()
and asserts the result as false value.ResultSetAssert
assertFetchSize(int size, Supplier<String> messageSupplier)
CallsResultSet.getFetchSize()
and asserts the result as false value.ResultSetAssert
assertFloat(int columnIndex, float expectedFloat)
ResultSetAssert
assertFloat(int columnIndex, float expectedFloat, String message)
ResultSetAssert
assertFloat(int columnIndex, float expectedFloat, Supplier<String> messageSupplier)
ResultSetAssert
assertFloat(String columnName, float expectedFloat)
ResultSetAssert
assertFloat(String columnName, float expectedFloat, String message)
ResultSetAssert
assertFloat(String columnName, float expectedFloat, Supplier<String> messageSupplier)
ResultSetAssert
assertInt(int columnIndex, int expectedInt)
ResultSetAssert
assertInt(int columnIndex, int expectedInt, String message)
ResultSetAssert
assertInt(int columnIndex, int expectedInt, Supplier<String> messageSupplier)
ResultSetAssert
assertInt(String columnName, int expectedInt)
ResultSetAssert
assertInt(String columnName, int expectedInt, String message)
ResultSetAssert
assertInt(String columnName, int expectedInt, Supplier<String> messageSupplier)
ResultSetAssert
assertLong(int columnIndex, long expectedLong)
ResultSetAssert
assertLong(int columnIndex, long expectedLong, String message)
ResultSetAssert
assertLong(int columnIndex, long expectedLong, Supplier<String> messageSupplier)
ResultSetAssert
assertLong(String columnName, long expectedLong)
ResultSetAssert
assertLong(String columnName, long expectedLong, String message)
ResultSetAssert
assertLong(String columnName, long expectedLong, Supplier<String> messageSupplier)
ResultSetAssert
assertNClob(int columnIndex, NClob expectedNClob)
Asserts the columns withNClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.ResultSetAssert
assertNClob(int columnIndex, NClob expectedNClob, String message)
Asserts the columns withNClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.ResultSetAssert
assertNClob(int columnIndex, NClob expectedNClob, Supplier<String> messageSupplier)
Asserts the columns withNClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.ResultSetAssert
assertNClob(String columnName, NClob expectedNClob)
Asserts the columns withNClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.ResultSetAssert
assertNClob(String columnName, NClob expectedNClob, String message)
Asserts the columns withNClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.ResultSetAssert
assertNClob(String columnName, NClob expectedNClob, Supplier<String> messageSupplier)
Asserts the columns withNClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.ResultSetAssert
assertNextFalse()
CallsResultSet.next()
and asserts the result as false value.ResultSetAssert
assertNextFalse(String message)
CallsResultSet.next()
and asserts the result as false value.ResultSetAssert
assertNextFalse(Supplier<String> messageSupplier)
CallsResultSet.next()
and asserts the result as false value.ResultSetAssert
assertNextTrue()
CallsResultSet.next()
and asserts the result as true value.ResultSetAssert
assertNextTrue(String message)
CallsResultSet.next()
and asserts the result as true value.ResultSetAssert
assertNextTrue(Supplier<String> messageSupplier)
CallsResultSet.next()
and asserts the result as true value.ResultSetAssert
assertNString(int columnIndex, String expectedNString)
ResultSetAssert
assertNString(int columnIndex, String expectedNString, String message)
ResultSetAssert
assertNString(int columnIndex, String expectedNString, Supplier<String> messageSupplier)
ResultSetAssert
assertNString(String columnName, String expectedNString)
ResultSetAssert
assertNString(String columnName, String expectedNString, String message)
ResultSetAssert
assertNString(String columnName, String expectedNString, Supplier<String> messageSupplier)
ResultSetAssert
assertObject(int columnIndex, Object expectedObject)
ResultSetAssert
assertObject(int columnIndex, Object expectedObject, String message)
ResultSetAssert
assertObject(int columnIndex, Object expectedObject, Supplier<String> messageSupplier)
ResultSetAssert
assertObject(String columnName, Object expectedObject)
ResultSetAssert
assertObject(String columnName, Object expectedObject, String message)
ResultSetAssert
assertObject(String columnName, Object expectedObject, Supplier<String> messageSupplier)
ResultSetAssert
assertRef(int columnIndex, Ref expectedRef)
ResultSetAssert
assertRef(int columnIndex, Ref expectedRef, String message)
ResultSetAssert
assertRef(int columnIndex, Ref expectedRef, Supplier<String> messageSupplier)
ResultSetAssert
assertRef(String columnName, Ref expectedRef)
ResultSetAssert
assertRef(String columnName, Ref expectedRef, String message)
ResultSetAssert
assertRef(String columnName, Ref expectedRef, Supplier<String> messageSupplier)
ResultSetAssert
assertRowId(int columnIndex, RowId expectedRowId)
ResultSetAssert
assertRowId(int columnIndex, RowId expectedRowId, String message)
ResultSetAssert
assertRowId(int columnIndex, RowId expectedRowId, Supplier<String> messageSupplier)
ResultSetAssert
assertRowId(String columnName, RowId expectedRowId)
ResultSetAssert
assertRowId(String columnName, RowId expectedRowId, String message)
ResultSetAssert
assertRowId(String columnName, RowId expectedRowId, Supplier<String> messageSupplier)
ResultSetAssert
assertShort(int columnIndex, short expectedShort)
ResultSetAssert
assertShort(int columnIndex, short expectedShort, String message)
ResultSetAssert
assertShort(int columnIndex, short expectedShort, Supplier<String> messageSupplier)
ResultSetAssert
assertShort(String columnName, short expectedShort)
ResultSetAssert
assertShort(String columnName, short expectedShort, String message)
ResultSetAssert
assertShort(String columnName, short expectedShort, Supplier<String> messageSupplier)
ResultSetAssert
assertSQLXML(int columnIndex, SQLXML expectedSQLXML)
ResultSetAssert
assertSQLXML(int columnIndex, SQLXML expectedSQLXML, String message)
ResultSetAssert
assertSQLXML(int columnIndex, SQLXML expectedSQLXML, Supplier<String> messageSupplier)
ResultSetAssert
assertSQLXML(String columnName, SQLXML expectedSQLXML)
ResultSetAssert
assertSQLXML(String columnName, SQLXML expectedSQLXML, String message)
ResultSetAssert
assertSQLXML(String columnName, SQLXML expectedSQLXML, Supplier<String> messageSupplier)
ResultSetAssert
assertString(int columnIndex, String expectedString)
ResultSetAssert
assertString(int columnIndex, String expectedString, String message)
ResultSetAssert
assertString(int columnIndex, String expectedString, Supplier<String> messageSupplier)
ResultSetAssert
assertString(String columnName, String expectedString)
ResultSetAssert
assertString(String columnName, String expectedString, String message)
ResultSetAssert
assertString(String columnName, String expectedString, Supplier<String> messageSupplier)
ResultSetAssert
assertTime(int columnIndex, Time expectedTime)
ResultSetAssert
assertTime(int columnIndex, Time expectedTime, String message)
ResultSetAssert
assertTime(int columnIndex, Time expectedTime, Supplier<String> messageSupplier)
ResultSetAssert
assertTime(String columnName, Time expectedTime)
ResultSetAssert
assertTime(String columnName, Time expectedTime, String message)
ResultSetAssert
assertTime(String columnName, Time expectedTime, Supplier<String> messageSupplier)
ResultSetAssert
assertTimestamp(int columnIndex, Timestamp expectedTimestamp)
ResultSetAssert
assertTimestamp(int columnIndex, Timestamp expectedTimestamp, String message)
ResultSetAssert
assertTimestamp(int columnIndex, Timestamp expectedTimestamp, Supplier<String> messageSupplier)
ResultSetAssert
assertTimestamp(String columnName, Timestamp expectedTimestamp)
ResultSetAssert
assertTimestamp(String columnName, Timestamp expectedTimestamp, String message)
ResultSetAssert
assertTimestamp(String columnName, Timestamp expectedTimestamp, Supplier<String> messageSupplier)
ResultSetAssert
assertURL(int columnIndex, URL expectedURL)
ResultSetAssert
assertURL(int columnIndex, URL expectedURL, String message)
ResultSetAssert
assertURL(int columnIndex, URL expectedURL, Supplier<String> messageSupplier)
ResultSetAssert
assertURL(String columnName, URL expectedURL)
ResultSetAssert
assertURL(String columnName, URL expectedURL, String message)
ResultSetAssert
assertURL(String columnName, URL expectedURL, Supplier<String> messageSupplier)
ResultSetAssert
assertWasNotNull()
CallsResultSet.wasNull()
and asserts the result as false value.ResultSetAssert
assertWasNotNull(String message)
CallsResultSet.wasNull()
and asserts the result as false value.ResultSetAssert
assertWasNotNull(Supplier<String> messageSupplier)
CallsResultSet.wasNull()
and asserts the result as false value.ResultSetAssert
assertWasNull()
CallsResultSet.wasNull()
and asserts the result as true value.ResultSetAssert
assertWasNull(String message)
CallsResultSet.wasNull()
and asserts the result as true value.ResultSetAssert
assertWasNull(Supplier<String> messageSupplier)
CallsResultSet.wasNull()
and asserts the result as true value.
-
-
-
Constructor Detail
-
ResultSetAssert
public ResultSetAssert(ResultSet newResultSet)
Constructs this object with result set to be tested.- Parameters:
newResultSet
- The result rest
-
-
Method Detail
-
assertAbsoluteTrue
public ResultSetAssert assertAbsoluteTrue(int row) throws SQLException
CallsResultSet.absolute(int)
and asserts the result as true value.- Parameters:
row
- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positioned- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertAbsoluteFalse(int)
-
assertAbsoluteTrue
public ResultSetAssert assertAbsoluteTrue(int row, String message) throws SQLException
CallsResultSet.absolute(int)
and asserts the result as true value.- Parameters:
row
- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positionedmessage
- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertAbsoluteFalse(int)
-
assertAbsoluteTrue
public ResultSetAssert assertAbsoluteTrue(int row, Supplier<String> messageSupplier) throws SQLException
CallsResultSet.absolute(int)
and asserts the result as true value.- Parameters:
row
- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positionedmessageSupplier
- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertAbsoluteFalse(int)
-
assertAbsoluteFalse
public ResultSetAssert assertAbsoluteFalse(int row) throws SQLException
CallsResultSet.absolute(int)
and asserts the result as false value.- Parameters:
row
- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positioned- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertAbsoluteFalse(int)
-
assertAbsoluteFalse
public ResultSetAssert assertAbsoluteFalse(int row, String message) throws SQLException
CallsResultSet.absolute(int)
and asserts the result as false value.- Parameters:
row
- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positionedmessage
- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertAbsoluteFalse(int)
-
assertAbsoluteFalse
public ResultSetAssert assertAbsoluteFalse(int row, Supplier<String> messageSupplier) throws SQLException
CallsResultSet.absolute(int)
and asserts the result as false value.- Parameters:
row
- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positionedmessageSupplier
- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertAbsoluteFalse(int)
-
assertNextTrue
public ResultSetAssert assertNextTrue() throws SQLException
CallsResultSet.next()
and asserts the result as true value.- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertNextFalse()
-
assertNextTrue
public ResultSetAssert assertNextTrue(String message) throws SQLException
CallsResultSet.next()
and asserts the result as true value.- Parameters:
message
- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertNextFalse()
-
assertNextTrue
public ResultSetAssert assertNextTrue(Supplier<String> messageSupplier) throws SQLException
CallsResultSet.next()
and asserts the result as true value.- Parameters:
messageSupplier
- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertNextFalse()
-
assertNextFalse
public ResultSetAssert assertNextFalse() throws SQLException
CallsResultSet.next()
and asserts the result as false value.- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertNextTrue()
-
assertNextFalse
public ResultSetAssert assertNextFalse(String message) throws SQLException
CallsResultSet.next()
and asserts the result as false value.- Parameters:
message
- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertNextFalse()
-
assertNextFalse
public ResultSetAssert assertNextFalse(Supplier<String> messageSupplier) throws SQLException
CallsResultSet.next()
and asserts the result as false value.- Parameters:
messageSupplier
- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertNextFalse()
-
assertWasNull
public ResultSetAssert assertWasNull() throws SQLException
CallsResultSet.wasNull()
and asserts the result as true value.- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertWasNotNull()
-
assertWasNull
public ResultSetAssert assertWasNull(String message) throws SQLException
CallsResultSet.wasNull()
and asserts the result as true value.- Parameters:
message
- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertWasNotNull()
-
assertWasNull
public ResultSetAssert assertWasNull(Supplier<String> messageSupplier) throws SQLException
CallsResultSet.wasNull()
and asserts the result as true value.- Parameters:
messageSupplier
- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertWasNotNull()
-
assertWasNotNull
public ResultSetAssert assertWasNotNull() throws SQLException
CallsResultSet.wasNull()
and asserts the result as false value.- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertWasNull()
-
assertWasNotNull
public ResultSetAssert assertWasNotNull(String message) throws SQLException
CallsResultSet.wasNull()
and asserts the result as false value.- Parameters:
message
- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertWasNotNull()
-
assertWasNotNull
public ResultSetAssert assertWasNotNull(Supplier<String> messageSupplier) throws SQLException
CallsResultSet.wasNull()
and asserts the result as false value.- Parameters:
messageSupplier
- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertWasNotNull()
-
assertFetchSize
public ResultSetAssert assertFetchSize(int size) throws SQLException
CallsResultSet.getFetchSize()
and asserts the result as false value.- Parameters:
size
- The expected size of feched data- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertWasNull()
-
assertFetchSize
public ResultSetAssert assertFetchSize(int size, String message) throws SQLException
CallsResultSet.getFetchSize()
and asserts the result as false value.- Parameters:
size
- The expected size of feched datamessage
- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertFetchSize(int)
-
assertFetchSize
public ResultSetAssert assertFetchSize(int size, Supplier<String> messageSupplier) throws SQLException
CallsResultSet.getFetchSize()
and asserts the result as false value.- Parameters:
size
- The expected size of feched datamessageSupplier
- The message supplier which is used while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error- See Also:
assertFetchSize(int)
-
assertString
public ResultSetAssert assertString(String columnName, String expectedString) throws SQLException
- Throws:
SQLException
-
assertString
public ResultSetAssert assertString(String columnName, String expectedString, String message) throws SQLException
- Throws:
SQLException
-
assertString
public ResultSetAssert assertString(String columnName, String expectedString, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertString
public ResultSetAssert assertString(int columnIndex, String expectedString) throws SQLException
- Throws:
SQLException
-
assertString
public ResultSetAssert assertString(int columnIndex, String expectedString, String message) throws SQLException
- Throws:
SQLException
-
assertString
public ResultSetAssert assertString(int columnIndex, String expectedString, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertNString
public ResultSetAssert assertNString(String columnName, String expectedNString) throws SQLException
- Throws:
SQLException
-
assertNString
public ResultSetAssert assertNString(String columnName, String expectedNString, String message) throws SQLException
- Throws:
SQLException
-
assertNString
public ResultSetAssert assertNString(String columnName, String expectedNString, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertNString
public ResultSetAssert assertNString(int columnIndex, String expectedNString) throws SQLException
- Throws:
SQLException
-
assertNString
public ResultSetAssert assertNString(int columnIndex, String expectedNString, String message) throws SQLException
- Throws:
SQLException
-
assertNString
public ResultSetAssert assertNString(int columnIndex, String expectedNString, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertObject
public ResultSetAssert assertObject(String columnName, Object expectedObject) throws SQLException
- Throws:
SQLException
-
assertObject
public ResultSetAssert assertObject(String columnName, Object expectedObject, String message) throws SQLException
- Throws:
SQLException
-
assertObject
public ResultSetAssert assertObject(String columnName, Object expectedObject, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertObject
public ResultSetAssert assertObject(int columnIndex, Object expectedObject) throws SQLException
- Throws:
SQLException
-
assertObject
public ResultSetAssert assertObject(int columnIndex, Object expectedObject, String message) throws SQLException
- Throws:
SQLException
-
assertObject
public ResultSetAssert assertObject(int columnIndex, Object expectedObject, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertArray
public ResultSetAssert assertArray(String columnName, Array expectedArray) throws SQLException
- Throws:
SQLException
-
assertArray
public ResultSetAssert assertArray(String columnName, Array expectedArray, String message) throws SQLException
- Throws:
SQLException
-
assertArray
public ResultSetAssert assertArray(String columnName, Array expectedArray, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertArray
public ResultSetAssert assertArray(int columnIndex, Array expectedArray) throws SQLException
- Throws:
SQLException
-
assertArray
public ResultSetAssert assertArray(int columnIndex, Array expectedArray, String message) throws SQLException
- Throws:
SQLException
-
assertArray
public ResultSetAssert assertArray(int columnIndex, Array expectedArray, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertByte
public ResultSetAssert assertByte(String columnName, byte expectedByte) throws SQLException
- Throws:
SQLException
-
assertByte
public ResultSetAssert assertByte(String columnName, byte expectedByte, String message) throws SQLException
- Throws:
SQLException
-
assertByte
public ResultSetAssert assertByte(String columnName, byte expectedByte, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertByte
public ResultSetAssert assertByte(int columnIndex, byte expectedByte) throws SQLException
- Throws:
SQLException
-
assertByte
public ResultSetAssert assertByte(int columnIndex, byte expectedByte, String message) throws SQLException
- Throws:
SQLException
-
assertByte
public ResultSetAssert assertByte(int columnIndex, byte expectedByte, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertShort
public ResultSetAssert assertShort(String columnName, short expectedShort) throws SQLException
- Throws:
SQLException
-
assertShort
public ResultSetAssert assertShort(String columnName, short expectedShort, String message) throws SQLException
- Throws:
SQLException
-
assertShort
public ResultSetAssert assertShort(String columnName, short expectedShort, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertShort
public ResultSetAssert assertShort(int columnIndex, short expectedShort) throws SQLException
- Throws:
SQLException
-
assertShort
public ResultSetAssert assertShort(int columnIndex, short expectedShort, String message) throws SQLException
- Throws:
SQLException
-
assertShort
public ResultSetAssert assertShort(int columnIndex, short expectedShort, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBoolean
public ResultSetAssert assertBoolean(String columnName, boolean expectedBoolean) throws SQLException
- Throws:
SQLException
-
assertBoolean
public ResultSetAssert assertBoolean(String columnName, boolean expectedBoolean, String message) throws SQLException
- Throws:
SQLException
-
assertBoolean
public ResultSetAssert assertBoolean(String columnName, boolean expectedBoolean, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBoolean
public ResultSetAssert assertBoolean(int columnIndex, boolean expectedBoolean) throws SQLException
- Throws:
SQLException
-
assertBoolean
public ResultSetAssert assertBoolean(int columnIndex, boolean expectedBoolean, String message) throws SQLException
- Throws:
SQLException
-
assertBoolean
public ResultSetAssert assertBoolean(int columnIndex, boolean expectedBoolean, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertInt
public ResultSetAssert assertInt(String columnName, int expectedInt) throws SQLException
- Throws:
SQLException
-
assertInt
public ResultSetAssert assertInt(String columnName, int expectedInt, String message) throws SQLException
- Throws:
SQLException
-
assertInt
public ResultSetAssert assertInt(String columnName, int expectedInt, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertInt
public ResultSetAssert assertInt(int columnIndex, int expectedInt) throws SQLException
- Throws:
SQLException
-
assertInt
public ResultSetAssert assertInt(int columnIndex, int expectedInt, String message) throws SQLException
- Throws:
SQLException
-
assertInt
public ResultSetAssert assertInt(int columnIndex, int expectedInt, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertLong
public ResultSetAssert assertLong(String columnName, long expectedLong) throws SQLException
- Throws:
SQLException
-
assertLong
public ResultSetAssert assertLong(String columnName, long expectedLong, String message) throws SQLException
- Throws:
SQLException
-
assertLong
public ResultSetAssert assertLong(String columnName, long expectedLong, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertLong
public ResultSetAssert assertLong(int columnIndex, long expectedLong) throws SQLException
- Throws:
SQLException
-
assertLong
public ResultSetAssert assertLong(int columnIndex, long expectedLong, String message) throws SQLException
- Throws:
SQLException
-
assertLong
public ResultSetAssert assertLong(int columnIndex, long expectedLong, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertFloat
public ResultSetAssert assertFloat(String columnName, float expectedFloat) throws SQLException
- Throws:
SQLException
-
assertFloat
public ResultSetAssert assertFloat(String columnName, float expectedFloat, String message) throws SQLException
- Throws:
SQLException
-
assertFloat
public ResultSetAssert assertFloat(String columnName, float expectedFloat, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertFloat
public ResultSetAssert assertFloat(int columnIndex, float expectedFloat) throws SQLException
- Throws:
SQLException
-
assertFloat
public ResultSetAssert assertFloat(int columnIndex, float expectedFloat, String message) throws SQLException
- Throws:
SQLException
-
assertFloat
public ResultSetAssert assertFloat(int columnIndex, float expectedFloat, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertDouble
public ResultSetAssert assertDouble(String columnName, double expectedDouble) throws SQLException
- Throws:
SQLException
-
assertDouble
public ResultSetAssert assertDouble(String columnName, double expectedDouble, String message) throws SQLException
- Throws:
SQLException
-
assertDouble
public ResultSetAssert assertDouble(String columnName, double expectedDouble, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertDouble
public ResultSetAssert assertDouble(int columnIndex, double expectedDouble) throws SQLException
- Throws:
SQLException
-
assertDouble
public ResultSetAssert assertDouble(int columnIndex, double expectedDouble, String message) throws SQLException
- Throws:
SQLException
-
assertDouble
public ResultSetAssert assertDouble(int columnIndex, double expectedDouble, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBigDecimal
public ResultSetAssert assertBigDecimal(String columnName, BigDecimal expectedBigDecimal, MathContext roundMathContext) throws SQLException
- Throws:
SQLException
-
assertBigDecimal
public ResultSetAssert assertBigDecimal(String columnName, BigDecimal expectedBigDecimal, MathContext roundMathContext, String message) throws SQLException
- Throws:
SQLException
-
assertBigDecimal
public ResultSetAssert assertBigDecimal(String columnName, BigDecimal expectedBigDecimal, MathContext roundMathContext, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBigDecimal
public ResultSetAssert assertBigDecimal(int columnIndex, BigDecimal expectedBigDecimal, MathContext roundMathContext) throws SQLException
- Throws:
SQLException
-
assertBigDecimal
public ResultSetAssert assertBigDecimal(int columnIndex, BigDecimal expectedBigDecimal, MathContext roundMathContext, String message) throws SQLException
- Throws:
SQLException
-
assertBigDecimal
public ResultSetAssert assertBigDecimal(int columnIndex, BigDecimal expectedBigDecimal, MathContext roundMathContext, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBlob
public ResultSetAssert assertBlob(String columnName, Blob expectedBlob) throws SQLException
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())
of the two object.- Parameters:
columnName
- The name of columnexpectedBlob
- The expected Blob object- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertBlob
public ResultSetAssert assertBlob(String columnName, Blob expectedBlob, String message) throws SQLException
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())
of the two object.- Parameters:
columnName
- The name of columnexpectedBlob
- The expected Blob objectmessage
- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertBlob
public ResultSetAssert assertBlob(String columnName, Blob expectedBlob, Supplier<String> messageSupplier) throws SQLException
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())
of the two object.- Parameters:
columnName
- The name of columnexpectedBlob
- The expected Blob objectmessageSupplier
- The message supplier if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertBlob
public ResultSetAssert assertBlob(int columnIndex, Blob expectedBlob) throws SQLException
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())
of the two object.- Parameters:
columnIndex
- The index of column to be checkedexpectedBlob
- The expected Blob object- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertBlob
public ResultSetAssert assertBlob(int columnIndex, Blob expectedBlob, String message) throws SQLException
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())
of the two object.- Parameters:
columnIndex
- The index of column to be checkedexpectedBlob
- The expected Blob objectmessage
- The message shown if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertBlob
public ResultSetAssert assertBlob(int columnIndex, Blob expectedBlob, Supplier<String> messageSupplier) throws SQLException
Asserts the containing bytes of the object, this method would checkBlob.getBytes(1, Blob.length())
of the two object.- Parameters:
columnIndex
- The index of column to be checkedexpectedBlob
- The expected Blob objectmessageSupplier
- The message supplier if the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertClob
public ResultSetAssert assertClob(String columnName, Clob expectedClob) throws SQLException
Asserts the columns withClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.- Parameters:
columnName
- The name of columnexpectedClob
- The expected object of Clob- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertClob
public ResultSetAssert assertClob(String columnName, Clob expectedClob, String message) throws SQLException
Asserts the columns withClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.- Parameters:
columnName
- The name of columnexpectedClob
- The expected object of Clobmessage
- The message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertClob
public ResultSetAssert assertClob(String columnName, Clob expectedClob, Supplier<String> messageSupplier) throws SQLException
Asserts the columns withClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.- Parameters:
columnName
- The name of columnexpectedClob
- The expected object of ClobmessageSupplier
- The lazy loading of message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertClob
public ResultSetAssert assertClob(int columnIndex, Clob expectedClob) throws SQLException
Asserts the columns withClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.- Parameters:
columnIndex
- The index of column to be checkedexpectedClob
- The expected object of Clob- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertClob
public ResultSetAssert assertClob(int columnIndex, Clob expectedClob, String message) throws SQLException
Asserts the columns withClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.- Parameters:
columnIndex
- The index of column to be checkedexpectedClob
- The expected object of Clobmessage
- The message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertClob
public ResultSetAssert assertClob(int columnIndex, Clob expectedClob, Supplier<String> messageSupplier) throws SQLException
Asserts the columns withClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.- Parameters:
columnIndex
- The index of column to be checkedexpectedClob
- The expected object of ClobmessageSupplier
- The lazy loading of message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertNClob
public ResultSetAssert assertNClob(String columnName, NClob expectedNClob) throws SQLException
Asserts the columns withNClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.- Parameters:
columnName
- The name of columnexpectedNClob
- The expected object of NClob- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertNClob
public ResultSetAssert assertNClob(String columnName, NClob expectedNClob, String message) throws SQLException
Asserts the columns withNClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.- Parameters:
columnName
- The name of columnexpectedNClob
- The expected object of NClobmessage
- The message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertNClob
public ResultSetAssert assertNClob(String columnName, NClob expectedNClob, Supplier<String> messageSupplier) throws SQLException
Asserts the columns withNClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.- Parameters:
columnName
- The name of columnexpectedNClob
- The expected object of NClobmessageSupplier
- The lazy loading of message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertNClob
public ResultSetAssert assertNClob(int columnIndex, NClob expectedNClob) throws SQLException
Asserts the columns withNClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.- Parameters:
columnIndex
- The index of column to be checkedexpectedNClob
- The expected object of NClob- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertNClob
public ResultSetAssert assertNClob(int columnIndex, NClob expectedNClob, String message) throws SQLException
Asserts the columns withNClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.- Parameters:
columnIndex
- The index of column to be checkedexpectedNClob
- The expected object of NClobmessage
- The message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertNClob
public ResultSetAssert assertNClob(int columnIndex, NClob expectedNClob, Supplier<String> messageSupplier) throws SQLException
Asserts the columns withNClob
type, this method checks the equality ofClob.getSubString(1, Clob.length())
of the two objects.- Parameters:
columnIndex
- The index of column to be checkedexpectedNClob
- The expected object of NClobmessageSupplier
- The lazy loading of message while the assertion is failed- Returns:
- cascading self
- Throws:
SQLException
- If the calling method of result set has error
-
assertDate
public ResultSetAssert assertDate(String columnName, Date expectedDate) throws SQLException
- Throws:
SQLException
-
assertDate
public ResultSetAssert assertDate(String columnName, Date expectedDate, String message) throws SQLException
- Throws:
SQLException
-
assertDate
public ResultSetAssert assertDate(String columnName, Date expectedDate, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertDate
public ResultSetAssert assertDate(int columnIndex, Date expectedDate) throws SQLException
- Throws:
SQLException
-
assertDate
public ResultSetAssert assertDate(int columnIndex, Date expectedDate, String message) throws SQLException
- Throws:
SQLException
-
assertDate
public ResultSetAssert assertDate(int columnIndex, Date expectedDate, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertTime
public ResultSetAssert assertTime(String columnName, Time expectedTime) throws SQLException
- Throws:
SQLException
-
assertTime
public ResultSetAssert assertTime(String columnName, Time expectedTime, String message) throws SQLException
- Throws:
SQLException
-
assertTime
public ResultSetAssert assertTime(String columnName, Time expectedTime, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertTime
public ResultSetAssert assertTime(int columnIndex, Time expectedTime) throws SQLException
- Throws:
SQLException
-
assertTime
public ResultSetAssert assertTime(int columnIndex, Time expectedTime, String message) throws SQLException
- Throws:
SQLException
-
assertTime
public ResultSetAssert assertTime(int columnIndex, Time expectedTime, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertTimestamp
public ResultSetAssert assertTimestamp(String columnName, Timestamp expectedTimestamp) throws SQLException
- Throws:
SQLException
-
assertTimestamp
public ResultSetAssert assertTimestamp(String columnName, Timestamp expectedTimestamp, String message) throws SQLException
- Throws:
SQLException
-
assertTimestamp
public ResultSetAssert assertTimestamp(String columnName, Timestamp expectedTimestamp, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertTimestamp
public ResultSetAssert assertTimestamp(int columnIndex, Timestamp expectedTimestamp) throws SQLException
- Throws:
SQLException
-
assertTimestamp
public ResultSetAssert assertTimestamp(int columnIndex, Timestamp expectedTimestamp, String message) throws SQLException
- Throws:
SQLException
-
assertTimestamp
public ResultSetAssert assertTimestamp(int columnIndex, Timestamp expectedTimestamp, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertURL
public ResultSetAssert assertURL(String columnName, URL expectedURL) throws SQLException
- Throws:
SQLException
-
assertURL
public ResultSetAssert assertURL(String columnName, URL expectedURL, String message) throws SQLException
- Throws:
SQLException
-
assertURL
public ResultSetAssert assertURL(String columnName, URL expectedURL, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertURL
public ResultSetAssert assertURL(int columnIndex, URL expectedURL) throws SQLException
- Throws:
SQLException
-
assertURL
public ResultSetAssert assertURL(int columnIndex, URL expectedURL, String message) throws SQLException
- Throws:
SQLException
-
assertURL
public ResultSetAssert assertURL(int columnIndex, URL expectedURL, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertRef
public ResultSetAssert assertRef(String columnName, Ref expectedRef) throws SQLException
- Throws:
SQLException
-
assertRef
public ResultSetAssert assertRef(String columnName, Ref expectedRef, String message) throws SQLException
- Throws:
SQLException
-
assertRef
public ResultSetAssert assertRef(String columnName, Ref expectedRef, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertRef
public ResultSetAssert assertRef(int columnIndex, Ref expectedRef) throws SQLException
- Throws:
SQLException
-
assertRef
public ResultSetAssert assertRef(int columnIndex, Ref expectedRef, String message) throws SQLException
- Throws:
SQLException
-
assertRef
public ResultSetAssert assertRef(int columnIndex, Ref expectedRef, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertRowId
public ResultSetAssert assertRowId(String columnName, RowId expectedRowId) throws SQLException
- Throws:
SQLException
-
assertRowId
public ResultSetAssert assertRowId(String columnName, RowId expectedRowId, String message) throws SQLException
- Throws:
SQLException
-
assertRowId
public ResultSetAssert assertRowId(String columnName, RowId expectedRowId, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertRowId
public ResultSetAssert assertRowId(int columnIndex, RowId expectedRowId) throws SQLException
- Throws:
SQLException
-
assertRowId
public ResultSetAssert assertRowId(int columnIndex, RowId expectedRowId, String message) throws SQLException
- Throws:
SQLException
-
assertRowId
public ResultSetAssert assertRowId(int columnIndex, RowId expectedRowId, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertSQLXML
public ResultSetAssert assertSQLXML(String columnName, SQLXML expectedSQLXML) throws SQLException
- Throws:
SQLException
-
assertSQLXML
public ResultSetAssert assertSQLXML(String columnName, SQLXML expectedSQLXML, String message) throws SQLException
- Throws:
SQLException
-
assertSQLXML
public ResultSetAssert assertSQLXML(String columnName, SQLXML expectedSQLXML, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertSQLXML
public ResultSetAssert assertSQLXML(int columnIndex, SQLXML expectedSQLXML) throws SQLException
- Throws:
SQLException
-
assertSQLXML
public ResultSetAssert assertSQLXML(int columnIndex, SQLXML expectedSQLXML, String message) throws SQLException
- Throws:
SQLException
-
assertSQLXML
public ResultSetAssert assertSQLXML(int columnIndex, SQLXML expectedSQLXML, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBytes
public ResultSetAssert assertBytes(String columnName, byte[] expectedBytes) throws SQLException
- Throws:
SQLException
-
assertBytes
public ResultSetAssert assertBytes(String columnName, byte[] expectedBytes, String message) throws SQLException
- Throws:
SQLException
-
assertBytes
public ResultSetAssert assertBytes(String columnName, byte[] expectedBytes, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
assertBytes
public ResultSetAssert assertBytes(int columnIndex, byte[] expectedBytes) throws SQLException
- Throws:
SQLException
-
assertBytes
public ResultSetAssert assertBytes(int columnIndex, byte[] expectedBytes, String message) throws SQLException
- Throws:
SQLException
-
assertBytes
public ResultSetAssert assertBytes(int columnIndex, byte[] expectedBytes, Supplier<String> messageSupplier) throws SQLException
- Throws:
SQLException
-
-