Lines Matching refs:ParseInt32Flag
176 using testing::internal::ParseInt32Flag;
1912 // Tests ParseInt32Flag().
1914 // Tests that ParseInt32Flag() returns false and doesn't change the
1918 EXPECT_FALSE(ParseInt32Flag("--a=100", "b", &value));
1921 EXPECT_FALSE(ParseInt32Flag("a=100", "a", &value));
1925 // Tests that ParseInt32Flag() returns false and doesn't change the
1931 EXPECT_FALSE(ParseInt32Flag("--abc=12345678987654321", "abc", &value));
1934 EXPECT_FALSE(ParseInt32Flag("--abc=-12345678987654321", "abc", &value));
1938 // Tests that ParseInt32Flag() returns false and doesn't change the
1945 ParseInt32Flag("--abc=A1", "abc", &value));
1948 EXPECT_FALSE(ParseInt32Flag("--abc=12X", "abc", &value));
1952 // Tests that ParseInt32Flag() parses the value of the flag and
1957 EXPECT_TRUE(ParseInt32Flag("--" GTEST_FLAG_PREFIX_ "abc=456", "abc", &value));
1960 EXPECT_TRUE(ParseInt32Flag("--" GTEST_FLAG_PREFIX_ "abc=-789",