Ejemplo n.º 1
0
 public ProfilerData(string filename, IProfilerDataParser parser, IContextChangeFinder finder, decimal compressRatio)
 {
     _assembler     = new TestRunInfoAssembler(finder);
     _database      = new TestRunInformationDatabase(filename);
     _counts        = new CouplingCountAndNameProjection();
     _finder        = finder;
     _filename      = filename;
     _parser        = parser;
     _compressRatio = compressRatio;
 }
Ejemplo n.º 2
0
 public ProfilerData(string filename, IProfilerDataParser parser, IContextChangeFinder finder, decimal compressRatio)
 {
     _assembler = new TestRunInfoAssembler(finder);
     _database = new TestRunInformationDatabase(filename);
     _counts = new CouplingCountAndNameProjection();
     _finder = finder;
     _filename = filename;
     _parser = parser;
     _compressRatio = compressRatio;
 }
 public void test_information_with_null_name_to_remove_does_not_fail()
 {
     var counts = new CouplingCountAndNameProjection();
     Assert.DoesNotThrow(() => counts.Remove(new TestRunInformation() {Name = null}));
 }
 public void null_test_information_to_remove_does_not_fail()
 {
     var counts = new CouplingCountAndNameProjection();
     Assert.DoesNotThrow(() => counts.Remove(null));
 }