src/base/stats/info.test.cc
/**
 * Test that a name can be duplicated when mixing styles. Duplicating
 * is not a problem that must be solved by Info in this case. The stats
 * name resolver does that.
 */
Test that a name can be duplicated when mixing styles. Duplicating
is not a problem that must be solved by Info in this case. The stats
name resolver does that.
Test that a name can be duplicated when mixing styles . Duplicating is not a problem that must be solved by Info in this case . The stats name resolver does that .
TEST(StatsInfoTest, NameMixStyleDuplicate)
{
    TestInfo info;
    std::string name = "InfoNameMixStyleDuplicate";
    info.setName(name, false);
    EXPECT_EQ(info.name, name);
    TestInfo info2;
    info2.setName(name, true);
    ASSERT_EQ(info2.name, name);
}
TEST ( StatsInfoTest , NameMixStyleDuplicate ) { TestInfo info ; std :: string name = " " ; info . setName ( name , false ) ; EXPECT_EQ ( info . name , name ) ; TestInfo info2 ; info2 . setName ( name , true ) ; ASSERT_EQ ( info2 . name , name ) ; }
Test that a name can be duplicated when mixing styles.
Test that a name can be duplicated when mixing styles .