Class TestHelper
this class provides access to package-level features defined in the store package. It is used for testing only.
Inheritance
Assembly: Lucene.Net.TestFramework.dll
Syntax
public sealed class TestHelper : object
Methods
Name | Description |
---|---|
IsSimpleFSIndexInput(IndexInput) | Returns true if the instance of the provided input stream is actually an SimpleFSIndexInput. |
IsSimpleFSIndexInputClone(IndexInput) | Returns true if the provided input stream is an SimpleFSIndexInput and is a clone, that is it does not own its underlying file descriptor. |
IsSimpleFSIndexInputOpen(IndexInput) | Given an instance of SimpleFSDirectory.SimpleFSIndexInput, this method returns true if the underlying file descriptor is valid, and false otherwise. this can be used to determine if the OS file has been closed. The descriptor becomes invalid when the non-clone instance of the SimpleFSIndexInput that owns this descriptor is closed. However, the descriptor may possibly become invalid in other ways as well. |