Tests for ActivityManager#isUserAMonkey
Bug 5882598
- Add a host side test that installs an activity that logs whether or
not the user is a monkey. The host executes "adb shell monkey" and
the test then parses the lines looking for the log line printed out
by the activity.
- Creates a new top level CTS directory called "hostsidetests" to put
all host side tests under rather than putting it under "tests"
since that directory is more for the com.android.cts.stub package
and I would like to avoid cluttering that directory as we add more
host side tests.
Change-Id: I9d7b571b0244867e84bdff14418a544c713578e1
diff --git a/development/ide/eclipse/.classpath b/development/ide/eclipse/.classpath
index 90963fb..ac00919 100644
--- a/development/ide/eclipse/.classpath
+++ b/development/ide/eclipse/.classpath
@@ -4,6 +4,8 @@
<classpathentry kind="lib" path="prebuilt/common/tradefed/tradefed-prebuilt.jar"/>
<classpathentry kind="src" path="cts/apps/CtsVerifier/src"/>
<classpathentry kind="src" path="cts/apps/CtsVerifier/tests/src"/>
+ <classpathentry kind="src" path="cts/hostsidetests/monkey/src"/>
+ <classpathentry kind="src" path="cts/hostsidetests/monkey/test-apps/CtsMonkeyApp/src"/>
<classpathentry kind="src" path="cts/libs/vogar-expect/src"/>
<classpathentry kind="src" path="cts/tests/ApiDemosReferenceTest/src"/>
<classpathentry kind="src" path="cts/tests/ProcessTest/src"/>
@@ -37,7 +39,9 @@
<classpathentry kind="src" path="cts/tests/tests/jni/src"/>
<classpathentry kind="src" path="cts/tests/tests/location/src"/>
<classpathentry kind="src" path="cts/tests/tests/media/src"/>
+ <classpathentry kind="src" path="cts/tests/tests/mediastress/src"/>
<classpathentry kind="src" path="cts/tests/tests/net/src"/>
+ <classpathentry kind="src" path="cts/tests/tests/openglperf/src"/>
<classpathentry kind="src" path="cts/tests/tests/os/src"/>
<classpathentry kind="src" path="cts/tests/tests/performance/src"/>
<classpathentry kind="src" path="cts/tests/tests/performance2/src"/>