mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
These interfaces are currently unused by the engine, but they are constructable. See apis.md for details. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/697873007
19 lines
550 B
Plaintext
19 lines
550 B
Plaintext
<html>
|
|
<import src="../resources/chai.sky" />
|
|
<import src="../resources/mocha.sky" />
|
|
<script>
|
|
describe('Module', function() {
|
|
it('should be constructable', function() {
|
|
var doc1 = new Document();
|
|
var app = new Application(doc1, "http://www.example.com/app");
|
|
|
|
var doc2 = new Document();
|
|
var module = new Module(app, doc2, "http://www.example.com/module");
|
|
assert.equal(module.application, app);
|
|
assert.equal(module.document, doc2);
|
|
assert.equal(module.url, "http://www.example.com/module");
|
|
});
|
|
});
|
|
</script>
|
|
</html>
|