|  | FOSSology
    3.2.0rc1
    Open Source License Compliance by Open Source Software | 
Checks the accuracy of agent results. More...
#include <cppunit/TestFixture.h>#include <cppunit/extensions/HelperMacros.h>#include <iostream>#include <fstream>#include <sstream>#include <algorithm>#include <string>#include "copyscan.hpp"#include "regTypes.hpp"#include "regscan.hpp"
Go to the source code of this file.
| Classes | |
| class | TestDataCheck | 
| Unit test driver.  More... | |
| class | overlappingMatch | 
| Helper to check overlapping results.  More... | |
| Macros | |
| #define | NUMTESTS 142 | 
| Functions | |
| void | HtmlEscapedOutput (ostream &out, const char *s) | 
| Escape HTML special characters.  More... | |
| void | GetReferenceResults (const string &fileName, list< match > &results) | 
| void | Display (ostream &out, ifstream &data, list< match > &l, list< match > &lcmp, const char *prein, const char *postin, const char *prenn, const char *postnn) | 
| Print results to out. | |
| bool | cmpMatches (const match &a, const match &b) | 
| Compare matches.  More... | |
| CPPUNIT_TEST_SUITE_REGISTRATION (TestDataCheck) | |
Checks the accuracy of agent results.
Definition in file test_accuracy.cc.
| #define NUMTESTS 142 | 
Number of test cases (numbered from 0 to NUMTESTS-1)
Definition at line 35 of file test_accuracy.cc.
Compare matches.
| a | |
| b | 
Definition at line 142 of file test_accuracy.cc.
| void HtmlEscapedOutput | ( | ostream & | out, | 
| const char * | s | ||
| ) | 
Escape HTML special characters.
| [out] | out | Output stream | 
| [in] | s | String to escape | 
Definition at line 57 of file test_accuracy.cc.