public void normal_method_resolves_failing_when_present()
 {
     var msg = new CacheMessages();
     msg.AddFailed(new CacheTestMessage("foo.dll", new TestResult(TestRunner.NUnit, TestRunStatus.Failed, "Foo.Bar.Baz", "fail message")));
     CurrentTestStatuses.UpdateWith(msg);
     var status = CurrentTestStatuses.GetStatusOf("System.Void Foo.Bar::Baz()");
     Assert.IsNotNull(status);
     Assert.AreEqual("fail message", status.text);
     Assert.AreEqual(TestStatus.Fail, status.status);
     Assert.AreEqual("Foo.Bar.Baz", status.Name);
     CurrentTestStatuses.Clear();
 }
 public void mspec_resolves_failing_when_present()
 {
     var msg = new CacheMessages();
     msg.AddFailed(new CacheTestMessage("foo.dll", new TestResult(TestRunner.MSpec, TestRunStatus.Failed, "Foo.Bar.Baz", "fail message")));
     CurrentTestStatuses.UpdateWith(msg);
     var status = CurrentTestStatuses.GetStatusOf("Machine.Specifications.It Foo.Bar.Baz::LOLS");
     Assert.IsNotNull(status);
     Assert.AreEqual("fail message", status.text);
     Assert.AreEqual(TestStatus.Fail, status.status);
     Assert.AreEqual("Foo.Bar.Baz", status.Name);
     CurrentTestStatuses.Clear();
 }
 public void simpletesting_resolves_failing_when_present()
 {
     var msg = new CacheMessages();
     msg.AddFailed(new CacheTestMessage("foo.dll", new TestResult(TestRunner.SimpleTesting, TestRunStatus.Failed, "Foo.Bar.Baz", "fail message")));
     CurrentTestStatuses.UpdateWith(msg);
     var status = CurrentTestStatuses.GetStatusOf("Simple.Testing.ClientFramework.Specification Foo.Bar::Baz()");
     Assert.IsNotNull(status);
     Assert.AreEqual("fail message", status.text);
     Assert.AreEqual(TestStatus.Fail, status.status);
     Assert.AreEqual("Foo.Bar.Baz", status.Name);
     CurrentTestStatuses.Clear();
 }
 public void method_with_parens_resolves_to_on_without()
 {
     var msg = new CacheMessages();
     msg.AddFailed(new CacheTestMessage("foo.dll", new TestResult(TestRunner.NUnit, TestRunStatus.Failed, "Foo.Bar.Baz(1,2,3)", "fail message")));
     CurrentTestStatuses.UpdateWith(msg);
     var status = CurrentTestStatuses.GetStatusOf("System.Void Foo.Bar::Baz(int, int, int)");
     Assert.IsNotNull(status);
     Assert.AreEqual("fail message", status.text);
     Assert.AreEqual(TestStatus.Fail, status.status);
     Assert.AreEqual("Foo.Bar.Baz(1,2,3)", status.Name);
     CurrentTestStatuses.Clear();
 }