コード例 #1
0
 public UITheoryTestCase(UITestCase.SyncContextType synchronizationContextType, IMessageSink diagnosticMessageSink, TestMethodDisplay defaultMethodDisplay, TestMethodDisplayOptions defaultMethodDisplayOptions, ITestMethod testMethod)
     : base(diagnosticMessageSink, defaultMethodDisplay, defaultMethodDisplayOptions, testMethod)
 {
     this.SynchronizationContextType = synchronizationContextType;
 }
コード例 #2
0
        public override void Deserialize(IXunitSerializationInfo data)
        {
            base.Deserialize(data);

            this.SynchronizationContextType = (UITestCase.SyncContextType)Enum.Parse(typeof(UITestCase.SyncContextType), data.GetValue <string>("SyncContextType"));
        }