Dirk Dougherty | 2f0b1c1 | 2010-05-07 09:11:24 -0700 | [diff] [blame] | 1 | <p> |
Joe Malin | 527cfd6 | 2010-04-20 19:54:58 -0700 | [diff] [blame] | 2 | This sample is a simple application that serves as an application under test |
| 3 | for the <a href="../SpinnerTest/index.html">SpinnerTest</a> test application example. |
Dirk Dougherty | 2f0b1c1 | 2010-05-07 09:11:24 -0700 | [diff] [blame] | 4 | </p> |
| 5 | <p> |
Joe Malin | 527cfd6 | 2010-04-20 19:54:58 -0700 | [diff] [blame] | 6 | This application illustrates basic state management across the Android application life cycle, |
| 7 | mainly for the purpose of highlighting common patterns of Activity testing. When the application |
| 8 | is first run, the spinner widget displays a default selection of "Earth". |
| 9 | Thereafter, the application saves a selection as soon as it |
Dirk Dougherty | 2f0b1c1 | 2010-05-07 09:11:24 -0700 | [diff] [blame] | 10 | is made. The application remembers the selection from invocation to invocation, even |
| 11 | if the device reboots. |
| 12 | </p> |
| 13 | <p> |
Joe Malin | 527cfd6 | 2010-04-20 19:54:58 -0700 | [diff] [blame] | 14 | The test application <a href="../SpinnerTest/index.html">SpinnerTest</a> |
| 15 | shows you how to set up tests to monitor and prevent code regressions in the |
| 16 | management of state across invocations and power cycles. |
Dirk Dougherty | 2f0b1c1 | 2010-05-07 09:11:24 -0700 | [diff] [blame] | 17 | </p> |
Joe Malin | 527cfd6 | 2010-04-20 19:54:58 -0700 | [diff] [blame] | 18 | <p> |
| 19 | For more information about this application, see the |
| 20 | <a href="../../../resources/tutorials/testing/activity_test.html">Activity Testing</a> tutorial. |
| 21 | </p> |