fix cpp target tests

This commit is contained in:
Dima Granetchi
2014-11-16 05:31:31 +02:00
parent 70cd6b3451
commit 7bba2fadc4
+5 -2
View File
@@ -3,6 +3,8 @@ package ;
import bindx.Bind; import bindx.Bind;
import bindx.IBindable; import bindx.IBindable;
import buddy.BuddySuite; import buddy.BuddySuite;
import haxe.rtti.XmlParser;
import haxe.rtti.CType;
using buddy.Should; using buddy.Should;
@@ -37,14 +39,15 @@ class MetaTest extends BuddySuite {
}); });
it("bindx inherit metadata params", { it("bindx inherit metadata params", {
Reflect.hasField(b, "strChanged").should.be(true); // lazySignal=false @:privateAccess b.strChanged.should.not.be(null);
Reflect.hasField(b, "str2Changed").should.be(true); // lazySignal=false @:privateAccess b.str2Changed.should.not.be(null);
}); });
}); });
} }
} }
@:rtti
@:bindable(lazySignal=false) @:bindable(lazySignal=false)
class BindableMeta implements IBindable { class BindableMeta implements IBindable {