summaryrefslogtreecommitdiff
path: root/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
AgeCommit message (Collapse)Author
2013-08-25Remove WebViewClassic specific test codeJonathan Dixon
Bug: 10427705 These tested internals of WebViewClassic and will no longer build when that is removed Change-Id: I42af538dcb0343e9eff0b3fa85d7ff39f19c7c61
2012-03-05Update to DumpRenderTree test harnessGuang Zhu
* 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
2011-04-26Make DRT pull data over networkGuang Zhu
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
2011-01-12change webkit test data pathGuang Zhu
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
2010-12-06change how assets are copied out of apkGuang Zhu
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
2010-07-29resolved conflicts for merge of 8a76a908 to masterJean-Baptiste Queru
Change-Id: I8983d5c93dfa12d87449ac9f9a17a5aafdadef0a
2010-07-19Replaced /sdcard with Environment.getExternalStorageDirectory()Christian Mehlmauer
Change-Id: I9a7413f81090b69c82ca6b1e585f5e379b19e60c
2010-07-14add a paramter to control page-load-termination-on-JS-errorGuang Zhu
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
2010-07-12Update DumpRenderTree to look in platform/android for Android-specific resultsSteve Block
Change-Id: I32044fc8e22d419762e275cd69b0c785a7f4c8a5
2010-06-03DumpRenderTree changesBen Murdoch
- 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
2010-05-27Fixes an error when displaying the current layout test index.Kristian Monsen
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
2010-05-25Display index and count when running layout testsKristian Monsen
Change-Id: I8b925784aead96a1be6344d654d0376dee2047eb
2010-05-14Change the default JS engine for Android-specific layout test results in DRT ↵Steve Block
from JSC to V8 Change-Id: Idaf5602d7f45533058b0f43d66377b10b1e7d708
2010-05-03improvements on layout testGuang Zhu
* reduce timeout limit from 30s to 15s * terminate a test case under some condition on uncaught JS exception * minor fixes Change-Id: Iabc8f214544d2c8c14139756abc049870023fea5
2010-03-11Adds to DumpRenderTree the ability to ignore the results of testsSteve Block
Change-Id: I7c16d9713fc35c773b810f9d5ce6700f8d9a28e4
2010-03-09Removes from DumpRenderTree the superfluous result file for tests that time out.Steve Block
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
2010-02-26Adds to DumpRenderTree the ability to look for Android-specific resultsSteve Block
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
2010-02-22Quick fix layout test path problemsGuang Zhu
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.
2009-11-12Use a diff that ignores trailing whitespaces to get by some layout test ↵Guang Zhu
failures.
2009-09-15Refactor logic for starting forward servers and http test cases hacking, so ↵Guang Zhu
that they can be shared between automated test mode and UI launch mode.
2009-09-02Read forward address from file for DRT, fallback to default addressGuang Zhu
modified: tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
2009-09-01Set a default dump type for DRT as a workaround for indeterministic order in ↵Guang Zhu
receiving dumpAsText and onPageFinish callback.
2009-09-01At leaset log the layout test timeoutsGuang Zhu
2009-07-27checkin for port forwarding through adb, gets access to external network via ↵Guang Zhu
USB, this also adds in related plumbing for running the http hosted tests, but will not enable those tests yet.
2009-06-29Added a new operation mode where user can launch all tests under a folder ↵Guang Zhu
from test app ui.
2009-05-18Fixed IndexOutofBoundException, improved how memory information is captured ↵Guang Zhu
(run GC first)
2009-05-11added reliability test usding DumpRenderTreeGuang Zhu
2009-05-05Back-merge all changes done in master to DumpRenderTree to donut.Guang Zhu
2009-03-31AI 143779: am: CL 143727 Make the test runner and results assets of ↵Sridhar Gurivireddy
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
2009-03-13auto import from //branches/cupcake_rel/...@138607The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-02-10auto import from //branches/cupcake/...@130745The Android Open Source Project
2008-12-17Code drop from //branches/cupcake/...@124589The Android Open Source Project