Lines Matching refs:resources

123     // Retrieve all resources.
125 WebVector<WebURL> resources;
127 m_webView, m_supportedSchemes, &resources, &frames));
129 // Tests that all resources from the frame have been retrieved.
133 EXPECT_EQ(14, resources.size()); // There should be no duplicates.
134 EXPECT_TRUE(webVectorContains(resources, "http://www.example.com/beautifull.css"));
135 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/awesome.js"));
136 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/bodyBackground.jpg"));
137 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/awesome.png"));
138 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/imageButton.png"));
139 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/tableBackground.png"));
140 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/trBackground.png"));
141 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/tdBackground.png"));
142 EXPECT_TRUE(webVectorContains(resources, "http://www.evene.fr/citations/auteur.php?ida=46"));
143 EXPECT_TRUE(webVectorContains(resources, "http://www.brainyquote.com/quotes/authors/c/charles_darwin.html"));
144 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/why_deleted.html"));
145 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/why_inserted.html"));
146 EXPECT_TRUE(webVectorContains(resources, "https://www.secure.com/https.gif"));
147 EXPECT_TRUE(webVectorContains(resources, "file://c/my_folder/file.gif"));
169 // Retrieve all resources.
171 WebVector<WebURL> resources;
173 m_webView, m_supportedSchemes, &resources, &frames));
175 // Tests that all resources from the frame have been retrieved.
182 EXPECT_EQ(5, resources.size()); // There should be no duplicates.
183 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/awesome.png"));
184 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/innerFrame.png"));
185 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/flash.swf"));
186 // FIXME: for some reason the following resources is missing on one of the bot
188 // EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/music.mid"));
189 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/object.png"));
190 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/embed.png"));