Class RandomSeedAttribute
Specifies a random seed to use when running tests. This allows specific test conditions to be repeated for debugging purposes.
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.TestFramework.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = true)]
public sealed class RandomSeedAttribute : Attribute
Constructors
RandomSeedAttribute(string)
Construct a RandomSeedAttribute with a specific random seed value.
Declaration
public RandomSeedAttribute(string randomSeed)
Parameters
Type | Name | Description |
---|---|---|
string | randomSeed | A string value that represents the initial random seed to use to run the tests. The seed is a hexadecimal string representation of a long value. NOTE: For future expansion, the string may include other values as well using ":" as delimiters. |
Properties
RandomSeed
The random seed value.
Declaration
public string RandomSeed { get; }
Property Value
Type | Description |
---|---|
string |