OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "platform/testing/UnitTestHelpers.h" | 5 #include "platform/testing/UnitTestHelpers.h" |
6 #include "web/tests/sim/SimRequest.h" | 6 #include "web/tests/sim/SimRequest.h" |
7 #include "web/tests/sim/SimTest.h" | 7 #include "web/tests/sim/SimTest.h" |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 | 41 |
42 // Wait for the first data: URL to load | 42 // Wait for the first data: URL to load |
43 testing::RunPendingTasks(); | 43 testing::RunPendingTasks(); |
44 | 44 |
45 // Wait for the second data: URL to load. | 45 // Wait for the second data: URL to load. |
46 testing::RunPendingTasks(); | 46 testing::RunPendingTasks(); |
47 | 47 |
48 ASSERT_GT(ConsoleMessages().size(), 0U); | 48 ASSERT_GT(ConsoleMessages().size(), 0U); |
49 EXPECT_EQ("PASSED", ConsoleMessages()[0]); | 49 EXPECT_EQ("PASSED", ConsoleMessages()[0]); |
50 } | 50 } |
51 } | 51 } // namespace blink |
OLD | NEW |