public void VerifyCheckThrowsExceptionWhenIbDataIsNonZeroAndPvDataIsNull() { var setcolumn = new JET_RETRIEVECOLUMN { ibData = 1, }; setcolumn.CheckDataSize(); }
public void VerifyCheckThrowsExceptionWhenCbDataIsTooLong() { var setcolumn = new JET_RETRIEVECOLUMN { cbData = 100, pvData = new byte[9], }; setcolumn.CheckDataSize(); }
public void VerifyCheckThrowsExceptionWhenIbDataIsNegative() { var setcolumn = new JET_RETRIEVECOLUMN { ibData = -1, pvData = new byte[1], }; setcolumn.CheckDataSize(); }
public void VerifyCheckThrowsExceptionWhenIbCbDataIsTooLong() { var setcolumn = new JET_RETRIEVECOLUMN { ibData = 8, cbData = 3, pvData = new byte[10], }; setcolumn.CheckDataSize(); }