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
| Improve this Doc View SourceGetDirectory(DirectoryInfo)
A subclass returns the
Declaration
protected abstract Directory GetDirectory(DirectoryInfo path)
Parameters
Type | Name | Description |
---|---|---|
DirectoryInfo | path |
Returns
Type | Description |
---|---|
Directory |
TestByte()
Declaration
public virtual void TestByte()
TestChecksum()
Declaration
public virtual void TestChecksum()
TestCopyBytes()
Declaration
public virtual void TestCopyBytes()
TestCopyBytesWithThreads()
Declaration
public virtual void TestCopyBytesWithThreads()
TestDeleteFile()
Declaration
public virtual void TestDeleteFile()
TestDetectClose()
Make sure directory throws
Declaration
public virtual void TestDetectClose()
TestFileExistsInListAfterCreated()
LUCENE-1468: once we create an output, we should see it in the dir listing.
Declaration
public virtual void TestFileExistsInListAfterCreated()
TestFsyncDoesntCreateNewFiles()
Declaration
public virtual void TestFsyncDoesntCreateNewFiles()
TestIllegalEOF()
Declaration
public virtual void TestIllegalEOF()
TestInt16()
Declaration
public virtual void TestInt16()
TestInt32()
Declaration
public virtual void TestInt32()
TestInt64()
Declaration
public virtual void TestInt64()
TestLargeWrites()
This test that writes larger than the size of the buffer output will correctly increment the file pointer.
Declaration
public virtual void TestLargeWrites()
TestNoDir()
Declaration
public virtual void TestNoDir()
TestSeekToEndOfFile()
Declaration
public virtual void TestSeekToEndOfFile()
TestSeekToEOFThenBack()
Declaration
public void TestSeekToEOFThenBack()
TestString()
Declaration
public virtual void TestString()
TestVInt32()
Declaration
public virtual void TestVInt32()
TestVInt64()
Declaration
public virtual void TestVInt64()