History log of /frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3ae8c42152d890ab771053fa6b16b038ee44326d 06-Mar-2012 Guang Zhu <guangzhu@google.com> Update to DumpRenderTree test harness

* removed some unused parameters
* removed obsolete live website test harness
* updated test class so that mean suite time for page cycler
is emmitted via instrumentation status

Change-Id: Iccb40f70a62a4ac9b8d5bceab9a6a715c611c573
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
f6d1b3f125b06fcc4847be3cfb35e8ce21905676 27-Apr-2011 Guang Zhu <guangzhu@google.com> Make DRT pull data over network

command format:

adb shell am instrument -w -e class \
com.android.dumprendertree.LoadTestsAutoTest#runPageCyclerTest \
-e suite moz \
-e iteration 1 \
-e forward android-browser-test:80/page_cycler/ \
com.android.dumprendertree/.LayoutTestsAutoRunner

Change-Id: Ib4e9db28953f6be155517bb4b139e4477305c2c2
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
71716223201a01a4f4b6fe182ad97720b7d06124 13-Jan-2011 Guang Zhu <guangzhu@google.com> change webkit test data path

path changed from "/sdcard/android/" to "/sdcard/webkit/". the
old path clashes with "/sdcard/Android/" and has some odd issues
under FUSE

Change-Id: I57102dca99612bdd7b4d1f196e43436cd1276281
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
0006952a8dc5a115cceb597ac53ec5bce703fd4f 06-Dec-2010 Guang Zhu <guangzhu@google.com> change how assets are copied out of apk

Currently test code use getActivity to get DRT's assets. However
the side effect is that this will actually launch the activity.
This is not affecting any tests yet, however there are cleaner
ways to do this. The instrumentation framework provides a
getTargetContext call which will give access to app under test's
context, and therefore granting access to its assets.

Change-Id: I0560b0fa5681f80bcb9296beec3fd0549c40cc8e
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
5aa1c034d9bfdb2744f637c4686adf20a7ed9975 30-Jul-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 8a76a908 to master

Change-Id: I8983d5c93dfa12d87449ac9f9a17a5aafdadef0a
8b85dceadf281705a94d7546556fa5969364a658 19-Jul-2010 Christian Mehlmauer <FireFart@gmail.com> Replaced /sdcard with Environment.getExternalStorageDirectory()

Change-Id: I9a7413f81090b69c82ca6b1e585f5e379b19e60c
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
5d53c19a10ab677d2ebcec0bfecc3b628663f407 15-Jul-2010 Guang Zhu <guangzhu@google.com> add a paramter to control page-load-termination-on-JS-error

A previous change terminates page load if there's certain JS errors;
the intention was to speed up layout tests such that page accessing
non-existent test controllers/methods will get immediate termination
instead of waiting on timeout. However this causes problem for page
cycler because it may interrupt the test run too early. Also there
was a bug on bracketing on the termination conditions (operator
precendence issue).

Change-Id: I2f19e48fa0061286fddf0f7cbb4953d7f7d88f76
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
a88837573e4b99dafd901cfc36589e3ab9449873 12-Jul-2010 Steve Block <steveblock@google.com> Update DumpRenderTree to look in platform/android for Android-specific results

Change-Id: I32044fc8e22d419762e275cd69b0c785a7f4c8a5
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
9b815d080145f0bc8effc9e011090010ad51f203 01-Jun-2010 Ben Murdoch <benm@google.com> DumpRenderTree changes

- Make the layout test counter work when you run tests through the GUI
- Use the progress bar in the applications title bar to display test progress

Change-Id: I3d4b778470e812b80b7a64297b3a64ba6f9d083c
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
fb4b88fddb95ae37bafb304bec8d7f0a0d447dd9 26-May-2010 Kristian Monsen <kristianm@google.com> Fixes an error when displaying the current layout test index.

This fixes a bug in commit https://android-git.corp.google.com/g/#change,52518.
Updated index to be zero based when passed around and off by one error on
resume. Note that previous commit changes how DumpRenderTree dumps titles.
This might affect the results of layout tests.

Change-Id: I3d6989d71c336f90168e38c994dd36743bda365c
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
521d9a798613cc9ad850f42343d2fbfa6c98f5c7 25-May-2010 Kristian Monsen <kristianm@google.com> Display index and count when running layout tests

Change-Id: I8b925784aead96a1be6344d654d0376dee2047eb
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
c1d8651538cf01881c42d638c836ff6405037ffe 13-May-2010 Steve Block <steveblock@google.com> Change the default JS engine for Android-specific layout test results in DRT from JSC to V8

Change-Id: Idaf5602d7f45533058b0f43d66377b10b1e7d708
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
6c15f6003a69e664f132342be2252a77e480495b 03-May-2010 Guang Zhu <guangzhu@google.com> improvements on layout test

* reduce timeout limit from 30s to 15s
* terminate a test case under some condition on uncaught JS exception
* minor fixes

Change-Id: Iabc8f214544d2c8c14139756abc049870023fea5
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
cf0fd7892b7208ebfa35809b63fc8e4d60e4d466 09-Mar-2010 Steve Block <steveblock@google.com> Adds to DumpRenderTree the ability to ignore the results of tests

Change-Id: I7c16d9713fc35c773b810f9d5ce6700f8d9a28e4
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
5ac2a3bd697cb86022aa7d4dc0c8fbd6a10b8193 09-Mar-2010 Steve Block <steveblock@google.com> Removes from DumpRenderTree the superfluous result file for tests that time out.

This file is currently not used. Tests that time out are reported as failures.

Also fixes naming in code for tests that have no text results.

Change-Id: I6412db4dcf9884abdc80f5cff525ef9431bad001
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
12077e1179b4035ae2b1a44ccf9cd540e14b182e 25-Feb-2010 Steve Block <steveblock@google.com> Adds to DumpRenderTree the ability to look for Android-specific results

These Android-specific results will be added to
external/webkit/LayoutTests/platform/android-<js-engine> and are used in
preference to the generic expected results.

The JavaScript engine to use is read from the JS_ENGINE environment variable
used by the build system or can be overridden on the command line. If neither
is set, it defaults to JSC.

Change-Id: Ia8d107ced3968a5c061fd6f0f57451419bab6b27
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
8cd303aec6f11ea9fece70f6e3d82efb607f8637 23-Feb-2010 Guang Zhu <guangzhu@google.com> Quick fix layout test path problems

SD card mount point has changed from /sdcard to /mnt/sdcard. layout test was calling getCanonicalPath to determine the path to the test case, which causes problem because /sdcard is now a symlink, and canonical path is actually the "real" path. Using quick dirty fix for now, will properly migrate any hard-coded reference to "/sdcard" to system function calls.
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
ea48cd6dd4e64bcb5c840a12fe052f704510e01c 12-Nov-2009 Guang Zhu <guangzhu@google.com> Use a diff that ignores trailing whitespaces to get by some layout test failures.
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
6bf18bae60ae1ff0bf2407e8db115cbbab6f1b84 16-Sep-2009 Guang Zhu <guangzhu@google.com> Refactor logic for starting forward servers and http test cases hacking, so that they can be shared between automated test mode and UI launch mode.
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
b937ba138fd75116cb773405e34c1312353b6b57 02-Sep-2009 Guang Zhu <guangzhu@google.com> Read forward address from file for DRT, fallback to default address

modified: tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
f3d924ca0d3e8225824eb50540962e1890fea6f2 01-Sep-2009 Guang Zhu <guangzhu@google.com> Set a default dump type for DRT as a workaround for indeterministic order in receiving dumpAsText and onPageFinish callback.
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
4a40a039c020d339df14896448defa59efcc910d 01-Sep-2009 Guang Zhu <guangzhu@google.com> At leaset log the layout test timeouts
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
f4bf552b5a5046e7648f405115ee48917b15b9aa 23-Jul-2009 Guang Zhu <guangzhu@google.com> checkin for port forwarding through adb, gets access to external network via USB, this also adds in related plumbing for running the http hosted tests, but will not enable those tests yet.
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
f92bd42a702af7047ac4bd7c95b4a82973b7a79d 29-Jun-2009 Guang Zhu <guangzhu@google.com> Added a new operation mode where user can launch all tests under a folder from test app ui.
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
2a197b128a2317eec6efaa0a21e529cdf534c6f2 18-May-2009 Guang Zhu <guangzhu@google.com> Fixed IndexOutofBoundException, improved how memory information is captured (run GC first)
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
4010ac35b1e49d659d7a32cc191302b8e2d8758a 29-Apr-2009 Guang Zhu <guangzhu@google.com> added reliability test usding DumpRenderTree
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
b933f669e26afad8a2466edcae8c1ffda6c15721 05-May-2009 Guang Zhu <guangzhu@google.com> Back-merge all changes done in master to DumpRenderTree to donut.
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
36fd6d243ee5414618e8bc2cbdc6c0a6f311157f 31-Mar-2009 Sridhar Gurivireddy <> AI 143779: am: CL 143727 Make the test runner and results assets of DumpRendertree. This is done so that we could have
1) Lab machines can run layout tests without having build environment setup
2) We could have different set of pass/fail results per branch
Also added a simple python script which runs run_layout_tests.py
Original author: sridharg
Merged from: //branches/cupcake/...

Automated import of CL 143779
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java