Searched refs:GetSubnetName (Results 1 – 6 of 6) sorted by relevance
56 MOCK_CONST_METHOD0(GetSubnetName, std::string());
135 virtual std::string GetSubnetName() const;
1179 TEST_F(ConnectionTest, GetSubnetName) { in TEST_F() argument1180 EXPECT_EQ("", connection_->GetSubnetName()); in TEST_F()1184 EXPECT_EQ("1.2.3.0/24", connection_->GetSubnetName()); in TEST_F()
440 string Connection::GetSubnetName() const { in GetSubnetName() function in shill::Connection
4737 EXPECT_CALL(*mock_connections[1], GetSubnetName()).WillOnce(Return("1")); in TEST_F()4738 EXPECT_CALL(*mock_connections[2], GetSubnetName()).WillOnce(Return("2")); in TEST_F()4739 EXPECT_CALL(*mock_connections[3], GetSubnetName()).WillOnce(Return("1")); in TEST_F()4740 EXPECT_CALL(*mock_connections[4], GetSubnetName()).WillOnce(Return("")); in TEST_F()4741 EXPECT_CALL(*mock_connections[5], GetSubnetName()).WillOnce(Return("")); in TEST_F()
2630 subnet_name = connection->GetSubnetName(); in DetectMultiHomedDevices()