10 Commits

Author SHA1 Message Date
Brett Chabot
8debcfa290 Build Smoke tests against the SDK.
Done so the new 'launch all apps' test can be utilized on older platforms.

Change-Id: Ie74ce258ceb372e78a0634a633bbb19dcd8e2779
2012-04-16 10:35:32 -07:00
Omari Stephens
bf29121c21 Try to make error messages more useful and improve ANR handling
Bug: 6128185
Change-Id: I6032a199c26577fb3058ff4038085de257781d81
2012-03-13 23:17:45 -07:00
Omari Stephens
ad8037e3a9 Avoid crashes in a single app from causing cascading test failures
This should work properly for crashes.  It currently doesn't do the right
thing for ANRs since, in a lot of cases, they seem to happen asynchronously
_after_ the testcase has ended.  Will try to improve that behavior with a
subsequent change.

Bug: 6128185
Change-Id: Ie535141e879062c11ee7108b37d282a33a5b5eef
2012-03-13 21:57:54 -07:00
Omari Stephens
5ae3dfe59d Refactor smoke tests to enable one-app-per-testcase runs
Also creates a special TestRunner which runs one app per testcase.  Note that
running the smoke tests with android.test.InstrumentationTestRunner will /also/
work, but will run all of the launchable activites in a single testcase called
testRunAllActivities.

Bug: 6128185
Change-Id: Iffedff7e6105bbca614778a4d294d3be421f19d6
2012-03-12 15:26:11 -07:00
Omari Stephens
9f5a511a08 Add a method to the smoke test that launches each app
Bug: 5888360
Change-Id: I4a68bc8fef71fd7f89b3a7a997323bfaefadc3eb
2012-02-13 19:01:17 -08:00
Dan Egnor
b7f0367cec Eliminate CrashData and friends.
(CrashData was a custom-marshalled crash-info class used for a server crash
reporting system I am deprecating).  Use ApplicationErrorReport.CrashInfo
instead to report crash details (mostly the stack trace) from RuntimeInfo to
ActivityManagerService, since we're likely to need the crash information in
that form anyway.

Remove the (long-disabled) flags and support for the "Debug" button
in the crash dialog.

Further gut the ICheckinService interface by removing the crash-reporting
APIs (and everything that calls them), plus the synchronous checkin()
method (which has been stubbed out for a while now).

A new dropbox-based crash reporting system is in the works, but not part
of this change.
2009-12-11 13:27:04 -08:00
The Android Open Source Project
9066cfe988 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
The Android Open Source Project
d83a98f4ce auto import from //depot/cupcake/@135843 2009-03-03 18:28:45 -08:00
The Android Open Source Project
d24b8183b9 auto import from //branches/cupcake/...@130745 2009-02-10 15:44:00 -08:00
The Android Open Source Project
b798689749 auto import from //branches/cupcake/...@125939 2009-01-09 17:51:23 -08:00