Home
last modified time | relevance | path

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

/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java402 String[] matchingHeaders = request.getHeaders(X_REQUESTED_WITH); in testAppInjectedXRequestedWithHeaderIsNotOverwritten() local
403 assertEquals(1, matchingHeaders.length); in testAppInjectedXRequestedWithHeaderIsNotOverwritten()
405 String header = matchingHeaders[0]; in testAppInjectedXRequestedWithHeaderIsNotOverwritten()
426 String[] matchingHeaders = request.getHeaders(X_REQUESTED_WITH); in testAppCanInjectHeadersViaImmutableMap() local
427 assertEquals(1, matchingHeaders.length); in testAppCanInjectHeadersViaImmutableMap()
429 String header = matchingHeaders[0]; in testAppCanInjectHeadersViaImmutableMap()
451 String[] matchingHeaders = request.getHeaders(header); in testCanInjectHeaders() local
452 assertEquals("header " + header + " not found", 1, matchingHeaders.length); in testCanInjectHeaders()
453 assertEquals(value.getValue(), matchingHeaders[0]); in testCanInjectHeaders() local