Exemple #1
0
 /// <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);
 }
Exemple #2
0
 /// <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);
 }