This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ApprovalTests.StackTraceParsers | |
{ | |
public class StackTraceParser : IStackTraceParser | |
{ | |
private static IStackTraceParser[] parsers; | |
private IStackTraceParser parser; | |
public bool Parse(StackTrace stackTrace) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Approvals | |
{ | |
//Default implementation works as before | |
static Func<IApprovalNamer> _defaultNamerSource = (()=> new UnitTestFrameworkNamer()); | |
//Extension point to allow injection of new default namer | |
//at runtime, as vb6 does not support attributes, nor stacktraces. | |
public static Func<IApprovalNamer> DefaultNamerSource | |
{ | |
private get { return _defaultNamerSource; } |
NewerOlder