Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: sky/tests/resources/js-test.sky

Issue 685623002: Move the tests from .html to .sky (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/tests/resources/js-test.html ('k') | sky/tests/resources/mocha.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <script> 1 <script>
2 var isJsTest = true; 2 var isJsTest = true;
3 3
4 var description, debug, successfullyParsed; 4 var description, debug, successfullyParsed;
5 5
6 var expectingError; // set by shouldHaveError() 6 var expectingError; // set by shouldHaveError()
7 var expectedErrorMessage; // set by onerror when expectingError is true 7 var expectedErrorMessage; // set by onerror when expectingError is true
8 var unexpectedErrorMessage; // set by onerror when expectingError is not true 8 var unexpectedErrorMessage; // set by onerror when expectingError is not true
9 9
10 (function() { 10 (function() {
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 isSuccessfullyParsed(); 581 isSuccessfullyParsed();
582 if (self.internals) 582 if (self.internals)
583 internals.notifyTestComplete(internals.contentAsText()); 583 internals.notifyTestComplete(internals.contentAsText());
584 } 584 }
585 585
586 window.addEventListener('load', function() { 586 window.addEventListener('load', function() {
587 if (!self.jsTestIsAsync) 587 if (!self.jsTestIsAsync)
588 finishJSTest(); 588 finishJSTest();
589 }); 589 });
590 </script> 590 </script>
OLDNEW
« no previous file with comments | « sky/tests/resources/js-test.html ('k') | sky/tests/resources/mocha.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698