|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectTestCase
edu.washington.cs.supple.test.ExampleApplicationTest
ApplicationTest checks for solutions to application UI. It is parameterized by application, device, and screen size. The JUnit test suite checks our example apps against a matrix of devices and screen sizes.
| Field Summary | |
static boolean |
bImpatient
If bImpatient is true, tests fail if first solution isn't reached in a minimum amount of time. |
| Constructor Summary | |
ExampleApplicationTest(java.lang.Class applicationClass,
java.lang.Class deviceClass,
java.awt.Dimension screenSize)
Create an individual test case |
|
ExampleApplicationTest(SuppleApplication application,
java.lang.Class deviceClass,
java.awt.Dimension screenSize)
Create an individual test case |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Run the test suite manually... |
void |
runTest()
Run all the tests...ovverides reflection (we want the name to include fixture info) |
protected void |
setUp()
|
void |
solutionAvailable(Solution solution)
This method is called when the search comes up with an improvement to the interface -- allows the listener to use the partial results |
static Test |
suite()
Build the complete test matrix |
protected void |
tearDown()
|
void |
testSolveMain()
Open up the app UI and see if a solution can be found |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static boolean bImpatient
| Constructor Detail |
public ExampleApplicationTest(java.lang.Class applicationClass,
java.lang.Class deviceClass,
java.awt.Dimension screenSize)
applicationClass - deviceClass - screenSize -
public ExampleApplicationTest(SuppleApplication application,
java.lang.Class deviceClass,
java.awt.Dimension screenSize)
deviceClass - screenSize - | Method Detail |
public void runTest()
public static Test suite()
public static void main(java.lang.String[] args)
args -
protected void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testSolveMain()
public void solutionAvailable(Solution solution)
SolverListener
solutionAvailable in interface SolverListener
protected void tearDown()
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||