| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 var tests = [ | 5 var tests = [ |
| 6 /** | 6 /** |
| 7 * Test that some key elements exist and that they have the appropriate | 7 * Test that some key elements exist and that they have the appropriate |
| 8 * constructor name. This verifies that polymer is working correctly. | 8 * constructor name. This verifies that polymer is working correctly. |
| 9 */ | 9 */ |
| 10 function testHasElements() { | 10 function testHasElements() { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 getFilenameFromURL('http://example.com/name%20with%20spaces.pdf')); | 116 getFilenameFromURL('http://example.com/name%20with%20spaces.pdf')); |
| 117 | 117 |
| 118 chrome.test.assertEq( | 118 chrome.test.assertEq( |
| 119 'invalid%EDname.pdf', | 119 'invalid%EDname.pdf', |
| 120 getFilenameFromURL('http://example.com/invalid%EDname.pdf')); | 120 getFilenameFromURL('http://example.com/invalid%EDname.pdf')); |
| 121 | 121 |
| 122 chrome.test.succeed(); | 122 chrome.test.succeed(); |
| 123 } | 123 } |
| 124 ]; | 124 ]; |
| 125 | 125 |
| 126 importTestHelpers().then(function() { | 126 chrome.test.runTests(tests); |
| 127 chrome.test.runTests(tests); | |
| 128 }); | |
| OLD | NEW |