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