Searched refs:assertSuccess (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tests/net/java/android/net/captiveportal/ |
D | CaptivePortalProbeSpecTest.java | 47 assertSuccess(statusRegexSpec.getResult(200, null)); in testGetResult_Regex() 48 assertSuccess(statusRegexSpec.getResult(299, "qwer")); in testGetResult_Regex() 49 assertSuccess(statusRegexSpec.getResult(404, null)); in testGetResult_Regex() 50 assertSuccess(statusRegexSpec.getResult(404, "")); in testGetResult_Regex() 56 assertSuccess(redirectSpec.getResult(404, null)); in testGetResult_Regex() 57 assertSuccess(redirectSpec.getResult(404, "")); in testGetResult_Regex() 58 assertSuccess(redirectSpec.getResult(301, "https://www.google.com")); in testGetResult_Regex() 59 assertSuccess(redirectSpec.getResult(301, "https://www.google.com/test?q=3")); in testGetResult_Regex() 60 assertSuccess(redirectSpec.getResult(302, "https://google.com/test?q=3")); in testGetResult_Regex() 123 assertSuccess(spec.getResult(302, redirectUrl)); in testParseSpecOrNull_UsesSpec() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest7.java | 21 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertSuccess; 98 assertSuccess(callShellCommand("reset-config")); in testRoot() 107 assertSuccess(callShellCommand("reset-config")); in testRestConfig() 116 assertSuccess(callShellCommand("override-config", in testOverrideConfig() 133 assertSuccess(callShellCommand("reset-throttling")); in testResetThrottling() 185 assertSuccess(callShellCommand("reset-throttling", "--user", "10")); in testResetThrottling_user_running() 206 assertSuccess(callShellCommand("reset-all-throttling")); in testResetAllThrottling() 238 assertSuccess(callShellCommand("get-default-launcher")), in testLauncherCommands() 242 assertSuccess(callShellCommand("get-default-launcher", "--user", "10")), in testLauncherCommands() 246 assertSuccess(callShellCommand("clear-default-launcher", "--user", "10")); in testLauncherCommands() [all …]
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 147 public static List<String> assertSuccess(List<String> result) { in assertSuccess() method in ShortcutManagerTestUtils
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 3571 boolean assertSuccess, in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions() argument 3590 assertEquals(assertSuccess, result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
|