Searched refs:testURL (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
D | ImageResourceTest.cpp | 98 KURL testURL(ParsedURLString, "http://www.test.com/cancelTest.html"); in TEST() local 105 blink::Platform::current()->unitTestSupport()->registerMockedURL(testURL, response, localPath); in TEST() 109 …RefPtr<DocumentLoader> documentLoader = DocumentLoader::create(ResourceRequest(testURL), Substitut… in TEST() 113 ResourcePtr<ImageResource> cachedImage = new ImageResource(ResourceRequest(testURL)); in TEST() 124 EXPECT_NE(reinterpret_cast<Resource*>(0), memoryCache()->resourceForURL(testURL)); in TEST() 129 EXPECT_EQ(reinterpret_cast<Resource*>(0), memoryCache()->resourceForURL(testURL)); in TEST() 131 blink::Platform::current()->unitTestSupport()->unregisterMockedURL(testURL); in TEST()
|
D | ResourceFetcherTest.cpp | 49 KURL testURL(ParsedURLString, "http://www.test.com/cancelTest.jpg"); in TEST() local 54 …RefPtr<DocumentLoader> documentLoader = DocumentLoader::create(ResourceRequest(testURL), Substitut… in TEST() 62 FetchRequest fetchRequest = FetchRequest(ResourceRequest(testURL), FetchInitiatorInfo()); in TEST() 65 EXPECT_EQ(memoryCache()->resourceForURL(testURL), static_cast<Resource*>(0)); in TEST()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | URLTest.java | 614 URL testURL = new URL("http", "www.apache.org:8080", "test.html#anch"); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() local 615 assertEquals("wrong protocol", "http", testURL.getProtocol()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() 616 assertEquals("wrong host", "[www.apache.org:8080]", testURL.getHost()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() 617 assertEquals("wrong port", -1, testURL.getPort()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() 618 assertEquals("wrong file", "test.html", testURL.getFile()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() 619 assertEquals("wrong anchor", "anch", testURL.getRef()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() 972 URL testURL = new URL("http", "hostname", 80, "/java?q1#ref"); in test_getAuthority() local 973 assertEquals("hostname:80", testURL.getAuthority()); in test_getAuthority() 974 assertEquals("hostname", testURL.getHost()); in test_getAuthority() 975 assertNull(testURL.getUserInfo()); in test_getAuthority() [all …]
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
D | WebTestInterfaces.cpp | 78 void WebTestInterfaces::configureForTestWithURL(const WebURL& testURL, bool generatePixels) in configureForTestWithURL() argument 80 m_interfaces->configureForTestWithURL(testURL, generatePixels); in configureForTestWithURL()
|
D | TestInterfaces.cpp | 133 void TestInterfaces::configureForTestWithURL(const WebURL& testURL, bool generatePixels) in configureForTestWithURL() argument 135 string spec = GURL(testURL).spec(); in configureForTestWithURL()
|
/external/chromium_org/third_party/mozilla/ |
D | NSString+Utils.mm | 94 GURL testURL([self UTF8String]); 98 if ((testURL.is_valid()) || [self isLooselyValidatedURI]) {
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | WebFrameTest.cpp | 2952 WebCore::KURL testURL = toKURL("about:blank"); in TEST_F() local 2953 frame->loadHTMLString(simpleSource, testURL); in TEST_F() 2968 frame->loadHTMLString(outerFrameSource, testURL); in TEST_F() 2974 subframe->loadHTMLString("sub<p>text", testURL); in TEST_F() 2994 WebCore::KURL testURL = toKURL("about:blank"); in TEST_F() local 2995 frame->loadHTMLString(simpleSource, testURL); in TEST_F() 3004 frame->loadHTMLString(WebData(html.c_str(), html.length()), testURL); in TEST_F() 4601 WebURL testURL(toKURL("http://www.test.com/first_party_redirect.html")); in TEST_F() local 4609 Platform::current()->unitTestSupport()->registerMockedURL(testURL, redirectResponse, filePath); in TEST_F() 4841 WebCore::KURL testURL = toKURL("about:blank"); in TEST_F() local [all …]
|