Home
last modified time | relevance | path

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

/frameworks/native/cmds/lshal/
Dtest.cpp611 std::string errStr = err.str(); in TEST_F() local
612 EXPECT_THAT(errStr, ContainsRegex("(^|\n)commands:($|\n)")) in TEST_F()
614 EXPECT_THAT(errStr, ContainsRegex("(^|\n)list:($|\n)")) in TEST_F()
616 EXPECT_THAT(errStr, ContainsRegex("(^|\n)debug:($|\n)")) in TEST_F()
618 EXPECT_THAT(errStr, ContainsRegex("(^|\n)help:($|\n)")) in TEST_F()
623 EXPECT_EQ(errStr, err.str()) << "`lshal help` should have the same output as `lshal --help`"; in TEST_F()
628 EXPECT_THAT(err.str(), EndsWith(errStr)) in TEST_F()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java629 final String errStr = expectation ? "did not find" : "found"; in assertPrefixSet() local
631 String.format("Failed expectation: %s prefix: %s", errStr, expectedPrefix), in assertPrefixSet()