ldas-tools-framecpp 2.7.0
|
#include <sys/stat.h>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <boost/test/included/unit_test.hpp>
#include <boost/pointer_cast.hpp>
#include <boost/scoped_array.hpp>
#include <boost/shared_ptr.hpp>
#include "ldastoolsal/Exec.hh"
#include "ldastoolsal/fstream.hh"
#include "framecpp/Common/BaseMemoryBuffer.hh"
#include "framecpp/Common/DynamicMemoryBuffer.hh"
#include "framecpp/Common/MemoryBuffer.hh"
#include "framecpp/Common/FrameBuffer.hh"
#include "framecpp/IFrameStream.hh"
#include "framecpp/OFrameStream.hh"
#include "framecpp/FrameH.hh"
#include "framecpp/FrRawData.hh"
#include "framecpp/FrVect.hh"
Macros | |
#define | BOOST_TEST_MAIN |
#define | SMALL_FRAMES_TYPE 1 |
#define | FH_VERSION Version_8 |
Typedefs | |
typedef FrameCPP::Common::FrameBufferInterface::Scanner | Scanner |
typedef FrameBuffer< LDASTools::AL::filebuf > | frame_buffer_type |
typedef boost::shared_ptr< FrameCPP::Common::FrameH > | build_frame_type |
typedef FrameCPP::Common::FrameSpec::version_type | frame_version_type |
typedef GPSTime | start_time_type |
typedef REAL_8 | dt_type |
Functions | |
static build_frame_type | create_frame (frame_version_type Version, start_time_type Start, dt_type Dt) |
const std::string & | TEST_DIR () |
const std::string & | filename_source (int Spec=FRAME_SPEC_CURRENT) |
void | test_dynamic_memory_buffer () |
void | test_memory_buffer () |
BOOST_AUTO_TEST_CASE (test_memory_buffer_ro) | |
BOOST_AUTO_TEST_CASE (test_scanner) | |
BOOST_AUTO_TEST_CASE (test_standard) | |
BOOST_AUTO_TEST_CASE (test_small_frames) | |
BOOST_AUTO_TEST_CASE (test_read_events) | |
template<frame_version_type > | |
build_frame_type | frameh (start_time_type StartTime, dt_type Dt) |
template<> | |
build_frame_type | frameh< 8 > (start_time_type StartTime, dt_type Dt) |
#define BOOST_TEST_MAIN |
#define FH_VERSION Version_8 |
#define SMALL_FRAMES_TYPE 1 |
typedef boost::shared_ptr< FrameCPP::Common::FrameH > build_frame_type |
typedef REAL_8 dt_type |
typedef FrameBuffer< LDASTools::AL::filebuf > frame_buffer_type |
typedef GPSTime start_time_type |
BOOST_AUTO_TEST_CASE | ( | test_memory_buffer_ro | ) |
BOOST_AUTO_TEST_CASE | ( | test_read_events | ) |
BOOST_AUTO_TEST_CASE | ( | test_scanner | ) |
BOOST_AUTO_TEST_CASE | ( | test_small_frames | ) |
BOOST_AUTO_TEST_CASE | ( | test_standard | ) |
|
static |
|
inline |
build_frame_type frameh | ( | start_time_type | StartTime, |
dt_type | Dt | ||
) |
build_frame_type frameh< 8 > | ( | start_time_type | StartTime, |
dt_type | Dt | ||
) |
|
inline |
void test_dynamic_memory_buffer | ( | ) |
void test_memory_buffer | ( | ) |