Exemple #1
0
 public void CleanUp()
 {
     CaptureScreenIfTestFailed();
     if (!Debugger.IsAttached)
     {
         TestDataWriter.DeleteAll();
     }
 }
Exemple #2
0
 void OnApplicationInitializing()
 {
     Container.InjectProperties(this);
     CoreConfiguration.WaitBasedOnHourGlass = false;
     CoreConfiguration.InProc            = true;
     CoreConfiguration.BusyTimeout       = 5000;
     CoreConfiguration.FindWindowTimeout = 60000;
     MainWindow.TitleBar.MaximizeButton.Click();
     TestDataWriter.DeleteAll();
     OnApplicationInitialized();
 }
Exemple #3
0
        public void Build()
        {
            var outputFile = endpoint != null?string.Format("{0}-Messages", endpoint) : "Messages";

            TestDataWriter.Write(outputFile, messagesList);
        }
Exemple #4
0
 public void Build()
 {
     TestDataWriter.Write("GetEndpoints", endpoints);
 }
Exemple #5
0
 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;
            }