tests, tests, tests...
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ class BaseTest extends BuddySuite {
|
|||||||
public function new() {
|
public function new() {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
describe("Base bindx functionality", {
|
describe("Using base functionality", {
|
||||||
|
|
||||||
var b:Bindable1;
|
var b:Bindable1;
|
||||||
var callNum:Int;
|
var callNum:Int;
|
||||||
|
|||||||
+11
-6
@@ -1,13 +1,20 @@
|
|||||||
package ;
|
package ;
|
||||||
|
|
||||||
import bindx.IBindable;
|
|
||||||
import bindx.Bind;
|
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() {
|
public function new() {
|
||||||
super();
|
super();
|
||||||
}
|
|
||||||
|
|
||||||
|
describe("Using classes inheritance", {
|
||||||
|
it("bindx should support class inheritance");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/*
|
||||||
function testChild() {
|
function testChild() {
|
||||||
var c = new BindableChild();
|
var c = new BindableChild();
|
||||||
c.i = 0;
|
c.i = 0;
|
||||||
@@ -29,9 +36,7 @@ class InheritanceTest extends haxe.unit.TestCase {
|
|||||||
});
|
});
|
||||||
c.s = "1";
|
c.s = "1";
|
||||||
assertEquals(sChanged, 1);
|
assertEquals(sChanged, 1);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@:bindable
|
@:bindable
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ class MetaTest extends BuddySuite {
|
|||||||
|
|
||||||
public function new() {
|
public function new() {
|
||||||
|
|
||||||
describe("bindx should inherit @bindable meta", {
|
describe("Using @bindable meta inheritance", {
|
||||||
|
|
||||||
var b:BindableMeta;
|
var b:BindableMeta;
|
||||||
var callNum:Int;
|
var callNum:Int;
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ class SignalTest extends BuddySuite {
|
|||||||
public function new() {
|
public function new() {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
describe("FieldSignal functionality tests", {
|
describe("Using BindSignal", {
|
||||||
|
|
||||||
var fs:FieldSignal<String>;
|
var fs:FieldSignal<String>;
|
||||||
var callNum:Int;
|
var callNum:Int;
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ class TestProperty extends BuddySuite {
|
|||||||
public function new() {
|
public function new() {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
describe("Bindx modify field setter", {
|
describe("Using bind properties", {
|
||||||
|
|
||||||
var b:BindableProperty;
|
var b:BindableProperty;
|
||||||
var callNum:Int;
|
var callNum:Int;
|
||||||
|
|||||||
Reference in New Issue
Block a user