Home | History | Annotate | Download | only in tests

Lines Matching refs:resources

120     // Retrieve all resources.
122 WebVector<WebURL> resources;
124 m_webView, m_supportedSchemes, &resources, &frames));
126 // Tests that all resources from the frame have been retrieved.
130 EXPECT_EQ(14U, resources.size()); // There should be no duplicates.
131 EXPECT_TRUE(webVectorContains(resources, "http://www.example.com/beautifull.css"));
132 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/awesome.js"));
133 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/bodyBackground.jpg"));
134 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/awesome.png"));
135 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/imageButton.png"));
136 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/tableBackground.png"));
137 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/trBackground.png"));
138 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/tdBackground.png"));
139 EXPECT_TRUE(webVectorContains(resources, "http://www.evene.fr/citations/auteur.php?ida=46"));
140 EXPECT_TRUE(webVectorContains(resources, "http://www.brainyquote.com/quotes/authors/c/charles_darwin.html"));
141 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/why_deleted.html"));
142 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/why_inserted.html"));
143 EXPECT_TRUE(webVectorContains(resources, "https://www.secure.com/https.gif"));
144 EXPECT_TRUE(webVectorContains(resources, "file://c/my_folder/file.gif"));
166 // Retrieve all resources.
168 WebVector<WebURL> resources;
170 m_webView, m_supportedSchemes, &resources, &frames));
172 // Tests that all resources from the frame have been retrieved.
179 EXPECT_EQ(5U, resources.size()); // There should be no duplicates.
180 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/awesome.png"));
181 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/innerFrame.png"));
182 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/flash.swf"));
183 // FIXME: for some reason the following resources is missing on one of the bot
185 // EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/music.mid"));
186 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/object.png"));
187 EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/embed.png"));