From 7bba2fadc4f3d58ba69f66aea4a07fcfd76aa108 Mon Sep 17 00:00:00 2001 From: Dima Granetchi Date: Sun, 16 Nov 2014 05:31:31 +0200 Subject: [PATCH] fix cpp target tests --- test/MetaTest.hx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/MetaTest.hx b/test/MetaTest.hx index b525c70..66b2fba 100644 --- a/test/MetaTest.hx +++ b/test/MetaTest.hx @@ -3,6 +3,8 @@ package ; import bindx.Bind; import bindx.IBindable; import buddy.BuddySuite; +import haxe.rtti.XmlParser; +import haxe.rtti.CType; using buddy.Should; @@ -37,14 +39,15 @@ class MetaTest extends BuddySuite { }); it("bindx inherit metadata params", { - Reflect.hasField(b, "strChanged").should.be(true); // lazySignal=false - Reflect.hasField(b, "str2Changed").should.be(true); // lazySignal=false + @:privateAccess b.strChanged.should.not.be(null); + @:privateAccess b.str2Changed.should.not.be(null); }); }); } } +@:rtti @:bindable(lazySignal=false) class BindableMeta implements IBindable {