Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tjdavies committed Feb 7, 2012
1 parent 8eb8c17 commit 0f0bec9
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 51 deletions.
50 changes: 0 additions & 50 deletions src/FlexUnitApplication.mxml

This file was deleted.

37 changes: 37 additions & 0 deletions test/AllTests.as
@@ -0,0 +1,37 @@
/**
* Created by IntelliJ IDEA.
* User: tom
* Date: 07/02/12
* Time: 09:27
* To change this template use File | Settings | File Templates.
*/
package {
import com.tomseysdavies.ember.entitySystem.impl.NodeConfigurationTest;
import com.tomseysdavies.ember.io.JsonSerialiserTest;
import com.tomseysdavies.utils.VectorMapTest;

import flexunit.framework.Test;

import flexunit.framework.TestSuite;

[Suite]
[RunWith("org.flexunit.runners.Suite")]
public class AllTests {


public var t1:com.tomseysdavies.ember.entitySystem.impl.EntitySystemTest;
public var t2:com.tomseysdavies.ember.entitySystem.impl.SystemsTest;
public var t3:com.tomseysdavies.ember.io.ComponentConfigTests;
public var t4:com.tomseysdavies.ember.entitySystem.impl.EntityTest;
public var t5:com.tomseysdavies.ember.entitySystem.impl.NodeConfigurationTest;
public var t6:com.tomseysdavies.ember.io.ComponentEncoderTest;
public var t7:com.tomseysdavies.ember.io.EntityEncoderTest;
public var t8:com.tomseysdavies.utils.VectorMapTest;
public var t9:com.tomseysdavies.ember.io.JsonSerialiserTest;





}
}
Expand Up @@ -65,7 +65,7 @@ public class EntitySystemTest
var a:IEntity = system.create(); var a:IEntity = system.create();
var b:IEntity = system.create(); var b:IEntity = system.create();


assertThat(system.getAll(), hasItem(a), hasItem(b)); assertTrue(system.getAll(), hasItem(a), hasItem(b));
} }


[Test] [Test]
Expand Down

0 comments on commit 0f0bec9

Please sign in to comment.