summaryrefslogtreecommitdiff
path: root/tests/DumpRenderTree/src
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
2013-01-18Better detecting if current threasd is main threadKristian Monsen
Old approach got broken after: https://googleplex-android-review.googlesource.com/#/c/266421/2 Change-Id: I12ae23efdbaebd8ba24acb1b7eff75c912d24f1d
2012-11-07am 768d9e1a: Merge "Correct executable bit for source files"Kenny Root
* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04': Correct executable bit for source files
2012-11-07Correct executable bit for source filesKenny Root
Many media files and source code files were marked as executable in Git. Remove those. Also a shell script and python script were not marked as executable. Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
2012-05-29Fix style for Geolocation mock mechanismSteve Block
See I6d88d5dce5c2148812b191a5b452718bf0854aeb Change-Id: I1179319f066664393aa5f7324df89f8057a9e922
2012-05-22Switch Geolocation DRT methods to control client-based mockSteve Block
Note that we plumb DRT Geolocation mock calls via WebView. This is required because the WebCore client-based mock is not a static but is tied to the Page. See WebKit change Ib74a3c05991593e75c3138415d4ac0bf0c9aefa9. Bug: 6511338 Change-Id: I6d88d5dce5c2148812b191a5b452718bf0854aeb
2012-04-23Seperate interface and implementation of 4 WebView classesJonathan Dixon
GeolocationPermissionsClassic CookieManagerClassic WebIconDatabaseClassic WebStorageClassic Also creats a WebViewFactory top level class - this remains hidden for now, as it's currently only used implicitly by the other public WebView classes to create the provider instances. Bug: 5626244 Change-Id: Id0ca1c16d8058f31a86414bbc0e8a55db4b907ba
2012-04-19follow up file original policy changeGuang Zhu
enable the access for webview test Change-Id: Iebde5f3175eabf6e084dc1a2fe8b9dce280ebe7c
2012-04-12Minor clean-up in DeviceOrientation and DeviceMotionSteve Block
No functional change. See corresponding external/webkit change https://android-git.corp.google.com/g/#change,125700 Change-Id: I2693328cb058820587ac43dd3121818959efd2d0
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
2012-03-02Refactor WebView to be a thin proxy classJonathan Dixon
Splits interface and implementation; all client calls are forwarded to an abstract WebViewProvider interface, and the existing implementation moved into the WebViewClassic implementor of this interface. Originally taken from a snapshot from the development branch, by: git diff HEAD 9a4c328a54cc05e5 | git apply - but then rebased to keep up to date with master Interdepends on webkit and Browser changes: https://android-git.corp.google.com/g/158979 https://android-git.corp.google.com/g/167911 Change-Id: I91403f32654ff308934e95c832d17b292a7d9b2e
2012-02-14disable cpu_upload path workaroundGuang Zhu
Bug: 6008123 Change-Id: I9bee623827ad82185c77875ba317c2fd95f3fce8
2012-02-13Merge "fix build"Guang Zhu
2012-02-13fix buildGuang Zhu
remove extra import Change-Id: Ia3f764e87bc412ec65da82f7ffd5c21f508229c4
2012-02-13use hard coded WebViewProperties.gfxUseMinimalMemoryGuang Zhu
WebViewProperties is package private to browser Change-Id: I33e4b5f42c748bb6b8a1f730be140d6fd73059b5
2012-02-13Increase transfer queue size for DRTGuang Zhu
To maintain the baseline, DRT app should use the same transfer queue size as before. Bug: 6008123 Change-Id: I143ebf86b7798c1a6608af2e37d618ffa09d1062
2012-01-20Merge "Revert "Use port 18000 instead of 8000 for layout tests""Guang Zhu
2012-01-20Revert "Use port 18000 instead of 8000 for layout tests"Guang Zhu
port 8000 is no longer being occupied, plus this approach never worked 100% because some pages have access to port 8000 hard coded in HTML This reverts commit e2b9d7f2f027907c7dcdbfb9e99297ff799ce482
2011-09-29Merge "Revert "log stack trace when finish() or onDestroy() is called""Guang Zhu
2011-09-28Revert "log stack trace when finish() or onDestroy() is called"Guang Zhu
We are already clear on why it's happening (phantom touches) so reverting this log. This reverts commit 0882eb05af02616cac5cfd82d9039c9e18d029d8
2011-09-27Use CPU upload path in DRTGuang Zhu
This makes it the same as default browser settings (for now). Otherwise the test may crash due to GPU OOM. This is to be a workaround only, and should be reverted after the bug is fixed. Bug: 5382134 Change-Id: I82a8dd83b69c8fceb657af9e32a2c5fa66ead2ce
2011-09-15log stack trace when finish() or onDestroy() is calledGuang Zhu
Some supurious calls to these functions when tests are still running are observed. Add more logging to see what's the caller. Change-Id: I9254c3639bcb8619be39bfbc6981fae5bf5e7efa
2011-08-19Use port 18000 instead of 8000 for layout testsGuang Zhu
Apparently some system process is occupying this port now Change-Id: Iaed4c64d7a8ab41830588d91f5deab1caadfdcdd
2011-07-28Revert "Disable Crankshaft in DRT for performance testing."Ben Murdoch
This reverts commit 3f9d171e80eea1162c051dd7200dd828fa258e09. Bug: 5052287 Change-Id: I8cd4a753e3a5a177934757a67880627c5c14e1af
2011-07-27Disable Crankshaft in DRT for performance testing.Ben Murdoch
Bug: 5052287 Change-Id: I9197f116d36c4cddd533f4aa07974f8c2d4678fe
2011-06-21Update Android DRT skip list.Ben Murdoch
The latest merges have brought in several tests for which we are missing layout test controller functions. Add them to the skip list until we address DRT to add the functionality. Change-Id: I465dd71245f68cc8c67122a52dcbb93a5276c31e
2011-06-21LayoutTests with dumpAsText in the pathname should always dump as text.Ben Murdoch
See http://trac.webkit.org/changeset/79403 Change-Id: Ifd607b0c05804dd40a11072cf6862c36aaf448fe
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-05-16change how test sets timeout for webkit dumpGuang Zhu
there are cases where webkit dump timed out, but a RuntimeException was not thrown (as it should have) after the timeout limit was reached. It's probably because the Looper message to invoke time out is obtained after the message to dump webview. This change adjusts the order of obtaining the message so hopefully it can make the timeout work for real. Change-Id: I4197699f5aad765c88dc81123d052e4c49d7c53d
2011-05-13even more loggingGuang Zhu
to track down test hang issue Change-Id: Ida686506275eb7c8c624c135f988feb9c43f86f5
2011-05-10add more logging into DRTGuang Zhu
Need the extra log to track down a test hang issue Change-Id: I1556f27b64296fcd39bc49ecbdd14347213bb9a2
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-02-10Merge "Adds CookieManager methods to configure policy for cookies for file ↵Steve Block
scheme URLs"
2011-02-10Merge "Increase DRT timeout while waiting for WebView to dump as text"Steve Block
2011-02-10Increase DRT timeout while waiting for WebView to dump as textSteve Block
This avoids problems with LayoutTests fast/frames/lots-of-iframes.html and fast/frames/lots-of-objects.html Bug: 3440578 Change-Id: Ic045141f986baf779ffc9eec804ba994ce0d0fbe
2011-02-09Remove LayoutTest ↵Steve Block
http/tests/xmlhttprequest/simple-cross-origin-progress-events.html from skipped list This test no longer crashes, so we should no longer skip it. Bug: 2929261 Change-Id: I808926c3dce2e9a01d6c190a18187d9ca965b662
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-24A few small cleanning-ups.Huahui Wu
1. Remove mDeferMultiTouch in WebView, it was for testing only but we don't need it now since we always pass MultiTouch to WebKit. 2. Remove the use of mDeferMultiTouch in DRT tests. 3. Correct the index of getX(Y) for the second touch point in the debug string of MotionEvent. Change-Id: Ib63cfc5935af1a169ed26b2b138f74908492bc18
2011-01-21Merge "b/3369602 Using Math.round() to convert float coordinates to ↵Huahui Wu
integers." into honeycomb
2011-01-21b/3369602 Using Math.round() to convert float coordinates to integers.Huahui Wu
Change-Id: If4da01046c909667ce57a849569ae6b1acefb939
2011-01-20DRT needs to clear cookies between tests.Ben Murdoch
Fixes failure seen in fast/cookies/local-file-can-set-cookies.html Change-Id: I08b8a0fcf87003fa4621dce08604bf42e70e4635
2011-01-20Add case-sensitive tests to DRT ignore list.Ben Murdoch
/mnt/sdcard forces lowercase, but these tests verify the capitialization of the filename. We will never pass them with DRT1 while storing tests on external storage. DRT2 will fix this as it does not store any files locally (hence DRT2's ignore list is unchanged). Change-Id: Ia062ad77ad312a34db61d606a1d1382ac1d7b70e
2011-01-18further remove calls to runFinalizationGuang Zhu
apparently these calls may deadlock as well... Change-Id: I83132aa50f4e49a170be2b960f6c3236f14745c9
2011-01-14Merge "when test case times out, stop loading first" into honeycombGuang Zhu
2011-01-14when test case times out, stop loading firstGuang Zhu
current timeout mechanism does a text dump and then move to next case. sometimes the text dump causes WebView to spin, and doing a stopLoading seems to resolve some of the cases. Change-Id: Iae08f9c93b2da3e805cacae43f80083fdf1bc5e1
2011-01-13remove runFinalizationSync callsGuang Zhu
according to csharpiro, these calls are unnecessary and may lead to problems. bug: 3350034 Change-Id: I25a80e4e7610901e75622334bf97d6c1bed17cbd
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-23bugfix: remove dump timeout message after dump is receivedGuang Zhu
Change-Id: I4061ccf77d47045a23065d27d6c9fa7452d085cc
2010-12-23Throw exception if webview dump times outGuang Zhu
if a webview dump times out, normally it's already in a bad state, throwing runtime execption will generate a crash on the test case and make the test move forward. Change-Id: Id7430700db6b6d90160d60d23debd250b1731789
2010-12-21Adds CookieManager methods to configure policy for cookies for file scheme URLsKristian Monsen
Needs https://android-git.corp.google.com/g/83647 in external/webkit, which disallows such cookies by default and provides configuration methods native side. Also updates TestShellActivity to allow such cookies, as they are required for the page cycler. Bug: 2944150 Change-Id: Idcc7e2812fab33e6a2a8766a2176bc3278e617da