GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Github flash badge
Homepage: http://spinach.andascarygoat.com/tags/badjo
Clone URL: git://github.com/zmack/badjo.git
badjo / test / ProjectTest.as
100644 30 lines (23 sloc) 0.587 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package {
 
  import asunit.framework.TestCase;
 
  public class ProjectTest extends TestCase {
    private var project:Project;
 
    public function ProjectTest(methodName:String=null) {
      super(methodName)
    }
 
    override protected function setUp():void {
      super.setUp();
      project = new Project();
    }
 
    override protected function tearDown():void {
      super.tearDown();
      project = null;
    }
 
    public function testInstantiated():void {
      assertTrue("project is Project", project is Project);
    }
 
    public function testFailure():void {
      assertTrue("Failing test", false);
    }
  }
}