tstLibraryIO.cpp File Reference
#include <sstream>
#include "Origen/Core/dc/FakeFactory.h"
#include "Origen/Core/TestPaths.h"
#include "Origen/Core/config.h"
#include "Origen/Core/fn/print.h"
#include "Origen/Core/io/LibraryIO.h"
#include "ScaleSTL/Functions.h"
#include "ScaleUtils/IO/EndianUtils.h"
#include "Nemesis/gtest/nemesis_gtest.hh"

Classes

class  LibraryIOTester
 

Functions

void scale61_fixup (const Library &lib, Library &new_lib)
 
std::string expected_endian (const std::string &fmt)
 
 TEST_P (LibraryIOTester, RoundTrip)
 
 INSTANTIATE_TEST_CASE_P (LibraryIOTesterFormats, LibraryIOTester,::testing::Values("bof","s62b","s61"))
 
 TEST_F (LibraryIOTester, AppendFile)
 

Function Documentation

std::string expected_endian ( const std::string &  fmt)
Examples:
tstLibraryIO.cpp.

Referenced by TEST_P().

TEST_P ( LibraryIOTester  ,
RoundTrip   
)
Examples:
tstLibraryIO.cpp.

References expected_endian(), and scale61_fixup().

INSTANTIATE_TEST_CASE_P ( LibraryIOTesterFormats  ,
LibraryIOTester  ,
::testing::  Values"bof","s62b","s61" 
)
Examples:
tstLibraryIO.cpp.