MCPcopy Create free account
hub / github.com/apache/qpid-proton / read

Function read

cpp/src/interop_test.cpp:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43std::string tests_dir;
44
45string read(string filename) {
46 filename = tests_dir+string("/interop/")+filename+string(".amqp");
47 ifstream ifs(filename.c_str());
48 if (!ifs.good()) FAIL("Can't open " << filename);
49 return string(istreambuf_iterator<char>(ifs), istreambuf_iterator<char>());
50}
51
52// Test data ostream operator
53void test_data_ostream() {

Callers 6

test_data_ostreamFunction · 0.85
test_encoder_primitivesFunction · 0.85
read_uint64Function · 0.85
timerfd_drainFunction · 0.85
pn_readFunction · 0.85

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected