001 package test; 002 003 import junit.framework.Test; 004 import junit.framework.TestSuite; 005 006 007 /** 008 * SpecificationTests is a simple TestSuite that includes and runs all the tests 009 * in {@link RatNumTest}, {@link RatPolyTest}, and {@link RatPolyStackTest}. 010 */ 011 public final class SpecificationTests extends TestSuite { 012 public static Test suite() { 013 return new SpecificationTests(); 014 } 015 016 public SpecificationTests() { 017 this("Gizmo ball tests"); 018 } 019 020 public SpecificationTests(String s) { 021 super(s); 022 //addTestSuite(BallAndAbsorber.class); 023 addTestSuite(TestBall.class); 024 addTestSuite(TestCircleBumper.class); 025 addTestSuite(TestGamePhysics.class); 026 addTestSuite(TestGameSpace.class); 027 addTestSuite(TestSquareBumper.class); 028 addTestSuite(TestTriangleBumper.class); 029 030 031 } 032 033 }