summaryrefslogtreecommitdiff
path: root/tests/DumpRenderTree/src/com/android/dumprendertree/LoadTestsAutoTest.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-05-18call clearCache from UI threadGuang Zhu
according to the warning message, WebView#clearCache now should be invoked from UI thread only Change-Id: I089d9dcdcccc353b802a628c539e62f001d361f8
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-25change the way test app waits for gcGuang Zhu
gcSoftReferences methods are being obsoleted, so we need a different approach to wait for gc: create a CountDownLatch and release it in a dummy object's finalizer, call gc and await on the CDL. Change-Id: I54d9e6bc05540b16ee1f3959ace9008041ac4903
2011-01-18further remove calls to runFinalizationGuang Zhu
apparently these calls may deadlock as well... Change-Id: I83132aa50f4e49a170be2b960f6c3236f14745c9
2011-01-13remove runFinalizationSync callsGuang Zhu
according to csharpiro, these calls are unnecessary and may lead to problems. bug: 3350034 Change-Id: I25a80e4e7610901e75622334bf97d6c1bed17cbd
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-19Replaced /sdcard with Environment.getExternalStorageDirectory()Christian Mehlmauer
Change-Id: I9a7413f81090b69c82ca6b1e585f5e379b19e60c
2009-12-02Add support for extracting render time and image in page cyclerGuang Zhu
2009-07-17Add a delay before collecting memory informationGuang Zhu
Hopefully this gives enough time for more memory recycling. Because it is observed that several seconds after a suite is run, the memory usage could drop by 1-2M.
2009-07-09Call clearCache on WebView before collecting memory information.Guang Zhu
2009-06-30Use additional functions to collect more memory information data points.Guang Zhu
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-13auto import from //branches/cupcake_rel/...@138607The Android Open Source Project