File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed
Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -12,40 +12,6 @@ namespace VSDoxyHighlighter.Tests
1212 [ TestClass ( ) ]
1313 public class FragmentsMatcherMarkdownEmphasisAndStrikethroughTests
1414 {
15- class FailFastTraceListener : DefaultTraceListener
16- {
17- public override void Fail ( string message , string detailMessage )
18- {
19- var stderr = Console . OpenStandardError ( ) ;
20- using ( var writer = new StreamWriter ( stderr ) ) {
21- writer . AutoFlush = true ;
22-
23- writer . WriteLine ( "Assertion failed" ) ;
24-
25- if ( ! string . IsNullOrEmpty ( message ) )
26- writer . WriteLine ( message ) ;
27-
28- if ( ! string . IsNullOrEmpty ( detailMessage ) )
29- writer . WriteLine ( detailMessage ) ;
30-
31- writer . WriteLine ( ) ;
32- writer . WriteLine ( "Stack trace:" ) ;
33- writer . WriteLine ( new System . Diagnostics . StackTrace ( true ) ) ;
34- }
35-
36- Environment . FailFast ( message ) ;
37- }
38- }
39-
40-
41-
42- [ TestInitialize ]
43- public void TestInitialize ( )
44- {
45- Debug . Listeners . Clear ( ) ;
46- Debug . Listeners . Add ( new FailFastTraceListener ( ) ) ;
47- }
48-
4915 private static List < Utils . FormattedFragmentText > FindFragments ( string input )
5016 {
5117 var m = new FragmentsMatcherMarkdownEmphasisAndStrikethrough ( ) ;
You can’t perform that action at this time.
0 commit comments