2 QUnit.module("Signals", {
6 this.cb = function(e) {
7 QUnit.ok(true, "Scene loaded");
8 var iframe = document.getElementById('daliframe');
9 that.doc = iframe.contentDocument || iframe.contentWindow.document;
10 that.doc.Module.postDaliWrapperRun = function() {
11 dali = that.doc.Module;
15 loadDocument("dali-page.html"+window.location.search, this.cb);
17 teardown : function() {
18 var v = document.getElementById("daliframe");
19 v.removeEventListener("load", this.cb, true);
23 QUnit.test( "hello test", function( assert ) {
30 var actor = new dali.Actor();
31 actor.parentOrigin = [0.5, 0.5, 0.5];
32 actor.anchorPoint = [0.5, 0.5, 0.5];
34 actor.name = actor.text;
35 actor.size = [100, 100, 1];
36 actor.position = [0, 0, 10];
38 actor.connect("onStage", onStage);
40 dali.stage.add(actor);
44 assert.ok(done === true);