ConsistencyTransactionTestRunnerxUnit.RandomizedConsistency 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[Xunit.SkippableTheory(new System.Type[] { })]
public override System.Threading.Tasks.Task RandomizedConsistency (int numGrains, int scale, bool avoidDeadlocks, bool avoidTimeouts, Orleans.Transactions.TestKit.Consistency.ReadWriteDetermination readwrite);
[Xunit.InlineData(new System.Object[] { Mono.Cecil.CustomAttributeArgument, Mono.Cecil.CustomAttributeArgument, Mono.Cecil.CustomAttributeArgument, Mono.Cecil.CustomAttributeArgument, Mono.Cecil.CustomAttributeArgument })]
[Xunit.SkippableTheory(new System.Type[] { })]
public override System.Threading.Tasks.Task RandomizedConsistency (int numGrains, int scale, bool avoidDeadlocks, bool avoidTimeouts, Orleans.Transactions.TestKit.Consistency.ReadWriteDetermination readwrite);
[<Xunit.SkippableTheory(new System.Type[] { })>]
override this.RandomizedConsistency : int * int * bool * bool * Orleans.Transactions.TestKit.Consistency.ReadWriteDetermination -> System.Threading.Tasks.Task
[<Xunit.InlineData(new System.Object[] { Mono.Cecil.CustomAttributeArgument, Mono.Cecil.CustomAttributeArgument, Mono.Cecil.CustomAttributeArgument, Mono.Cecil.CustomAttributeArgument, Mono.Cecil.CustomAttributeArgument })>]
[<Xunit.SkippableTheory(new System.Type[] { })>]
override this.RandomizedConsistency : int * int * bool * bool * Orleans.Transactions.TestKit.Consistency.ReadWriteDetermination -> System.Threading.Tasks.Task
Public Overrides Function RandomizedConsistency (numGrains As Integer, scale As Integer, avoidDeadlocks As Boolean, avoidTimeouts As Boolean, readwrite As ReadWriteDetermination) As Task
参数
- numGrains
- Int32
- scale
- Int32
- avoidDeadlocks
- Boolean
- avoidTimeouts
- Boolean
- readwrite
- ReadWriteDetermination
返回
- 属性
-
Xunit.InlineDataAttribute Xunit.SkippableTheoryAttribute