Lines Matching refs:Technology
34 EXPECT_EQ(Technology::kEthernet, Technology::IdentifierFromName("ethernet")); in TEST_F()
35 EXPECT_EQ(Technology::kEthernetEap, in TEST_F()
36 Technology::IdentifierFromName("etherneteap")); in TEST_F()
37 EXPECT_EQ(Technology::kWifi, Technology::IdentifierFromName("wifi")); in TEST_F()
38 EXPECT_EQ(Technology::kWiMax, Technology::IdentifierFromName("wimax")); in TEST_F()
39 EXPECT_EQ(Technology::kCellular, Technology::IdentifierFromName("cellular")); in TEST_F()
40 EXPECT_EQ(Technology::kTunnel, Technology::IdentifierFromName("tunnel")); in TEST_F()
41 EXPECT_EQ(Technology::kLoopback, Technology::IdentifierFromName("loopback")); in TEST_F()
42 EXPECT_EQ(Technology::kVPN, Technology::IdentifierFromName("vpn")); in TEST_F()
43 EXPECT_EQ(Technology::kPPP, Technology::IdentifierFromName("ppp")); in TEST_F()
44 EXPECT_EQ(Technology::kUnknown, Technology::IdentifierFromName("bluetooth")); in TEST_F()
45 EXPECT_EQ(Technology::kUnknown, Technology::IdentifierFromName("foo")); in TEST_F()
46 EXPECT_EQ(Technology::kUnknown, Technology::IdentifierFromName("")); in TEST_F()
50 EXPECT_EQ("ethernet", Technology::NameFromIdentifier(Technology::kEthernet)); in TEST_F()
52 Technology::NameFromIdentifier(Technology::kEthernetEap)); in TEST_F()
53 EXPECT_EQ("wifi", Technology::NameFromIdentifier(Technology::kWifi)); in TEST_F()
54 EXPECT_EQ("wimax", Technology::NameFromIdentifier(Technology::kWiMax)); in TEST_F()
55 EXPECT_EQ("cellular", Technology::NameFromIdentifier(Technology::kCellular)); in TEST_F()
56 EXPECT_EQ("tunnel", Technology::NameFromIdentifier(Technology::kTunnel)); in TEST_F()
57 EXPECT_EQ("loopback", Technology::NameFromIdentifier(Technology::kLoopback)); in TEST_F()
58 EXPECT_EQ("vpn", Technology::NameFromIdentifier(Technology::kVPN)); in TEST_F()
59 EXPECT_EQ("ppp", Technology::NameFromIdentifier(Technology::kPPP)); in TEST_F()
60 EXPECT_EQ("pppoe", Technology::NameFromIdentifier(Technology::kPPPoE)); in TEST_F()
61 EXPECT_EQ("unknown", Technology::NameFromIdentifier(Technology::kUnknown)); in TEST_F()
65 EXPECT_EQ(Technology::kVPN, Technology::IdentifierFromStorageGroup("vpn")); in TEST_F()
66 EXPECT_EQ(Technology::kVPN, Technology::IdentifierFromStorageGroup("vpn_a")); in TEST_F()
67 EXPECT_EQ(Technology::kVPN, Technology::IdentifierFromStorageGroup("vpn__a")); in TEST_F()
68 EXPECT_EQ(Technology::kVPN, in TEST_F()
69 Technology::IdentifierFromStorageGroup("vpn_a_1")); in TEST_F()
70 EXPECT_EQ(Technology::kUnknown, in TEST_F()
71 Technology::IdentifierFromStorageGroup("_vpn")); in TEST_F()
72 EXPECT_EQ(Technology::kUnknown, Technology::IdentifierFromStorageGroup("_")); in TEST_F()
73 EXPECT_EQ(Technology::kUnknown, Technology::IdentifierFromStorageGroup("")); in TEST_F()
77 vector<Technology::Identifier> technologies; in TEST_F()
80 EXPECT_TRUE(Technology::GetTechnologyVectorFromString( in TEST_F()
85 EXPECT_TRUE(Technology::GetTechnologyVectorFromString( in TEST_F()
87 EXPECT_THAT(technologies, ElementsAre(Technology::kEthernet)); in TEST_F()
90 EXPECT_TRUE(Technology::GetTechnologyVectorFromString( in TEST_F()
92 EXPECT_THAT(technologies, ElementsAre(Technology::kEthernet, in TEST_F()
93 Technology::kVPN)); in TEST_F()
96 EXPECT_TRUE(Technology::GetTechnologyVectorFromString( in TEST_F()
98 EXPECT_THAT(technologies, ElementsAre(Technology::kWifi, in TEST_F()
99 Technology::kEthernet, in TEST_F()
100 Technology::kVPN)); in TEST_F()
106 vector<Technology::Identifier> technologies; in TEST_F()
109 EXPECT_FALSE(Technology::GetTechnologyVectorFromString( in TEST_F()
114 EXPECT_FALSE(Technology::GetTechnologyVectorFromString( in TEST_F()
119 EXPECT_FALSE(Technology::GetTechnologyVectorFromString( in TEST_F()
127 vector<Technology::Identifier> technologies; in TEST_F()
130 EXPECT_FALSE(Technology::GetTechnologyVectorFromString( in TEST_F()