#include "boost/test/unit_test.hpp"
#include <fstream>
#include <sstream>
#include <string>
#include "cetlib/include.h"
#include "cetlib_except/exception.h"
Go to the source code of this file.
#define BOOST_TEST_MODULE (search_path_test_3 test) |
BOOST_AUTO_TEST_CASE |
( |
missing_file_throws |
| ) |
|
Definition at line 13 of file search_path_test_3.cc.
15 std::istringstream is(
"#include \"/tmp/aaa\"");
void include(std::istream &in, std::string &result)
cet::coded_exception< error, detail::translate > exception
BOOST_AUTO_TEST_CASE |
( |
bad_stream_throws |
| ) |
|
Definition at line 21 of file search_path_test_3.cc.
23 std::ifstream is(
"no file with this name exists");
void include(std::istream &in, std::string &result)
cet::coded_exception< error, detail::translate > exception