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

Side by Side Diff: sky/tests/lowlevel/create-document.sky

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months 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
OLDNEW
1 <html> 1 <html>
2 <import src="../resources/chai.sky" />
3 <import src="../resources/mocha.sky" />
4 <script> 2 <script>
5 describe('Document', function() { 3 import "../resources/third_party/unittest/unittest.dart";
6 it('should have a constructor', function() { 4 import "../resources/unit.dart";
5
6 import "dart:sky";
7
8 main() {
9 initUnit();
10
11 test('should have a constructor', () {
7 var doc = new Document(); 12 var doc = new Document();
8 assert.isNotNull(doc); 13 expect(doc, isNotNull);
9 assert.doesNotThrow(function() { 14 // assert.doesNotThrow(function() {
10 doc.registerElement('x-foo'); 15 // doc.registerElement('x-foo');
11 }, 'new document should have a registration context'); 16 // }, 'new document should have a registration context');
12 }); 17 });
13 }); 18 }
14 </script> 19 </script>
15 </html> 20 </html>
OLDNEW
« no previous file with comments | « sky/tests/lowlevel/classlist-expected.txt ('k') | sky/tests/lowlevel/create-document-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698