Lines Matching refs:ParseSubstring
150 static string ParseSubstring( in ParseSubstring() function in shill::OpenVPNManagementServerTest
152 return OpenVPNManagementServer::ParseSubstring(message, start, end); in ParseSubstring()
380 TEST_F(OpenVPNManagementServerTest, ParseSubstring) { in TEST_F() argument
381 EXPECT_EQ("", ParseSubstring("", "'", "'")); in TEST_F()
382 EXPECT_EQ("", ParseSubstring(" ", "'", "'")); in TEST_F()
383 EXPECT_EQ("", ParseSubstring("'", "'", "'")); in TEST_F()
384 EXPECT_EQ("", ParseSubstring("''", "'", "'")); in TEST_F()
385 EXPECT_EQ("", ParseSubstring("] [", "[", "]")); in TEST_F()
386 EXPECT_EQ("", ParseSubstring("[]", "[", "]")); in TEST_F()
387 EXPECT_EQ("bar", ParseSubstring("foo['bar']zoo", "['", "']")); in TEST_F()
388 EXPECT_EQ("bar", ParseSubstring("foo['bar']", "['", "']")); in TEST_F()
389 EXPECT_EQ("bar", ParseSubstring("['bar']zoo", "['", "']")); in TEST_F()
390 EXPECT_EQ("bar", ParseSubstring("['bar']['zoo']", "['", "']")); in TEST_F()