Class MockReaderWrapper
Wraps a Reader, and can throw random or fixed exceptions, and spoon feed read chars.
Inheritance
System.Object
MockReaderWrapper
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class MockReaderWrapper : StringReader
Constructors
Name | Description |
---|---|
MockReaderWrapper(Random, String) |
Methods
Name | Description |
---|---|
IsMyEvilException(Exception) | |
MarkSupported() | |
Read() | |
Read(Char[], Int32, Int32) | |
Ready() | |
ThrowExcAfterChar(Int32) | Throw an exception after reading this many chars. |
ThrowExcNext() |