Esempio n. 1
0
 private static TaskMessage TaskException(RemoteTask task, string exceptionText)
 {
     return(new TaskMessage(task, ServerMessage.TaskException(exceptionText)));
 }
Esempio n. 2
0
 public static TaskMessage TaskException(RemoteTask task, Exception exception)
 {
     return(new TaskMessage(task, ServerMessage.TaskException(exception)));
 }
Esempio n. 3
0
 public void TaskException(params TaskException[] exception)
 {
     Do(() => Assert.Single(Messages, ServerMessage.TaskException(exception)));
 }
Esempio n. 4
0
 public static TaskMessage TaskException(RemoteTask task, IEnumerable <TaskException> exceptions)
 {
     return(new TaskMessage(task, ServerMessage.TaskException(exceptions)));
 }
Esempio n. 5
0
        public void TaskException(Exception exception)
        {
            string expectedMessage = ServerMessage.TaskException(exception);

            Do(() => Assert.Single(Messages, m => m.StartsWith(expectedMessage)));
        }