OTest2
A C++ testing framework
include
otest2
testmarkdiffprinter.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019 Ondrej Starek
3
*
4
* This file is part of OTest2.
5
*
6
* OTest2 is free software: you can redistribute it and/or modify it under
7
* the terms of the GNU Lesser General Public License as published by
8
* the Free Software Foundation, either version 3 of the License,
9
* or (at your option) any later version.
10
*
11
* OTest2 is distributed in the hope that it will be useful, but WITHOUT
12
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14
* License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public License
17
* along with OTest2. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef OTest2__INCLUDE_OTEST2_TESTMARKDIFFPRINTER_H_
21
#define OTest2__INCLUDE_OTEST2_TESTMARKDIFFPRINTER_H_
22
23
#include <vector>
24
25
#include <
otest2/difflogblock.h
>
26
#include <
otest2/testmark.h
>
27
28
namespace
OTest2
{
29
30
class
TestMarkFormatter;
31
41
void
printTestMarkDiff
(
42
TestMarkFormatter& formatter_,
43
const
std::vector<TestMark::LinearizedRecord>& left_,
44
const
std::vector<TestMark::LinearizedRecord>& right_,
45
const
DiffLogBlocks
& diff_log_,
46
int
context_);
47
48
}
/* namespace OTest2 */
49
50
#endif
/* OTest2__INCLUDE_OTEST2_TESTMARKDIFFPRINTER_H_ */
OTest2::printTestMarkDiff
void printTestMarkDiff(TestMarkFormatter &formatter_, const std::vector< TestMark::LinearizedRecord > &left_, const std::vector< TestMark::LinearizedRecord > &right_, const DiffLogBlocks &diff_log_, int context_)
Print difference of two testmarks.
Definition:
testmarkdiffprinter.cpp:28
OTest2::DiffLogBlocks
std::vector< DiffBlock > DiffLogBlocks
Ordered (indexes into the sequences) list of diff changes.
Definition:
difflogblock.h:42
OTest2
Definition:
assertbean.h:25
testmark.h
difflogblock.h
Generated by
1.8.17