/// <exception cref="System.IO.IOException"/> public virtual void TestOneEntryKnownLength() { if (skip) { return; } WriteRecords(1, true, true); TestTFileByteArrays.ReadRecords(fs, path, 1, conf); }
/// <exception cref="System.IO.IOException"/> public virtual void TestTwoEntriesKnownLength() { if (skip) { return; } WriteRecords(2, true, true); TestTFileByteArrays.ReadRecords(fs, path, 2, conf); }
/// <exception cref="System.IO.IOException"/> public virtual void TestNoEntry() { if (skip) { return; } CloseOutput(); TestTFileByteArrays.ReadRecords(fs, path, 0, conf); }
// unknown key length, known value length /// <exception cref="System.IO.IOException"/> public virtual void TestOneEntryMixedLengths2() { if (skip) { return; } WriteRecords(1, false, true); TestTFileByteArrays.ReadRecords(fs, path, 1, conf); }
/// <exception cref="System.IO.IOException"/> public virtual void TestOneEntryUnknownLength() { if (skip) { return; } WriteRecords(1, false, false); // TODO: will throw exception at getValueLength, it's inconsistent though; // getKeyLength returns a value correctly, though initial length is -1 TestTFileByteArrays.ReadRecords(fs, path, 1, conf); }