#include <sstream>
#include <boost/filesystem.hpp>
#include <boost/test/included/unit_test.hpp>
#include "ldastoolsal/fstream.hh"
#include "framecpp/Common/CheckSum.hh"
#include "framecpp/Common/Verify.hh"
#include "framecpp/FrameH.hh"
#include "framecpp/IFrameStream.hh"
#include "framecpp/OFrameStream.hh"
#include "ramp.hh"
Macros | |
#define | BOOST_TEST_MAIN |
#define | REAL_4_TOLERANCE 0.00000001 |
#define | REAL_8_TOLERANCE 0.000000000001 |
Typedefs | |
typedef FrameCPP::FrDetector::FrDetectorCache_element | FrDetectorPtr |
Functions | |
void | create_frame (const std::string &Filename, bool IncludeFrDetector) |
void | validate (const std::string &FrameFilename, bool ShouldHaveFrDetector, bool IsFrameFileValid) |
void | remove_frame (const std::string &Filename) |
bool | validate_fr_detector (FrDetectorPtr Detector, const std::string &Name, const std::string &Prefix, REAL_8 Longitude, REAL_8 Latitude, REAL_4 Elevation, REAL_4 ArmXazimuth, REAL_4 ArmYazimuth, REAL_4 ArmXaltitude, REAL_4 ArmYaltitude, REAL_4 ArmXmidpoint, REAL_4 ArmYmidpoint, INT_2U DataQualityOffset) |
BOOST_AUTO_TEST_CASE (static_fr_detector_validate_detectors) | |
BOOST_AUTO_TEST_CASE (static_fr_detector_search_by_name) | |
BOOST_AUTO_TEST_CASE (static_fr_detector_search_by_prefix) | |
BOOST_AUTO_TEST_CASE (static_fr_detector_written) | |
BOOST_AUTO_TEST_CASE (static_fr_detector_absent) | |
Variables | |
static bool | METADATA_IS_VALID = true |
static bool | FR_DETECTOR_IS_PRESENT = true |
#define BOOST_TEST_MAIN |
#define REAL_4_TOLERANCE 0.00000001 |
#define REAL_8_TOLERANCE 0.000000000001 |
typedef FrameCPP::FrDetector::FrDetectorCache_element FrDetectorPtr |
BOOST_AUTO_TEST_CASE | ( | static_fr_detector_absent | ) |
BOOST_AUTO_TEST_CASE | ( | static_fr_detector_search_by_name | ) |
BOOST_AUTO_TEST_CASE | ( | static_fr_detector_search_by_prefix | ) |
BOOST_AUTO_TEST_CASE | ( | static_fr_detector_validate_detectors | ) |
BOOST_AUTO_TEST_CASE | ( | static_fr_detector_written | ) |
void create_frame | ( | const std::string & | Filename, |
bool | IncludeFrDetector ) |
void remove_frame | ( | const std::string & | Filename | ) |
void validate | ( | const std::string & | FrameFilename, |
bool | ShouldHaveFrDetector, | ||
bool | IsFrameFileValid ) |
bool validate_fr_detector | ( | FrDetectorPtr | Detector, |
const std::string & | Name, | ||
const std::string & | Prefix, | ||
REAL_8 | Longitude, | ||
REAL_8 | Latitude, | ||
REAL_4 | Elevation, | ||
REAL_4 | ArmXazimuth, | ||
REAL_4 | ArmYazimuth, | ||
REAL_4 | ArmXaltitude, | ||
REAL_4 | ArmYaltitude, | ||
REAL_4 | ArmXmidpoint, | ||
REAL_4 | ArmYmidpoint, | ||
INT_2U | DataQualityOffset ) |
|
static |
|
static |