/// <summary> /// Static constructor--assigns the test dumper implementation a default value. /// </summary> static TestUtil() { // create a default method call dumper to assign to the default state // recorder. This won't include any ignore targets. var methodDumper = new MethodCallDumper(); recorder = new TestStateRecorder(methodDumper); }
/// <summary> /// Builds the <see cref="ITestStateRecorder"/> implementation that will be used to dump /// information on the tests by the <see cref="TestUil"/> instance. /// </summary> /// <returns> /// The correct <see cref="ITestStateRecorder"/> implementation. /// </returns> private ITestStateRecorder BuildTestStateRecorder() { var methodDumper = new MethodCallDumper(new ObjectDumper(this.ignoreTargets)); return new TestStateRecorder(methodDumper); }