public void TestOlderFormat_bug46918()
        {
            // There are 10 SXVDEX records in the file (not uploaded) that originated bugzilla 46918
            // They all had the following hex encoding:
            byte[] data = HexRead.ReadFromString("00 01 0A 00 1E 14 00 0A FF FF FF FF 00 00");

            RecordInputStream in1 = TestcaseRecordInputStream.Create(data);
            ExtendedPivotTableViewFieldsRecord rec;
            try
            {
                rec = new ExtendedPivotTableViewFieldsRecord(in1);
            }
            catch (RecordFormatException e)
            {
                if (e.Message.Equals("Not enough data (0) to read requested (2) bytes"))
                {
                    throw new AssertionException("Identified bug 46918");
                }
                throw e;
            }

            byte[] expReserData = HexRead.ReadFromString("1E 14 00 0A FF FF FF FF 00 00" +
                    "FF FF 00 00 00 00 00 00 00 00");

            TestcaseRecordInputStream.ConfirmRecordEncoding(ExtendedPivotTableViewFieldsRecord.sid, expReserData, rec.Serialize());
        }
        public void TestSubNameNotPresent_bug46693()
        {
            // This data came from attachment 23347 of bug 46693 at offset 0xAA43
            byte[] data = HexRead.ReadFromString(
                    "00 01 14 00" + // BIFF header
                    "1E 14 00 0A FF FF FF FF 00 00 FF FF 00 00 00 00 00 00 00 00");
            RecordInputStream in1 = TestcaseRecordInputStream.Create(data);
            ExtendedPivotTableViewFieldsRecord rec;
            try
            {
                rec = new ExtendedPivotTableViewFieldsRecord(in1);
            }
            catch (RecordFormatException e)
            {
                if (e.Message.Equals("Expected to find a ContinueRecord in order to read remaining 65535 of 65535 chars"))
                {
                    throw new AssertionException("Identified bug 46693a");
                }
                throw e;
            }

            Assert.AreEqual(data.Length, rec.RecordSize);
        }