Class TestHelper
  
  This class provides access to namespace-level features defined in the
Store namespace. It is used for testing only.
 
  
  
    Inheritance
    System.Object
    TestHelper
   
  
    Inherited Members
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
   
  
  Assembly: Lucene.Net.TestFramework.dll
  Syntax
  
    public static class TestHelper
   
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  Returns true if the instance of the provided input stream is actually
an Lucene.Net.Store.SimpleFSDirectory.SimpleFSIndexInput.
 
  
  Declaration
  
    public static bool IsSimpleFSIndexInput(IndexInput is)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Lucene.Net.Store.IndexInput | 
        is | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  Returns true if the provided input stream is an Lucene.Net.Store.SimpleFSDirectory.SimpleFSIndexInput and
is a clone, that is it does not own its underlying file descriptor.
 
  
  Declaration
  
    public static bool IsSimpleFSIndexInputClone(IndexInput is)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Lucene.Net.Store.IndexInput | 
        is | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  Given an instance of Lucene.Net.Store.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
Lucene.Net.Store.SimpleFSDirectory.SimpleFSIndexInput that owns this descriptor is disposed. However, the
descriptor may possibly become invalid in other ways as well.
 
  
  Declaration
  
    public static bool IsSimpleFSIndexInputOpen(IndexInput is)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Lucene.Net.Store.IndexInput | 
        is | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         |