Class BaseDirectoryTestCase
Base class for per-Directory tests.
Inherited Members
Namespace: Lucene.Net.Store
Assembly: Lucene.Net.TestFramework.dll
Syntax
public abstract class BaseDirectoryTestCase : LuceneTestCase
  Methods
GetDirectory(DirectoryInfo)
A subclass returns the Lucene.Net.Store.Directory to be tested; if it's an FS-based directory it should point to the specified path, else it can ignore it.
Declaration
protected abstract Directory GetDirectory(DirectoryInfo path)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DirectoryInfo | path | 
Returns
| Type | Description | 
|---|---|
| Directory | 
TestByte()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestByte()
  TestChecksum()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestChecksum()
  TestCopyBytes()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestCopyBytes()
  TestCopyBytesWithThreads()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestCopyBytesWithThreads()
  TestDeleteFile()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestDeleteFile()
  TestDetectClose()
Make sure directory throws ObjectDisposedException if you try to CreateOutput(string, IOContext) after disposing.
Declaration
[Test]
public virtual void TestDetectClose()
  TestDoubleDispose()
Make sure directory allows double-dispose as per the dispose pattern docs.
Declaration
[Test]
public virtual void TestDoubleDispose()
  TestFileExistsInListAfterCreated()
LUCENE-1468: once we create an output, we should see it in the dir listing.
Declaration
[Test]
public virtual void TestFileExistsInListAfterCreated()
  TestFsyncDoesntCreateNewFiles()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestFsyncDoesntCreateNewFiles()
  TestIllegalEOF()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestIllegalEOF()
  TestInt16()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestInt16()
  TestInt32()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestInt32()
  TestInt64()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestInt64()
  TestLargeWrites()
This test that writes larger than the size of the buffer output will correctly increment the file pointer.
Declaration
[Test]
public virtual void TestLargeWrites()
  TestNoDir()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestNoDir()
  TestSeekToEOFThenBack()
Base class for per-Directory tests.
Declaration
[Test]
public void TestSeekToEOFThenBack()
  TestSeekToEndOfFile()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestSeekToEndOfFile()
  TestString()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestString()
  TestVInt32()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestVInt32()
  TestVInt64()
Base class for per-Directory tests.
Declaration
[Test]
public virtual void TestVInt64()