Lines Matching refs:ASSERT_RAISES
301 ASSERT_RAISES(CEOFException, RW::readValue(file));
424 ASSERT_RAISES(CInvalidParamsEx, file->Seek(-1 * pos));
429 ASSERT_RAISES(CInvalidParamsEx, file->Seek(std::numeric_limits<off_t>::min()));
683 ASSERT_RAISES(CRunTimeException, file.SetLength(BufferLength * 2));
694 ASSERT_RAISES(CRunTimeException, file.WriteUInt8(0));
697 ASSERT_RAISES(CRunTimeException, new CMemFile(static_cast<const byte*>(NULL), 1024));
698 ASSERT_RAISES(CRunTimeException, new CMemFile(static_cast<byte*>(NULL), 1024));
707 ASSERT_RAISES(CRunTimeException, file.WriteUInt8(0));
708 ASSERT_RAISES(CRunTimeException, file.WriteUInt16(0));
709 ASSERT_RAISES(CRunTimeException, file.WriteUInt32(0));
710 ASSERT_RAISES(CRunTimeException, file.WriteUInt64(0));
713 ASSERT_RAISES(CRunTimeException, file.Write(buffer, sizeof(arr)));
763 ASSERT_RAISES(CRunTimeException, file.WriteUInt8(0));
764 ASSERT_RAISES(CRunTimeException, file.ReadUInt8());
765 ASSERT_RAISES(CRunTimeException, file.Seek(0, wxFromStart));
766 ASSERT_RAISES(CRunTimeException, file.GetLength());
767 ASSERT_RAISES(CRunTimeException, file.GetPosition());
768 ASSERT_RAISES(CRunTimeException, file.SetLength(13));
769 ASSERT_RAISES(CRunTimeException, file.Flush());
770 ASSERT_RAISES(CRunTimeException, file.Close());
792 ASSERT_RAISES(CIOFailureException, file.WriteUInt8(0));
806 ASSERT_RAISES(CIOFailureException, file.ReadUInt8());
833 ASSERT_RAISES(CIOFailureException, file.ReadUInt8());