b56ed30666596e70b577c9b937362e246f229a11 |
|
29-May-2012 |
Steve Block <steveblock@google.com> |
Fix style for Geolocation mock mechanism See I6d88d5dce5c2148812b191a5b452718bf0854aeb Change-Id: I1179319f066664393aa5f7324df89f8057a9e922
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
f3f60d9328d8acfedf987a73631fc90c39bf5447 |
|
16-May-2012 |
Steve Block <steveblock@google.com> |
Switch Geolocation DRT methods to control client-based mock 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
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
5ba2efeb9faaf7db9da205102b9a7f40b4b89f27 |
|
03-Aug-2011 |
Steve Block <steveblock@google.com> |
Minor clean-up in DeviceOrientation and DeviceMotion No functional change. See corresponding external/webkit change https://android-git.corp.google.com/g/#change,125700 Change-Id: I2693328cb058820587ac43dd3121818959efd2d0
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
3c90952036a5ff7ddb2946c643f1a0bf1c31d53a |
|
28-Feb-2012 |
Jonathan Dixon <joth@google.com> |
Refactor WebView to be a thin proxy class 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
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
9eed25e2576403a91826312381f4507e8c8171c2 |
|
20-May-2011 |
Steve Block <steveblock@google.com> |
In DRT2, correctly handle the case of zero tests Bug: 3291382 Change-Id: I8cde1d8d78a57407c585b02ca8ba3f3f893a609b
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
f93246923f0a8c85fddb508533d63d59977f75eb |
|
24-Jan-2011 |
Huahui Wu <hwu@google.com> |
A few small cleanning-ups. 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
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
2aafca6408835307779e7f7dadb28929b11f11d5 |
|
23-Nov-2010 |
Guang Zhu <guangzhu@google.com> |
pass layout test list using external file Currently layout test list is passed between two processes in intent, which does not work for large lists. This change store the list in external storage folder (per app based, actual location determined by framework) instead. Change-Id: Ib175f766159f5e4f831d6b9ace9f1c4caef7298d
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
ca501d20360ffee3a37fc87538daf8281f8a14ed |
|
09-Nov-2010 |
Steve Block <steveblock@google.com> |
Fix DumpRenderTree2 to not attempt to read expected results over HTTPS This is required now that we have HTTPS tests in the triaged set of tests. Change-Id: I650518a4536ed903f637a44c0901b1e38bdc1a84
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
24652bc958997dc32d5c8275f2f2ce38daf6e106 |
|
18-Oct-2010 |
Steve Block <steveblock@google.com> |
Fix DumpRenderTree2 to correctly handle crashed tests Change-Id: I894987d5b8f24ea31893aefe3cb6450c2736aa90
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
5f37cc4308438bcac45d06d07d77a56911620046 |
|
13-Oct-2010 |
Steve Block <steveblock@google.com> |
Implement LayoutTestController.overridePreference('WebKitUsesPageCachePreferenceKey') This is required for tests that test PageCache behaviour, eg - fast/dom/DeviceMotion/no-page-cache.html - fast/dom/DeviceOrientation/no-page-cache.html - fast/dom/Geolocation/no-page-cache.html Change-Id: Ie5862f6c86718142c949be81a85358ca6fac628a
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
27c5fab5715fed6d97ccfdf2d631a3b3726570d3 |
|
21-Sep-2010 |
Steve Block <steveblock@google.com> |
Reduce the AppCache maximum size to a more reasonable value in DumpRenderTree2 Without this change, any use of AppCache fails after the test http/tests/appcache/max-size.html has been run. The test in question passes, but seems to leave the database in a corrupted state, causing all future database transactions to fail. The only fix is to remove the database file. This behaviour is only observed with DumpRenderTree2, not DumpRenderTree, so I don't think this is a WebView problem. I'm not sure what the root cause is, but I think it make sense to submit this fix now in order to get the LayoutTests stable with DumpRenderTree2. Change-Id: I763c09406e66839676b839e3cdeba3b9427c1cb9
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
41865f4b0c5670369bf957ad72a867757fc6b356 |
|
02-Sep-2010 |
Huahui Wu <hwu@google.com> |
Bug 2372180: pass multi-touch events from browser to webkit. Since the UI uses multi-touch for zooming, the event is passed to webkit only when the webpage doesn't allow zooming. 1. Updated the data structure TouchEventData in WebViewCore.java to take multiple points and used it everywhere. 2. Added a passMultiTouchToWebkit() function to do what its name means. 3. Added the multi-point touch support to dumprendertree. Change-Id: Iafc1aa7b21a587ad26efd2f124b9a66316297ab8
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
1358a1c8062a800f1c53d0400164c8e0dbd2d224 |
|
22-Sep-2010 |
Steve Block <steveblock@google.com> |
Fix DumpRenderTree2 to clear AppCache between tests Change-Id: I1bafc79bbdbec0df7e4c8039488478a3bfcb3bd4
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
3cf18f5c9697273e34acfaf7536cc472c97ee3fa |
|
22-Sep-2010 |
Steve Block <steveblock@google.com> |
Fix DumpRenderTree2 to wait for the WebCore thread to become ready This is required to make sure that the WebCore thread's message handlers are ready to receive settings. Change-Id: I2c4df95e3b7409535b739ada957d93a7e6cd78d6
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
f09aafa27503becdcbe2244356c2c7505dff8fe4 |
|
20-Sep-2010 |
Steve Block <steveblock@google.com> |
Fix DumpRenderTree2 to handle SSL errors This fixes http/tests/appcache/different-https-origin-resource-main.html Change-Id: I90e151c027b2d8c55ea82104c02e4a641b933024
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
f0c289e24cc2315f5570f5643456ad8191c1216b |
|
17-Sep-2010 |
Steve Block <steveblock@google.com> |
Fix DumpRenderTree2 to correctly add JavaScript interfaces to new windows When adding JavaScript interfaces to a WebView, they must be passed to the WebView constructor, rather than to WebView.addJavascriptInterface() if they are to be used immediately without the risk of race conditions. This fixes LayoutTest http/tests/appcache/crash-when-navigating-away-then-back.html This was fixed for DumpRenderTree in https://android-git.corp.google.com/g/23804 Change-Id: I1581d6d6cfc1b35be1ec2f2e5b5b944da2b4b935
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
8a6def02473ee4fbffcd1b34173daf751d316202 |
|
17-Sep-2010 |
Steve Block <steveblock@google.com> |
Update DumpRenderTree2 to handle failing tests where no meaningful diff is available Currently, DumpRenderTree2 asigns the following result codes {PASS, FAIL_RESULT_DIFFERS, FAIL_NO_EXPECTED_RESULT, FAIL_TIMED_OUT, FAIL_CRASHED} This is not strictly correct, as a test may fail for any of three reasons - crashing, timing out, or the the result not being as expected. Therefore, it's possible for a test to fail even if the result is as expected. This patch updates AbstractResult to handle each of the three reasons for failure separately. We then test all three to determine if the test has passed. This allows us to correctly report whether or not the result differs from expected for a failing test. Change-Id: I7adcfe72c4dd0bd3de2e1b868d9807be6eb5bddf
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
2c38de8436fefb5c2834d843ab3520474bc3a35a |
|
16-Sep-2010 |
Steve Block <steveblock@google.com> |
Implement WebViewClient.onReceivedHttpAuthRequest() in DumpRenderTree2 This fixes LayoutTest http/tests/appcache/auth.html. Change-Id: Idd9ead9c35341cc6a787d409ae2fe1bebef01d60
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
d96c5e0cb31f486fb30dc836f0e74b2216f2ccc2 |
|
15-Sep-2010 |
Maksymilian Osowski <maxosowski@google.com> |
Added setXSSAuditorEnabled() LayoutTestController function. Change-Id: I262e434573ee79c998f3ace5103c191fc0989bd2
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
5de8b998f571b4318104ec9a3e2f780459ce09e2 |
|
14-Sep-2010 |
Steve Block <steveblock@google.com> |
Sort LayoutTestController methods alphabetically This makes it easier to keep trac of which methods are implemented. No functional changes. Change-Id: I389ec5c0f7e77def6a479e387d1373b2b87f60c2
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
5e689a74861e94ee12a3dbfc66aed594372e9f63 |
|
13-Sep-2010 |
Maksymilian Osowski <maxosowski@google.com> |
Added overridePreference() layoutTestsController function. Change-Id: I99fbf7490c3c6eb063bf5ed0bbd2bced0f10a967
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
34c68912be678ad50a70c1bfa54a91444e993df5 |
|
13-Sep-2010 |
Steve Block <steveblock@google.com> |
Remove the last remnants in DumpRenderTree2 of the absolute path to the tests This is no longer required. Change-Id: I27db10e8c723162b319d9a714b086f508db706e0
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
bcf114c2bbef4dd4af266a635a74076d568d125c |
|
27-Aug-2010 |
Maksymilian Osowski <maxosowski@google.com> |
Fixed and slightly improved crash detection mechanism. Before, if a crash was detected, but the "Force quit" dialog remained on the screen, sending the intent to restart the executor would do nothing. It's fixed now with default uncaught exception handler. Also, when we catch the uncaught exception, we can restart the executor straight away, without waiting for the time-out. Change-Id: I2f0b4b5f2abd180ff518f1a40ad1294bed2f7f67
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
c6a341d34c690c2b5948977cd803ec2ff668c4b7 |
|
23-Aug-2010 |
Maksymilian Osowski <maxosowski@google.com> |
Changed the code to use forwarding service. Change-Id: I2504ef01270f9c8e82acbe6a4069d2b4b77b35f2
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
2e5982a55ac031110ed39515a76f7a5ec9ff2c14 |
|
26-Aug-2010 |
Maksymilian Osowski <maxosowski@google.com> |
Tweaked the logging + some minor style fixes. Change-Id: If89fe8ab1845780ecf23c5fd339a4932ebec9c0c
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
f0f30c677a187b0436e62d2be6c97b76e61d74ea |
|
18-Aug-2010 |
Steve Block <steveblock@google.com> |
Implement logic for new Geolocation delayed permission LayoutTests Bug: 2914450 Change-Id: Ic0be3120e88efe9199f7719b9ccb1090baaabed6
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
68dede3d6664d91302d727531d13f7f5862d3a50 |
|
04-Aug-2010 |
Steve Block <steveblock@google.com> |
Hook up mock for testing DeviceOrientation in DRT Change-Id: I99fbe328807428aa0d94893545bad0697ccb71d7
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
8aff3c0571f078b0b212bd283278791ebc478da5 |
|
03-Aug-2010 |
Maksymilian Osowski <maxosowski@google.com> |
Added eventSender. Change-Id: Iae31dc11ddd7b4b1b9c2e1c39fb61cc7b9832721
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
23a0ee4758da5e2d24ec6c9e8a63c127463a096f |
|
04-Aug-2010 |
Maksymilian Osowski <maxosowski@google.com> |
Added crash-detection mechanism. Change-Id: Idb6501e94ffae5948de84241e46a618bc56554dd
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
38f28fac14d5ce4e5924226e734ecd10d228b783 |
|
03-Aug-2010 |
Maksymilian Osowski <maxosowski@google.com> |
Added geolocation layoutTestController functions. Change-Id: Ie9558e873ff589b9e2358623433838f0718ea3b4
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
40968a4540164b69436c482738f46e22867b8ff3 |
|
03-Aug-2010 |
Maksymilian Osowski <maxosowski@google.com> |
Added recording of JS dialog messages. Change-Id: I3854f1fea81d47255c9fb398bdcbdff5ed4d8a52
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
ef7f9d2458d547df4b47808f19e549eee9af76ce |
|
03-Aug-2010 |
Maksymilian Osowski <maxosowski@google.com> |
Added wakelock to keep the screen from sleeping when executing tests. Change-Id: Ib6a0ff2a7c906f500868269d6a617553733d33b1
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
dd4bff62b54033bedc254f517397ae8f954d0dc9 |
|
30-Jul-2010 |
Maksymilian Osowski <maxosowski@google.com> |
First batch of layoutTestController functions + some fixes and tweaks. Change-Id: I9dae192c498d8e19fd75861a1a6cf1f079ad9c6f
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
42bee9cf7684623124470535d663537f70a4a441 |
|
28-Jul-2010 |
Maksymilian Osowski <maxosowski@google.com> |
Time-out mechanism and state machine. Change-Id: I47c4342c02ea152b1503b9d5268900df3b40683c
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|
5f0ccd76a88586ce85c17cb4db058934e693a4fc |
|
23-Jul-2010 |
Maksymilian Osowski <maxosowski@google.com> |
Moved practically all of the prerefactoring functionality to the new design. Renamed LayoutTestsRunner activity to TestsListActivity. It will be responsible for restrating the Executer after the crash. Now it only starts it. Renamed LayoutTestsRunnerThread to TestsListPreloaderThread. It only preloads tests now. LayoutTest class is no longer needed, its functionality is in LayoutTestsExecuter. Most of the functionality from LayoutTestsRunnerThread is now in ManagerService. Change-Id: I08924d949ceb9f8816888bc8e795256d0542fa99
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java
|