@@ -143,19 +143,19 @@ public void GetTestResults_CompleteOutput_ParsedCorrectly()
143143
144144 results . Count . Should ( ) . Be ( 3 ) ;
145145
146- results [ 0 ] . TestCase . FullyQualifiedName . Should ( ) . Be ( "TestMath.AddFails" ) ;
146+ results [ 0 ] . TestCase . FullyQualifiedNameWithoutNamespace . Should ( ) . Be ( "TestMath.AddFails" ) ;
147147 XmlTestResultParserTests . AssertTestResultIsFailure ( results [ 0 ] ) ;
148148 results [ 0 ] . ErrorMessage . Should ( ) . NotContain ( StandardOutputTestResultParser . CrashText ) ;
149149 results [ 0 ] . Duration . Should ( ) . Be ( TimeSpan . FromMilliseconds ( 3 ) ) ;
150150 results [ 0 ] . ErrorStackTrace . Should ( )
151151 . Contain (
152152 @"c:\users\chris\documents\visual studio 2015\projects\consoleapplication1\consoleapplication1tests\source.cpp" ) ;
153153
154- results [ 1 ] . TestCase . FullyQualifiedName . Should ( ) . Be ( "TestMath.AddPasses" ) ;
154+ results [ 1 ] . TestCase . FullyQualifiedNameWithoutNamespace . Should ( ) . Be ( "TestMath.AddPasses" ) ;
155155 XmlTestResultParserTests . AssertTestResultIsPassed ( results [ 1 ] ) ;
156156 results [ 1 ] . Duration . Should ( ) . Be ( StandardOutputTestResultParser . ShortTestDuration ) ;
157157
158- results [ 2 ] . TestCase . FullyQualifiedName . Should ( ) . Be ( "TestMath.Crash" ) ;
158+ results [ 2 ] . TestCase . FullyQualifiedNameWithoutNamespace . Should ( ) . Be ( "TestMath.Crash" ) ;
159159 XmlTestResultParserTests . AssertTestResultIsFailure ( results [ 2 ] ) ;
160160 results [ 2 ] . ErrorMessage . Should ( ) . NotContain ( StandardOutputTestResultParser . CrashText ) ;
161161 results [ 2 ] . Duration . Should ( ) . Be ( TimeSpan . FromMilliseconds ( 9 ) ) ;
@@ -169,13 +169,13 @@ public void GetTestResults_OutputWithImmediateCrash_CorrectResultHasCrashText()
169169
170170 results . Count . Should ( ) . Be ( 2 ) ;
171171
172- results [ 0 ] . TestCase . FullyQualifiedName . Should ( ) . Be ( "TestMath.AddFails" ) ;
172+ results [ 0 ] . TestCase . FullyQualifiedNameWithoutNamespace . Should ( ) . Be ( "TestMath.AddFails" ) ;
173173 XmlTestResultParserTests . AssertTestResultIsFailure ( results [ 0 ] ) ;
174174 results [ 0 ] . ErrorMessage . Should ( ) . NotContain ( StandardOutputTestResultParser . CrashText ) ;
175175 results [ 0 ] . Duration . Should ( ) . Be ( TimeSpan . FromMilliseconds ( 3 ) ) ;
176176 results [ 0 ] . ErrorStackTrace . Should ( ) . Contain ( @"c:\users\chris\documents\visual studio 2015\projects\consoleapplication1\consoleapplication1tests\source.cpp" ) ;
177177
178- results [ 1 ] . TestCase . FullyQualifiedName . Should ( ) . Be ( "TestMath.AddPasses" ) ;
178+ results [ 1 ] . TestCase . FullyQualifiedNameWithoutNamespace . Should ( ) . Be ( "TestMath.AddPasses" ) ;
179179 XmlTestResultParserTests . AssertTestResultIsFailure ( results [ 1 ] ) ;
180180 results [ 1 ] . ErrorMessage . Should ( ) . Contain ( StandardOutputTestResultParser . CrashText ) ;
181181 results [ 1 ] . ErrorMessage . Should ( ) . NotContain ( "Test output:" ) ;
@@ -190,17 +190,17 @@ public void GetTestResults_OutputWithCrashAfterErrorMessage_CorrectResultHasCras
190190
191191 results . Count . Should ( ) . Be ( 3 ) ;
192192
193- results [ 0 ] . TestCase . FullyQualifiedName . Should ( ) . Be ( "TestMath.AddFails" ) ;
193+ results [ 0 ] . TestCase . FullyQualifiedNameWithoutNamespace . Should ( ) . Be ( "TestMath.AddFails" ) ;
194194 XmlTestResultParserTests . AssertTestResultIsFailure ( results [ 0 ] ) ;
195195 results [ 0 ] . ErrorMessage . Should ( ) . NotContain ( StandardOutputTestResultParser . CrashText ) ;
196196 results [ 0 ] . Duration . Should ( ) . Be ( TimeSpan . FromMilliseconds ( 3 ) ) ;
197197 results [ 0 ] . ErrorStackTrace . Should ( ) . Contain ( @"c:\users\chris\documents\visual studio 2015\projects\consoleapplication1\consoleapplication1tests\source.cpp" ) ;
198198
199- results [ 1 ] . TestCase . FullyQualifiedName . Should ( ) . Be ( "TestMath.AddPasses" ) ;
199+ results [ 1 ] . TestCase . FullyQualifiedNameWithoutNamespace . Should ( ) . Be ( "TestMath.AddPasses" ) ;
200200 XmlTestResultParserTests . AssertTestResultIsPassed ( results [ 1 ] ) ;
201201 results [ 1 ] . Duration . Should ( ) . Be ( StandardOutputTestResultParser . ShortTestDuration ) ;
202202
203- results [ 2 ] . TestCase . FullyQualifiedName . Should ( ) . Be ( "TestMath.Crash" ) ;
203+ results [ 2 ] . TestCase . FullyQualifiedNameWithoutNamespace . Should ( ) . Be ( "TestMath.Crash" ) ;
204204 XmlTestResultParserTests . AssertTestResultIsFailure ( results [ 2 ] ) ;
205205 results [ 2 ] . ErrorMessage . Should ( ) . Contain ( StandardOutputTestResultParser . CrashText ) ;
206206 results [ 2 ] . ErrorMessage . Should ( ) . Contain ( "Test output:" ) ;
@@ -215,7 +215,7 @@ public void GetTestResults_OutputWithInvalidDurationUnit_DefaultDurationIsUsedAn
215215 List < TestResult > results = ComputeTestResults ( WrongDurationUnit ) ;
216216
217217 results . Count . Should ( ) . Be ( 1 ) ;
218- results [ 0 ] . TestCase . FullyQualifiedName . Should ( ) . Be ( "TestMath.AddFails" ) ;
218+ results [ 0 ] . TestCase . FullyQualifiedNameWithoutNamespace . Should ( ) . Be ( "TestMath.AddFails" ) ;
219219 results [ 0 ] . Duration . Should ( ) . Be ( TimeSpan . FromMilliseconds ( 1 ) ) ;
220220 results [ 0 ] . ErrorStackTrace . Should ( ) . Contain ( @"c:\users\chris\documents\visual studio 2015\projects\consoleapplication1\consoleapplication1tests\source.cpp" ) ;
221221
@@ -234,7 +234,7 @@ public void GetTestResults_OutputWithThousandsSeparatorInDuration_ParsedCorrectl
234234 List < TestResult > results = ComputeTestResults ( ThousandsSeparatorInDuration ) ;
235235
236236 results . Count . Should ( ) . Be ( 1 ) ;
237- results [ 0 ] . TestCase . FullyQualifiedName . Should ( ) . Be ( "TestMath.AddFails" ) ;
237+ results [ 0 ] . TestCase . FullyQualifiedNameWithoutNamespace . Should ( ) . Be ( "TestMath.AddFails" ) ;
238238 results [ 0 ] . Duration . Should ( ) . Be ( TimeSpan . FromMilliseconds ( 4656 ) ) ;
239239 }
240240 finally
@@ -250,7 +250,7 @@ public void GetTestResults_OutputWithConsoleOutput_ConsoleOutputIsIgnored()
250250 List < TestResult > results = ComputeTestResults ( PassingTestProducesConsoleOutput ) ;
251251
252252 results . Count . Should ( ) . Be ( 1 ) ;
253- results [ 0 ] . TestCase . FullyQualifiedName . Should ( ) . Be ( "TestMath.AddPasses" ) ;
253+ results [ 0 ] . TestCase . FullyQualifiedNameWithoutNamespace . Should ( ) . Be ( "TestMath.AddPasses" ) ;
254254 XmlTestResultParserTests . AssertTestResultIsPassed ( results [ 0 ] ) ;
255255 }
256256
@@ -270,9 +270,9 @@ public void GetTestResults_OutputWithPrefixingTest_BothTestsAreFound()
270270 . GetTestResults ( ) ;
271271
272272 results . Count . Should ( ) . Be ( 2 ) ;
273- results [ 0 ] . TestCase . FullyQualifiedName . Should ( ) . Be ( "Test.AB" ) ;
273+ results [ 0 ] . TestCase . FullyQualifiedNameWithoutNamespace . Should ( ) . Be ( "Test.AB" ) ;
274274 XmlTestResultParserTests . AssertTestResultIsPassed ( results [ 0 ] ) ;
275- results [ 1 ] . TestCase . FullyQualifiedName . Should ( ) . Be ( "Test.A" ) ;
275+ results [ 1 ] . TestCase . FullyQualifiedNameWithoutNamespace . Should ( ) . Be ( "Test.A" ) ;
276276 XmlTestResultParserTests . AssertTestResultIsPassed ( results [ 1 ] ) ;
277277 }
278278
0 commit comments