10#include <boost/algorithm/string.hpp> 
   11#include <gtest/gtest.h> 
   26    EXPECT_EQ(pretty_print_a, pretty_print_b)
 
 
   37    EXPECT_EQ(pretty_print_a, pretty_print_b)
 
 
   48    ASSERT_EQ(pretty_print_a, pretty_print_b)
 
 
   59    ASSERT_EQ(pretty_print_a, pretty_print_b)
 
 
   65#ifdef HAVE_CREATE_UNIFIED_DIFF 
   67    vector<string> left_lines;
 
   68    boost::split(left_lines, left, boost::is_any_of(
"\n"));
 
   69    vector<string> right_lines;
 
   70    boost::split(right_lines, right, boost::is_any_of(
"\n"));
 
   71    using namespace testing::internal;
 
   72    return (edit_distance::CreateUnifiedDiff(left_lines, right_lines));
 
   76    return (
"N/A: !HAVE_CREATE_UNIFIED_DIFF");
 
 
void prettyPrint(ConstElementPtr element, std::ostream &out, unsigned indent, unsigned step)
Pretty prints the data into stream.
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< Element > ElementPtr
void expectEqWithDiff(ConstElementPtr const &a, ConstElementPtr const &b)
Expect two element pointers to be equal.
void assertEqWithDiff(ConstElementPtr const &a, ConstElementPtr const &b)
std::string generateDiff(std::string, std::string)
Return the difference between two strings.
Defines the logger used by the top-level component of kea-lfc.