Home
last modified time | relevance | path

Searched refs:expectedUrl (Results 1 – 7 of 7) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/
DUrlTextPreferenceTest.java46 String expectedUrl = "www.test.com"; in onBindViewHolder_checkClickableLinkIsCorrect() local
49 "test provider", expectedUrl); in onBindViewHolder_checkClickableLinkIsCorrect()
66 HelpActivity.EXTRA_URL_PARAM)).isEqualTo(expectedUrl); in onBindViewHolder_checkClickableLinkIsCorrect()
DProvisionInfoListAdapterTest.java149 private String getExpectedUrlString(String expectedUrl, int expectedTextId) { in getExpectedUrlString() argument
151 mTestActivity.getString(expectedTextId), TEST_PROVIDER, expectedUrl); in getExpectedUrlString()
156 private void assertUrlIsExpected(CharSequence actualText, String expectedUrl) { in assertUrlIsExpected() argument
163 HelpActivity.EXTRA_URL_PARAM)).isEqualTo(expectedUrl); in assertUrlIsExpected()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPermissionRationaleTest.kt364 val expectedUrl = getPermissionControllerResString(HELP_CENTER_URL_ID)!! in <lambda>() constant
366 assertTrue(observedIntentDataString?.startsWith(expectedUrl) ?: false) in <lambda>()
DAppDataSharingUpdatesTest.kt707 val expectedUrl = getPermissionControllerResString(HELP_CENTER_URL_ID)!! in <lambda>() constant
709 assertTrue(observedIntentDataString?.startsWith(expectedUrl) ?: false) in <lambda>()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java2263 public void setupAndLaunchCaptivePortalApp(final NetworkMonitor nm, String expectedUrl) in setupAndLaunchCaptivePortalApp() argument
2292 assertEquals(expectedUrl, redirectUrl); in setupAndLaunchCaptivePortalApp()
2308 private void testCaptivePortalLogin(String expectedUrl) throws Exception { in testCaptivePortalLogin() argument
2310 setupAndLaunchCaptivePortalApp(nm, expectedUrl); in testCaptivePortalLogin()
2336 private void testCaptivePortalUseAsIs(String expectedUrl) throws Exception { in testCaptivePortalUseAsIs() argument
2338 setupAndLaunchCaptivePortalApp(nm, expectedUrl); in testCaptivePortalUseAsIs()
3168 private void testDismissPortalInValidatedNetworkEnabled(String expectedUrl, String locationUrl) in testDismissPortalInValidatedNetworkEnabled() argument
3197 assertEquals(expectedUrl, redirectUrl); in testDismissPortalInValidatedNetworkEnabled()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java664 final String expectedUrl = server.makeUrl(downloadQuery); in testDownload() local
666 any() /* userAgent */, eq(expectedUrl), eq(filename), in testDownload()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java2770 final Uri expectedUrl = featureEnabled && serverSendsOption
2784 assertEquals(expectedUrl, expectedLp.getCaptivePortalApiUrl());
2817 final Uri expectedUrl = Uri.parse(TEST_CAPTIVE_PORTAL_URL);
2818 assertEquals(expectedUrl, lp.getCaptivePortalApiUrl());