public void CleanUp() { CaptureScreenIfTestFailed(); if (!Debugger.IsAttached) { TestDataWriter.DeleteAll(); } }
void OnApplicationInitializing() { Container.InjectProperties(this); CoreConfiguration.WaitBasedOnHourGlass = false; CoreConfiguration.InProc = true; CoreConfiguration.BusyTimeout = 5000; CoreConfiguration.FindWindowTimeout = 60000; MainWindow.TitleBar.MaximizeButton.Click(); TestDataWriter.DeleteAll(); OnApplicationInitialized(); }
public void Build() { var outputFile = endpoint != null?string.Format("{0}-Messages", endpoint) : "Messages"; TestDataWriter.Write(outputFile, messagesList); }
public void Build() { TestDataWriter.Write("GetEndpoints", endpoints); }
public void Build() { TestDataWriter.Write("Conversation-Messages", messagesList); }
public Message GetData() { // Create body TestDataWriter body = new TestDataWriter("<test>data</test>"); // Create messatge MessageVersion ver = OperationContext.Current.IncomingMessageVersion; Message msg = Message.CreateMessage(ver, "ResponseToGetDataRequest", body); Debug.WriteLine(msg.ToString()); return msg; }