A
Armin Galliker
Hi
I wrote a test for a workflow. Unfortunately my assertions in the
eventhandler which I set up during initialization, fail in every case...
What's the problem??
[TestInitialize()]
public void MyTestInitialize() {
workflowRuntime.WorkflowCompleted += delegate(object
sender,WorkflowCompletedEventArgs e) {
completedArgs = e;
waitHandle.Set();
Assert.Fail("Error"); // cause a unhandled
AssertFaildException --> Assert.Fail failed.
};
}
Thanks!
I wrote a test for a workflow. Unfortunately my assertions in the
eventhandler which I set up during initialization, fail in every case...
What's the problem??
[TestInitialize()]
public void MyTestInitialize() {
workflowRuntime.WorkflowCompleted += delegate(object
sender,WorkflowCompletedEventArgs e) {
completedArgs = e;
waitHandle.Set();
Assert.Fail("Error"); // cause a unhandled
AssertFaildException --> Assert.Fail failed.
};
}
Thanks!