diff --git a/engine/src/flutter/tests/js/classes-expected.txt b/engine/src/flutter/tests/js/classes-expected.txt new file mode 100644 index 0000000000..348fbc3cb6 --- /dev/null +++ b/engine/src/flutter/tests/js/classes-expected.txt @@ -0,0 +1,14 @@ +Running 10 tests +ok 1 ES6 classes should create instances +ok 2 ES6 classes should create subclasses +ok 3 ES6 classes should create anonymous classes +ok 4 ES6 classes should put methods on the prototype +ok 5 ES6 classes should call methods with |this| +ok 6 ES6 classes should let toMethod rebind super +ok 7 ES6 classes should support super() constructor calls +ok 8 ES6 classes should automatically call super() in default constructor +ok 9 ES6 classes should call super.method() +ok 10 ES6 classes should support getters and setters +10 tests +10 pass +0 fail diff --git a/engine/src/flutter/tests/js/classes.sky b/engine/src/flutter/tests/js/classes.sky new file mode 100644 index 0000000000..a8d09e272e --- /dev/null +++ b/engine/src/flutter/tests/js/classes.sky @@ -0,0 +1,163 @@ + + + + +