Searched refs:ParseTimeToExpireSeconds (Results 1 – 3 of 3) sorted by relevance
52 FRIEND_TEST(ConnectionInfoReaderTest, ParseTimeToExpireSeconds);56 bool ParseTimeToExpireSeconds(const std::string& input,
192 TEST_F(ConnectionInfoReaderTest, ParseTimeToExpireSeconds) { in TEST_F() argument195 EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("", &time_to_expire)); in TEST_F()196 EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("a", &time_to_expire)); in TEST_F()197 EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("-1", &time_to_expire)); in TEST_F()199 EXPECT_TRUE(reader_.ParseTimeToExpireSeconds("100", &time_to_expire)); in TEST_F()
101 if (!ParseTimeToExpireSeconds(tokens[++index], &time_to_expire_seconds)) { in ParseConnectionInfo()167 bool ConnectionInfoReader::ParseTimeToExpireSeconds( in ParseTimeToExpireSeconds() function in shill::ConnectionInfoReader