public override void Deserialize(IXunitSerializationInfo data) { _factName = data.GetValue <string>("FactName"); _theoryTestCaseLimit = data.GetValue <int>("TheoryTestCaseLimits"); _scenarioTestExecutionPolicy = data.GetValue <ScenarioTestExecutionPolicy>("ExecutionPolicy"); _runInIsolation = data.GetValue <bool>("RunInIsolation"); base.Deserialize(data); }
public ScenarioFactTestCase(IMessageSink diagnosticMessageSink, TestMethodDisplay defaultMethodDisplay, TestMethodDisplayOptions defaultMethodDisplayOptions, ITestMethod testMethod, object[] testMethodArguments, string factName, SourceInformation sourceInformation, int theoryTestCaseLimit, ScenarioTestExecutionPolicy scenarioTestExecutionPolicy, bool runInIsolation) : base(diagnosticMessageSink, defaultMethodDisplay, defaultMethodDisplayOptions, testMethod, testMethodArguments) { _factName = factName; _theoryTestCaseLimit = theoryTestCaseLimit; _scenarioTestExecutionPolicy = scenarioTestExecutionPolicy; _runInIsolation = runInIsolation; SourceInformation = sourceInformation; }