Beispiel #1
0
        public void VerifyValidateThrowsExceptionWhenItagSequenceIsNegative()
        {
            var setcolumn = new JET_SETCOLUMN
            {
                itagSequence = -1,
            };

            setcolumn.Validate();
        }
Beispiel #2
0
        public void VerifyValidateThrowsExceptionWhenIbLongValueIsNegative()
        {
            var setcolumn = new JET_SETCOLUMN
            {
                ibLongValue = -1,
            };

            setcolumn.Validate();
        }
Beispiel #3
0
        public void VerifyValidateThrowsExceptionWhenPvDataIsNull()
        {
            var setcolumn = new JET_SETCOLUMN
            {
                cbData = 1,
            };

            setcolumn.Validate();
        }
Beispiel #4
0
        public void VerifyValidateThrowsExceptionWhenCbDataIsTooLong()
        {
            var setcolumn = new JET_SETCOLUMN
            {
                cbData = 100,
                pvData = new byte[9],
            };

            setcolumn.Validate();
        }
Beispiel #5
0
        public void VerifyValidateThrowsExceptionWhenCbDataIsNegative()
        {
            var setcolumn = new JET_SETCOLUMN
            {
                cbData = -1,
                pvData = new byte[1],
            };

            setcolumn.Validate();
        }