Class RandomizedTest
Common scaffolding for subclassing randomized tests.
Inheritance
System.Object
    RandomizedTest
  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()
    
  Namespace: Lucene.Net.Randomized
Assembly: Lucene.Net.TestFramework.dll
Syntax
public static class RandomizedTest
  Methods
| Improve this Doc View SourceAssumeFalse(String, Boolean)
Declaration
public static void AssumeFalse(string msg, bool condition)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | msg | Message to be included in the exception's string.  | 
      
| System.Boolean | condition | If   | 
      
AssumeNoException(String, Exception)
Assume t is null.
Declaration
public static void AssumeNoException(string msg, Exception t)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | msg | |
| System.Exception | t | 
AssumeTrue(String, Boolean)
Declaration
public static void AssumeTrue(string msg, bool condition)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | msg | Message to be included in the exception's string.  | 
      
| System.Boolean | condition | If   |