src/base/str.test.cc
/** Test that trying to convert a number to an enum that is not valid fails. */
Test that trying to convert a number to an enum that is not valid fails.
Test that trying to convert a number to an enum that is not valid fails .
TEST(StrTest, DISABLED_ToNumberEnumInvalid)
{
    enum Number
    {
        TWO=2,
    };
    Number output;
    std::string input = "3";
    EXPECT_FALSE(to_number(input, output));
}
TEST ( StrTest , DISABLED_ToNumberEnumInvalid ) { enum Number { TWO = 2 , } ; Number output ; std :: string input = " " ; EXPECT_FALSE ( to_number ( input , output ) ) ; }
Test that trying to convert a number to an enum that is not valid fails.
Test that trying to convert a number to an enum that is not valid fails .