|
Mantid
|
#include "MantidFrameworkTestHelpers/FileComparisonHelper.h"#include "MantidAPI/FileFinder.h"#include "MantidKernel/Logger.h"#include <fstream>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | FileComparisonHelper |
Functions | |
| bool | FileComparisonHelper::areFilesEqual (const std::string &referenceFileFullPath, const std::string &outFileFullPath) |
| Checks if two files are equal in content and length at the specified path. More... | |
| bool | FileComparisonHelper::areFileStreamsEqual (std::ifstream &referenceFileStream, std::ifstream &fileToCheck) |
| Checks if two file streams are equal in content and length. More... | |
| bool | FileComparisonHelper::areIteratorsEqual (streamCharIter refStream, streamCharIter testStream, streamCharIter refStreamEnd=streamCharIter(), streamCharIter testStreamEnd=streamCharIter()) |
| Compares the length and content of std::streams iterators and returns if they are equal. More... | |
| bool | FileComparisonHelper::isEqualToReferenceFile (const std::string &referenceFileName, const std::string &outFileFullPath) |
| Attempts to find a reference file with the given name using Mantid then compares content and length of files (ignoring EOL differences). More... | |