Home | History | Annotate | Download | only in test

Lines Matching refs:ParseInt32Flag

86 bool ParseInt32Flag(const char* str, const char* flag, Int32* value);
167 using testing::internal::ParseInt32Flag;
2170 // Tests ParseInt32Flag().
2172 // Tests that ParseInt32Flag() returns false and doesn't change the
2176 EXPECT_FALSE(ParseInt32Flag("--a=100", "b", &value));
2179 EXPECT_FALSE(ParseInt32Flag("a=100", "a", &value));
2183 // Tests that ParseInt32Flag() returns false and doesn't change the
2189 EXPECT_FALSE(ParseInt32Flag("--abc=12345678987654321", "abc", &value));
2192 EXPECT_FALSE(ParseInt32Flag("--abc=-12345678987654321", "abc", &value));
2196 // Tests that ParseInt32Flag() returns false and doesn't change the
2203 EXPECT_FALSE(ParseInt32Flag("--abc=A1", "abc", &value));
2206 EXPECT_FALSE(ParseInt32Flag("--abc=12X", "abc", &value));
2210 // Tests that ParseInt32Flag() parses the value of the flag and
2215 EXPECT_TRUE(ParseInt32Flag("--" GTEST_FLAG_PREFIX_ "abc=456", "abc", &value));
2218 EXPECT_TRUE(ParseInt32Flag("--" GTEST_FLAG_PREFIX_ "abc=-789",