From c43e4a08a2ccfc72e51440d0ec505fd68cfdc59e Mon Sep 17 00:00:00 2001 From: Dima Granetchi Date: Thu, 13 Nov 2014 22:47:23 +0200 Subject: [PATCH] tests, tests, tests... --- test/BaseTest.hx | 2 +- test/InheritanceTest.hx | 19 ++++++++++++------- test/MetaTest.hx | 2 +- test/SignalTest.hx | 2 +- test/TestProperty.hx | 2 +- 5 files changed, 16 insertions(+), 11 deletions(-) diff --git a/test/BaseTest.hx b/test/BaseTest.hx index ddb768b..73294b5 100644 --- a/test/BaseTest.hx +++ b/test/BaseTest.hx @@ -11,7 +11,7 @@ class BaseTest extends BuddySuite { public function new() { super(); - describe("Base bindx functionality", { + describe("Using base functionality", { var b:Bindable1; var callNum:Int; diff --git a/test/InheritanceTest.hx b/test/InheritanceTest.hx index de51c86..c710b16 100644 --- a/test/InheritanceTest.hx +++ b/test/InheritanceTest.hx @@ -1,13 +1,20 @@ package ; -import bindx.IBindable; import bindx.Bind; +import bindx.IBindable; +import buddy.BuddySuite; -class InheritanceTest extends haxe.unit.TestCase { +using buddy.Should; + +class InheritanceTest extends BuddySuite { public function new() { super(); - } - + + describe("Using classes inheritance", { + it("bindx should support class inheritance"); + }); + } + /* function testChild() { var c = new BindableChild(); c.i = 0; @@ -29,9 +36,7 @@ class InheritanceTest extends haxe.unit.TestCase { }); c.s = "1"; assertEquals(sChanged, 1); - } - - + }*/ } @:bindable diff --git a/test/MetaTest.hx b/test/MetaTest.hx index fe8b178..b525c70 100644 --- a/test/MetaTest.hx +++ b/test/MetaTest.hx @@ -10,7 +10,7 @@ class MetaTest extends BuddySuite { public function new() { - describe("bindx should inherit @bindable meta", { + describe("Using @bindable meta inheritance", { var b:BindableMeta; var callNum:Int; diff --git a/test/SignalTest.hx b/test/SignalTest.hx index 8b882bf..357cbb2 100644 --- a/test/SignalTest.hx +++ b/test/SignalTest.hx @@ -10,7 +10,7 @@ class SignalTest extends BuddySuite { public function new() { super(); - describe("FieldSignal functionality tests", { + describe("Using BindSignal", { var fs:FieldSignal; var callNum:Int; diff --git a/test/TestProperty.hx b/test/TestProperty.hx index 9bcfead..13a3a6f 100644 --- a/test/TestProperty.hx +++ b/test/TestProperty.hx @@ -10,7 +10,7 @@ class TestProperty extends BuddySuite { public function new() { super(); - describe("Bindx modify field setter", { + describe("Using bind properties", { var b:BindableProperty; var callNum:Int;