blob: babe099dc3e9c6cf76e2ca562d265157f6b48dd8 [file] [log] [blame]
Dirk Dougherty2f0b1c12010-05-07 09:11:24 -07001<p>
Joe Malin527cfd62010-04-20 19:54:58 -07002This sample is a simple application that serves as an application under test
3for the <a href="../SpinnerTest/index.html">SpinnerTest</a> test application example.
Dirk Dougherty2f0b1c12010-05-07 09:11:24 -07004</p>
5<p>
Joe Malin527cfd62010-04-20 19:54:58 -07006This application illustrates basic state management across the Android application life cycle,
7mainly for the purpose of highlighting common patterns of Activity testing. When the application
8is first run, the spinner widget displays a default selection of &quot;Earth&quot;.
9Thereafter, the application saves a selection as soon as it
Dirk Dougherty2f0b1c12010-05-07 09:11:24 -070010is made. The application remembers the selection from invocation to invocation, even
11if the device reboots.
12</p>
13<p>
Joe Malin527cfd62010-04-20 19:54:58 -070014The test application <a href="../SpinnerTest/index.html">SpinnerTest</a>
15shows you how to set up tests to monitor and prevent code regressions in the
16management of state across invocations and power cycles.
Dirk Dougherty2f0b1c12010-05-07 09:11:24 -070017</p>
Joe Malin527cfd62010-04-20 19:54:58 -070018<p>
19For more information about this application, see the
20<a href="../../../resources/tutorials/testing/activity_test.html">Activity Testing</a> tutorial.
21</p>