Home
last modified time | relevance | path

Searched refs:errStr (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/cmds/lshal/
Dtest.cpp837 std::string errStr = err.str(); in TEST_F() local
838 EXPECT_THAT(errStr, ContainsRegex("(^|\n)commands:($|\n)")) in TEST_F()
840 EXPECT_THAT(errStr, ContainsRegex("(^|\n)list:($|\n)")) in TEST_F()
842 EXPECT_THAT(errStr, ContainsRegex("(^|\n)debug:($|\n)")) in TEST_F()
844 EXPECT_THAT(errStr, ContainsRegex("(^|\n)help:($|\n)")) in TEST_F()
849 EXPECT_EQ(errStr, err.str()) << "`lshal help` should have the same output as `lshal --help`"; in TEST_F()
854 EXPECT_THAT(err.str(), EndsWith(errStr)) in TEST_F()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java786 final String errStr = expectation ? "did not find" : "found"; in assertPrefixSet() local
788 String.format("Failed expectation: %s prefix: %s", errStr, expectedPrefix), in assertPrefixSet()