| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2014 The Chromium Authors. All rights reserved. | 2 Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. | 4 found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <link rel="import" href="ct-test-list.html"> | 7 <link rel="import" href="ct-test-list.html"> |
| 8 | 8 |
| 9 <script> | 9 <script> |
| 10 (function () { | 10 (function () { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 "newestPassingRevision": 177165, | 44 "newestPassingRevision": 177165, |
| 45 }, | 45 }, |
| 46 ]; | 46 ]; |
| 47 | 47 |
| 48 module("ct-test-list"); | 48 module("ct-test-list"); |
| 49 | 49 |
| 50 asyncTest("basic", 4, function() { | 50 asyncTest("basic", 4, function() { |
| 51 var list = document.createElement('ct-test-list'); | 51 var list = document.createElement('ct-test-list'); |
| 52 | 52 |
| 53 list.tests = kExampleTests; | 53 list.tests = kExampleTests; |
| 54 list.tree = 'blink'; |
| 54 | 55 |
| 55 Platform.endOfMicrotask(function() { | 56 Platform.endOfMicrotask(function() { |
| 56 var tests = list.shadowRoot.querySelectorAll('a'); | 57 var tests = list.shadowRoot.querySelectorAll('a'); |
| 57 equal(tests.length, 3); | 58 equal(tests.length, 3); |
| 58 equal(tests[0].href, 'http://test-results.appspot.com/dashboards/flakiness_d
ashboard.html#tests=plugins%2Fgesture-events-scrolled.html&testType=foo_step'); | 59 equal(tests[0].href, 'http://test-results.appspot.com/dashboards/flakiness_d
ashboard.html#group=@ToT%20Blink&tests=plugins%2Fgesture-events-scrolled.html&te
stType=foo_step'); |
| 59 equal(tests[1].href, 'http://test-results.appspot.com/dashboards/flakiness_d
ashboard.html#tests=plugins%2Ftransformed-events.html&testType=foo_step'); | 60 equal(tests[1].href, 'http://test-results.appspot.com/dashboards/flakiness_d
ashboard.html#group=@ToT%20Blink&tests=plugins%2Ftransformed-events.html&testTyp
e=foo_step'); |
| 60 equal(tests[2].href, 'http://test-results.appspot.com/dashboards/flakiness_d
ashboard.html#tests=plugins%2Fgesture-events.html&testType=foo_step'); | 61 equal(tests[2].href, 'http://test-results.appspot.com/dashboards/flakiness_d
ashboard.html#group=@ToT%20Blink&tests=plugins%2Fgesture-events.html&testType=fo
o_step'); |
| 61 | 62 |
| 62 start(); | 63 start(); |
| 63 }); | 64 }); |
| 64 }); | 65 }); |
| 65 | 66 |
| 66 })() | 67 })() |
| 67 </script> | 68 </script> |
| OLD | NEW |