public void Approve(string path, string testName, byte[] content)
 {
     IApprovalNamer namer = new SimpleNamer(path, testName);
     IApprovalWriter writer = new BinaryWriter(content, "png");
     IApprovalFailureReporter reporter = new ImageReporter();
     Approvals.Approve(writer, namer, reporter);
 }
Beispiel #2
0
        public void Approve(string path, string testName, byte[] content)
        {
            IApprovalNamer           namer    = new SimpleNamer(path, testName);
            IApprovalWriter          writer   = new BinaryWriter(content, "png");
            IApprovalFailureReporter reporter = new ImageReporter();

            Approvals.Approve(writer, namer, reporter);
        }