public void Should_parse_description_line()
 {
     var line = new NUnitStackLine("some description");
     line.ToString().ShouldEqual("some description");
     line.Method.ShouldEqual("");
     line.File.ShouldEqual("");
     line.LineNumber.ShouldEqual(0);
 }
		public void Should_parse_mono_type_stack_line()
		{
			var line = new NUnitStackLine("at AutoTest.Test.Core.Configuration.DIContainerFullTest.Should_perform_full_bootstrap () [0x00018] in /home/ack/src/AutoTest.Net/src/AutoTest.Test/Core/Configuration/DIContainerFullTest.cs:20");
            line.File
                .Replace('/', Path.DirectorySeparatorChar)
                .ShouldEqual("/home/ack/src/AutoTest.Net/src/AutoTest.Test/Core/Configuration/DIContainerFullTest.cs".Replace('/', Path.DirectorySeparatorChar));
			line.LineNumber.ShouldEqual(20);
		}
        public void SetUp()
        {
            _line =
                new NUnitStackLine(
					adjustToEnvironment("at AutoTest.TestingExtensionMethods.ShouldEqual[Int32] (Int32 actual, Int32 expected) [0x00000] in C:\\some\\folder\\the.file.cs:20"));
        }
 public void SetUp()
 {
     _line =
         new NUnitStackLine(
             adjustToEnvironment("at CSharpNUnitTestProject.Class1.Test1() in c:\\CSharp NUnit Test Project\\Some Class.cs:line 16"));
 }
 public void SetUp()
 {
     _line =
         new NUnitStackLine(
             adjustToEnvironment(@"at AutoTest.TestRunners.NUnit.Tests.RunnerTests.Should_run_test()" + Environment.NewLine));
 }
 public void SetUp()
 {
     _line =
         new NUnitStackLine(
             adjustToEnvironment(@"at DoDoTransferAgent.Engine.UnitTests.UBL.PaycheckWriterTests.verifyLine(Int32 line, String message) in c:\Users\ack\src\DoDoTransferAgent\DoDoTransferAgent.Engine.UnitTests\UBL\PaycheckWriterTests.cs:line 55" + Environment.NewLine));
 }
 public void SetUp()
 {
     _line =
         new NUnitStackLine(
             adjustToEnvironment("Daq tach CSharpNUnitTestProject.Class1.Test1() daq tach c:\\CSharpNUnitTestProject\\Class1.cs:tlh kegh 16"));
 }
 public void SetUp()
 {
     _line =
         new NUnitStackLine(
             adjustToEnvironment("bei CSharpNUnitTestProject.Class1.Test1() in c:\\CSharpNUnitTestProject\\Class1.cs:Zeile 16"));
 }
 public void SetUp()
 {
     _line = new NUnitStackLine("some description");
 }
 public void SetUp()
 {
     _line = new NUnitStackLine("at SomeMethodWithoutParentheses in ...");
 }
 public void SetUp()
 {
     _line = new NUnitStackLine(adjustToEnvironment("() in c:\\CSharpNUnitTestProject\\Class1.cs:line"));
 }
 public void SetUp()
 {
     _line = new NUnitStackLine("() in c:\\CSharpNUnitTestProject\\Class1.cs");
 }
 public void When_no_line_number_should_return_0()
 {
     var line = new NUnitStackLine("() in c:\\CSharpNUnitTestProject\\Class1.cs:line");
     line.LineNumber.ShouldEqual(0);
 }
 public void When_no_line_number_should_not_return_file()
 {
     var line = new NUnitStackLine("() in c:\\CSharpNUnitTestProject\\Class1.cs");
     line.File.ShouldEqual("");
 }
 public void When_no_method_closing_should_return_empty_string()
 {
     var line = new NUnitStackLine("at SomeMethodWithoutParentheses in ...");
     line.Method.ShouldEqual("");
 }
 public void SetUp()
 {
     _line = new NUnitStackLine("at CSharpNUnitTestProject.Class1.Test1() in c:\\CSharpNUnitTestProject\\Class1.cs:line 16");
 }