11 #include <cppunit/TestAssert.h>
30 CPPUNIT_ASSERT_EQUAL(empty_scheme, scheme);
34 CPPUNIT_ASSERT_EQUAL(https_scheme, scheme);
60 CPPUNIT_ASSERT_EQUAL(lhs, rhs);
70 CPPUNIT_ASSERT_EQUAL(lhs_none, rhs_none);
73 CPPUNIT_ASSERT_EQUAL(lhs_cacheobj, rhs_cacheobj);
74 CPPUNIT_ASSERT(lhs_none != rhs_cacheobj);
86 CPPUNIT_ASSERT_EQUAL(lhs, rhs);
120 std::ostringstream buffer;
122 SBuf http_str(
"http");
123 SBuf from_buf(buffer.str());
124 CPPUNIT_ASSERT_EQUAL(http_str, from_buf);