tests, tests, tests...

This commit is contained in:
Dima Granetchi
2014-11-13 22:47:23 +02:00
parent 17aec40ae1
commit c43e4a08a2
5 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -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;
+12 -7
View File
@@ -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
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -10,7 +10,7 @@ class SignalTest extends BuddySuite {
public function new() {
super();
describe("FieldSignal functionality tests", {
describe("Using BindSignal", {
var fs:FieldSignal<String>;
var callNum:Int;
+1 -1
View File
@@ -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;