• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/android/test/
History log of /frameworks/base/core/java/android/test/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dd86cb7caf224de0df9c5fff7439677972424fec 15-Feb-2013 Jeff Sharkey <jsharkey@android.com> Update scrubClass() to match CoreTestRunner.

AndroidTestCase.scrubClass() is quite aggressive, and would end up
clearing out final fields like these:

private static final byte[] TEST_DATA = new byte[1];

This change updates the logic to match InstrumentationCoreTestRunner
in the cleanup() method.

Change-Id: Iba455ea35b2628473ce0ccc1431ab47c1caad45c
ndroidTestCase.java
ff92aa74c133fd4abe30f97e6849e80db29af253 06-Aug-2012 Nick Kralevich <nnk@google.com> Show more info when a testcase fails.

Change-Id: I5aa6967981824f3291daef915453fe7420cfed9e
ndroidTestCase.java
9be0105fbc56eb1b1813bb7c5fe258a144867a43 22-Jun-2012 Scott Main <smain@google.com> docs: fix several links

Change-Id: I89d9fd64dc22c90680bb05415cc966c255165af9
ackage.html
3aef8e1d1b2f0b87d470bcccf37ba4ebb6560c45 20-Dec-2011 Joe Fernandez <joefernandez@google.com> docs: Add developer guide cross-references, Project ACRE, round 4

Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
ackage.html
3fc03e619fb01678549b80e7a89af2c8e3f19968 20-Oct-2010 Jack Wang <jackwang@google.com> Added RepetitiveTest annotation and test runner support

Change-Id: I7bf0871ede6dd69512c6b6ea3484693ba5b78e89
nstrumentationTestCase.java
epetitiveTest.java
192ab903887bbb8e7c7b6da5c581573850e30f46 25-Feb-2010 Gilles Debunne <debunne@google.com> New test on ContextMenuInfo packed positions.

With and without headers.
Non regression test for bug
http://b/issue?id=1778239

Change-Id: I0235528ac6f8394292bac35f2350f3d5be1e4df7
nstrumentationTestCase.java
326d808b858359464b2ffeb84f2e0a8e0c79b600 10-Dec-2009 Adam Powell <adamp@google.com> Added View#dispatchViewVisibilityChanged and View#onDispatchVisibilityChanged; updated api; tests

Reverted a change to InstrumentationTestCase that would have allowed @UiThreadTest on setUp() methods of tests.
nstrumentationTestCase.java
b3d582d79d4731f3c1ef51cbcb5cabf52884831e 10-Dec-2009 Romain Guy <romainguy@android.com> Fix crash with @UiThreadTest in InstrumentationTestCase.
nstrumentationTestCase.java
d432656e60dd6b3e9a1acb14001bc2d2b886789d 10-Dec-2009 Romain Guy <romainguy@android.com> Add support for @UiThreadTest on setUp() and tearDown() in InstrumentationTestCase.
nstrumentationTestCase.java
4f414bd7a76fc7ff063db70d1cdd09303c28cbe5 07-Nov-2009 Jack Wang <jackwang@google.com> Make perf metrics collection & output via instrumentation simpler

- Added includeDetailedStats metadata to TimedTest for collecting additional
metrics like memory usage and binder transactions
- Added PerformanceCollectorTestCase interface for hard-typing test class as
performance test while still able to inherit from instrumenation test classes
- Reverted previous changes to PerformanceTestBase, will deprecate
PerformanceTestBase/Case in a future CL
- Removed 'performance.' prefix from keys written to instrumentation output
imedTest.java
ff1df69dd4835c177c724e1b5f1ba02d1f674047 27-Aug-2009 Jack Wang <jackwang@google.com> Performance measurement framework:

+ For bug 1810508
- Added PerformanceCollector class to collect runtime and memory usage data
* Moved performance snapshotting from Intrumentation to PerformanceCollector
- Added PerformanceResultsWriter interface which defines functions for
reporting performance data

+ Framework integration
- Added TimedTest annotation to automatically time tests and write results
to instrumentation output
- Modified PerformanceTestBase to add collection hooks and wrapper methods
- Modified WatcherResultPrinter in InstrumentationTestRunner to implement
PerformanceResultsWriter for instrumentation output of performance data
- Modified InstrumentationTestRunner and AndroidTestRunner to pass writer
instance to test
imedTest.java
7aba54b2edcb94f43c991c555b23fc1de364835e 21-Aug-2009 Jack Wang <jackwang@google.com> Fix bug 1546445: Correct spelling errors in API
- InstrumentationTestCase.injectInsrumentation
- AndroidTestRunner.setInstrumentaiton
nstrumentationTestCase.java
nstrumentationTestSuite.java
44a29dd097350e3050e44a2f64aa4c75d26ec695 03-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding "test context" to AndroidTestCase
ndroidTestCase.java
d7ed9175aa269db8977ef05b095cfc2fabcc9c7a 19-Jun-2009 Dianne Hackborn <hackbod@google.com> Fix bug 1927213 test failures.

Eat the security exception that is now thrown by the window manager to
retain the old behavior for tests. (We still need to throw the
exception from the WM for the new permission tests.)
nstrumentationTestCase.java
bedf9df706ef1fe352c1ba0734f50f9e8ad2533e 16-Jun-2009 Karl Rosaen <krosaen@android.com> Add utility methods to AndroidTestCase for asserting permission requirements for launching activities and accessing ContentProviders.
ndroidTestCase.java
df2a463b01fe5222e377828225ca6710d5c14743 21-Apr-2009 Andy Stadler <> AI 147167: am: CL 147162 Emphasize in the javadoc that the "pkg" parameters to
InstrumentationTestCase and its descendants should be the
package manager package name (not the java package name, and
not the test package) of the package holding the Activity
under test.
Added similar notations to the ApiDemos call sites.
JAVADOC ONLY - should be safe change for cupcake sdk.
Original author: stadler
Merged from: //branches/cupcake/...

Automated import of CL 147167
nstrumentationTestCase.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ndroidTestCase.java
lakyTest.java
nstrumentationTestCase.java
nstrumentationTestSuite.java
erformanceTestCase.java
iThreadTest.java
ackage.html
uitebuilder/annotation/LargeTest.java
uitebuilder/annotation/MediumTest.java
uitebuilder/annotation/SmallTest.java
uitebuilder/annotation/Smoke.java
uitebuilder/annotation/Suppress.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ndroidTestCase.java
lakyTest.java
nstrumentationTestCase.java
nstrumentationTestSuite.java
erformanceTestCase.java
iThreadTest.java
ackage.html
uitebuilder/annotation/LargeTest.java
uitebuilder/annotation/MediumTest.java
uitebuilder/annotation/SmallTest.java
uitebuilder/annotation/Smoke.java
uitebuilder/annotation/Suppress.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
nstrumentationTestCase.java
uitebuilder/annotation/LargeTest.java
uitebuilder/annotation/MediumTest.java
uitebuilder/annotation/SmallTest.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
ndroidTestCase.java
lakyTest.java
nstrumentationTestCase.java
nstrumentationTestSuite.java
erformanceTestCase.java
iThreadTest.java
ackage.html
uitebuilder/annotation/Smoke.java
uitebuilder/annotation/Suppress.java