• Home
  • History
  • Annotate
  • only in /frameworks/base/tests/DumpRenderTree2/
History log of /frameworks/base/tests/DumpRenderTree2/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b56ed30666596e70b577c9b937362e246f229a11 29-May-2012 Steve Block <steveblock@google.com> Fix style for Geolocation mock mechanism

See I6d88d5dce5c2148812b191a5b452718bf0854aeb

Change-Id: I1179319f066664393aa5f7324df89f8057a9e922
rc/com/android/dumprendertree2/LayoutTestController.java
rc/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
rc/com/android/dumprendertree2/LayoutTestController.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
d3101b1d300f5942fdb7dfa323dc8830c4edc007 12-Apr-2012 Jonathan Dixon <joth@google.com> Seperate interface and implementation of 4 WebView classes

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
rc/com/android/dumprendertree2/LayoutTestController.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
rc/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
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
rc/com/android/dumprendertree2/TextResult.java
9eed25e2576403a91826312381f4507e8c8171c2 20-May-2011 Steve Block <steveblock@google.com> In DRT2, correctly handle the case of zero tests

Bug: 3291382
Change-Id: I8cde1d8d78a57407c585b02ca8ba3f3f893a609b
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
rc/com/android/dumprendertree2/ManagerService.java
183c3c9ca20f55703f31e3610bca72682f6355db 23-May-2011 Steve Block <steveblock@google.com> Update DRT2 to reflect WebKit code movement

See http://trac.webkit.org/changeset/74301

Change-Id: Ibe495cdc1f50f65db5663dbb63af9b9c2db050d0
ssets/run_apache2.py
rc/com/android/dumprendertree2/FsUtils.java
rc/com/android/dumprendertree2/Summarizer.java
31e446c3db9031f69641c8ce7be8e396aeb60caa 20-May-2011 Steve Block <steveblock@google.com> Add extra error handling to DRT2 launcher script

Bug: 3291220
Change-Id: I6f8e57458cd4334a998eb256af303ffcd9c50d64
ssets/run_layout_tests.py
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
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
a586b7baaf71eef621a826675346b95947fd1df0 21-Jan-2011 Huahui Wu <hwu@google.com> b/3369602 Using Math.round() to convert float coordinates to integers.

Change-Id: If4da01046c909667ce57a849569ae6b1acefb939
rc/com/android/dumprendertree2/EventSenderImpl.java
84cc2dbb1d9f935182fcbeb1ef68dc340d2ebade 17-Dec-2010 Philippe Marti <philmarti@google.com> Improve error handling (NPE in DRT2)

Bug: 3284126
Change-Id: I7f8c6259f2932d2b1a10a2f9612866786d425da9
ssets/run_layout_tests.py
rc/com/android/dumprendertree2/FileFilter.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
rc/com/android/dumprendertree2/FsUtils.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
rc/com/android/dumprendertree2/TestsListActivity.java
edfdd155273feaa14d3e1259627fe10f86e2b6ff 11-Nov-2010 Steve Block <steveblock@google.com> Fix EventSender mouse events to correctly convert from screen coordinates

This is required for LayoutTest fast/dom/Node/mutation-blur.html

Change-Id: Ib82f897ab61ac3a8e8eacee8ec08f5242c43c736
rc/com/android/dumprendertree2/EventSenderImpl.java
aca659c20748030c02d7ab31ff28f8293126092b 11-Nov-2010 Steve Block <steveblock@google.com> Refactor EventSenderImpl.MousePoint

This factors out a new Point class and a new
createViewPointFromContentCoordinates() method. This will allow Point
and the conversion method to be re-used with mouse events.

Change-Id: I2d689d0ffa0ad7ba01d0e90f78c812604ab96234
rc/com/android/dumprendertree2/EventSenderImpl.java
ace92b871a020a3d662511ea8b1aab30334015de 09-Nov-2010 Iain Merrick <husky@google.com> Include .php tests in DumpRenderTree2.

I've manually checked the existing LayoutTests for false positives.
There are non-test .php files, but they're all in "resources"
subdirectories, so they should be caught by isTestDir(). Added an
extra @warning to isTestFile() just in case.

Bug: 3164771
Change-Id: Ib282acf46f6e839439ce521c4b2cb5820fcd263c
rc/com/android/dumprendertree2/FileFilter.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
rc/com/android/dumprendertree2/FileFilter.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
rc/com/android/dumprendertree2/ManagerService.java
cda9448206494b67c0812b9591cc066ca070a7a6 09-Nov-2010 Steve Block <steveblock@google.com> Fix FsUtils.readDataFromUrl() to do the network request on a background thread

This is required now that doing network requests on the main thread
throws NetworkOnMainThreadException.

Also updates TestsListPreloaderThread to create the FileFilter lazily
and removes a superfluous FileFilter param from the Summarizer
constructor.

Change-Id: If15fddac934cd8be611f6693b25837657abbddc3
rc/com/android/dumprendertree2/FsUtils.java
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/Summarizer.java
rc/com/android/dumprendertree2/TestsListPreloaderThread.java
24652bc958997dc32d5c8275f2f2ce38daf6e106 18-Oct-2010 Steve Block <steveblock@google.com> Fix DumpRenderTree2 to correctly handle crashed tests

Change-Id: I894987d5b8f24ea31893aefe3cb6450c2736aa90
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
rc/com/android/dumprendertree2/Summarizer.java
fc16915d327888e110d04564eed58306d6e8585b 18-Oct-2010 Steve Block <steveblock@google.com> Fix DumpRenderTree2 script to allow only one path to be specified

Change-Id: I4a85ff69554a9c76af0b2deea747b8414660fee2
ssets/run_layout_tests.py
ae47ce00460538d7db688a269d8cbae5a2054b18 15-Oct-2010 Steve Block <steveblock@google.com> Improve error handling in DumpRenderTree2 scripts

Change-Id: Idba4acc22dd037a001ea5c05cbd6a29292f6de2c
ssets/run_apache2.py
ssets/run_layout_tests.py
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
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
856f2859e8550c274c7fe3f05b971bf34bdcb525 29-Sep-2010 Steve Block <steveblock@google.com> Fix some bugs in DumpRenderTree2 when forming HTML diffs

Change-Id: Id98c1b7dde1961c2dab4214a36ad43916baf8011
rc/com/android/dumprendertree2/TextResult.java
rc/com/android/dumprendertree2/VisualDiffUtils.java
fd487ad1b8d11dbc3df29b3073a0ec89f998c819 29-Sep-2010 Steve Block <steveblock@google.com> Use the empty string when expected text results are missing in DumpRenderTree2

Change-Id: I204583ecc9c6a8017349124d5813c693c7f00dc9
rc/com/android/dumprendertree2/TextResult.java
f460dd42190ada4a2c147db5127a9d7870fe0101 29-Sep-2010 Steve Block <steveblock@google.com> Fix a bug with the expected result path in DumpRenderTree2

If we fail to read from any of the possible expected result paths, we should
not record an expected result path.

Change-Id: Ica96b791c14a7755154be4ec9480be4d13f47a19
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/Summarizer.java
fdffee828cea81bf2a004e4e2a391e32f59c2f0c 29-Sep-2010 Steve Block <steveblock@google.com> Correctly implement EventSender mouse methods in DumpRenderTree2

This is taken from a similar change to DumpRenderTree in
https://android-git.corp.google.com/g/62449

Change-Id: I01418100ace1cf1ccfbb4fd28d72b99b54e0c140
rc/com/android/dumprendertree2/EventSenderImpl.java
c0f90a8f93546f4e9a708c44ac610f36b5e9b1f8 29-Sep-2010 Steve Block <steveblock@google.com> Trim empty lines when comparing text results in DumpRenderTree2

Change-Id: I94c9de8e6131f6b60456700e9d5a3b27c8c9d1c3
rc/com/android/dumprendertree2/TextResult.java
82c11b42f1564904eb4407d6e30a31ea02d81644 27-Sep-2010 Guang Zhu <guangzhu@google.com> add multiple device support to layout test driver script

pass on the serial number onto adb command so that it don't get
confused when multiple devices are connected

Change-Id: I0b16f9da941d77425bcc5f782393f8800e035871
ssets/run_layout_tests.py
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
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
31fb8b60fb5d3b332ea1e00709048242410751cc 28-Sep-2010 Steve Block <steveblock@google.com> Merge changes Ic62f60d9,I04a01634

* changes:
Provide a useful message in DumpRenderTree2 GUI when the host server is not running
Prevent DumpRenderTree2 from crashing when the host server is not running
cb98a3e621b7c56d1367a1bf77cd91dae3feb6da 28-Sep-2010 Steve Block <steveblock@google.com> Provide a useful message in DumpRenderTree2 GUI when the host server is not running

Bug: 3010758
Change-Id: Ic62f60d96055e7ad1e475215ca384306cdfa859c
rc/com/android/dumprendertree2/FsUtils.java
rc/com/android/dumprendertree2/TestsListPreloaderThread.java
rc/com/android/dumprendertree2/ui/DirListActivity.java
898bfbd865496855c3a6c792f9e0da011ae34854 28-Sep-2010 Steve Block <steveblock@google.com> Prevent DumpRenderTree2 from crashing when the host server is not running

Bug: 3010758
Change-Id: I04a01634544d223d225b264827d3cf18be74e1e0
rc/com/android/dumprendertree2/forwarder/AdbUtils.java
rc/com/android/dumprendertree2/forwarder/ConnectionHandler.java
rc/com/android/dumprendertree2/forwarder/Forwarder.java
42bf092c47c4af5fbc85283bccdb97fbe4ab76a9 28-Sep-2010 Steve Block <steveblock@google.com> Update run_layout_tests.py to give a useful error if DumpRenderTree2 is not found on the device

Bug: 3006981
Change-Id: Ie789eb726bc051305371d4958c16ceca980ea1d1
ssets/run_layout_tests.py
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
rc/com/android/dumprendertree2/EventSenderImpl.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
1358a1c8062a800f1c53d0400164c8e0dbd2d224 22-Sep-2010 Steve Block <steveblock@google.com> Fix DumpRenderTree2 to clear AppCache between tests

Change-Id: I1bafc79bbdbec0df7e4c8039488478a3bfcb3bd4
rc/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
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
0e1d6876f93332eb430d31d48f627ad812abb29d 20-Sep-2010 Steve Block <steveblock@google.com> Fix a bug in DumpRenderTree2's run_apache2.py script

We use a printf style approach when setting the run command in the
command string to be executed. When doing so, the printf must be
applied to only the relevant part of the string. This avoids problems
in the case that other parts of the string contain special character
sequences, such as '%s' in a custom log directive.

Change-Id: I87df773a2872320386a34cb6a5041a9e0ba6f31e
ssets/run_apache2.py
34f3851e9534b19ab0f02d3eb11f52ddb2635530 20-Sep-2010 Steve Block <steveblock@google.com> Fix DumpRenderTree2 to make AbstractResult serializable

This should have been doen as part of
https://android-git.corp.google.com/g/#change,65283

Change-Id: I7a4681f98014ff5a7546a7346fc5523e01f62e19
rc/com/android/dumprendertree2/AbstractResult.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
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
70727d1f750b7bf9e583845fc108d936c3fbc64e 22-Sep-2010 Steve Block <steveblock@google.com> Merge "Fix DumpRenderTree2 to correctly add JavaScript interfaces to new windows"
394e0fb84996f5f5ee9e33c9e2f0e11066e6f943 17-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Updated Summarizer to use SQLite DB.

It avoids OOM issues by dumping the memory to the DB every
few hundred tests and then reading them in chunks when
generating summaries, etc.

Change-Id: I5f63d960d456f17e9f2189230a7ae0ca5607ce51
rc/com/android/dumprendertree2/AbstractResult.java
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/Summarizer.java
rc/com/android/dumprendertree2/SummarizerDBHelper.java
rc/com/android/dumprendertree2/TextResult.java
fadb0de33d3d4b0da765e2d3f60b895016b89c4f 17-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Changed Summarizer to dump generated html code to file every few hundred tests to avoid OOM errors.

Change-Id: Id0917d45ffab2e47d67d17d629f342add5292d4e
rc/com/android/dumprendertree2/Summarizer.java
76c97ee414dfc752ce26201a440bf7c451acae85 17-Sep-2010 Steve Block <steveblock@google.com> Fix DumpRenderTree2 to serve HTTP tests on http://127.0.0.1:8000

Currently DumpRenderTree2 serves HTTP tests on http://localhost:8080.
Some of the tests hardcode 'http://127.0.0.1:8000' for resources, so
we must use this scheme and port for the requests to be same-origin.

This fixes LayoutTest http/tests/appcache/credential-url.html

Change-Id: I2a9c402fc7b0e0b62eb4a278d67ac0e63ef96e8b
ssets/run_apache2.py
rc/com/android/dumprendertree2/forwarder/ForwarderManager.java
062c0c98469e3322fdc01d88a66c9ef1ae3f829a 17-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Updated ManagerService to call Summarizer.summarize() in a separate thread."
517ebf14d4da3c4f2f07f520cdeabc1911442cd3 17-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Changed the behaviour of run_apache2.py restart."
4af7705631880a8f0b1d2c34df47be4b554b7a15 17-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Changed the behaviour of run_apache2.py restart.

Now it explicitly stops and starts the server and not just invokes apache2 -k restart

Change-Id: I74cfa9c3388552fcc56b62c5ab614262ca540d0b
ssets/run_apache2.py
9893d96d1231235f3d984e9dc751f08409a5f873 17-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Updated ManagerService to call Summarizer.summarize() in a separate thread.

This could potentially take a long time and result in ANR.

Change-Id: Ib8b246e627e841217b68c955d92c97801e93d923
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/Summarizer.java
b6a2364ebad11596858892fa9806346e1c011ad6 17-Sep-2010 Steve Block <steveblock@google.com> Merge "Update DumpRenderTree2 to handle failing tests where no meaningful diff is available"
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
rc/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
rc/com/android/dumprendertree2/AbstractResult.java
rc/com/android/dumprendertree2/CrashedDummyResult.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
rc/com/android/dumprendertree2/Summarizer.java
rc/com/android/dumprendertree2/TextResult.java
44ce3242a984bc3959e43fc832966d7f0ed61159 17-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Changed run_layout_tests.py and run_apache2.py to accept alternative tests root dir."
c0847c55eaef5b91d91abfdcfee5650eb22866eb 17-Sep-2010 Steve Block <steveblock@google.com> Remove superfluous CSS from DumpRenderTree2's Summarizer

Change-Id: Ifc3764ec3cf7bd5ee412abaf45112eed22083456
rc/com/android/dumprendertree2/Summarizer.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
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
78fbc54c182cfc6b21fe745213b02b7ea18775e7 16-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Changed run_layout_tests.py and run_apache2.py to accept alternative tests root dir.

Change-Id: I6d0537b6712ca6f68ec004e5e8bf95b97b9017fc
ssets/run_apache2.py
ssets/run_layout_tests.py
44c7197a8b3156c055fb596e62c5fd7f6bca7e8c 16-Sep-2010 Steve Block <steveblock@google.com> Merge "Make DumpRenderTree2 appear in the 'Dev Tools' application"
2622f30284c808a917618332d35e9202ebefaac5 16-Sep-2010 Steve Block <steveblock@google.com> Make DumpRenderTree2 appear in the 'Dev Tools' application

Bug: 2999543
Change-Id: I1791c7b1a82f23ff742a68f365d7092c36804efd
ndroidManifest.xml
d96c5e0cb31f486fb30dc836f0e74b2216f2ccc2 15-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Added setXSSAuditorEnabled() LayoutTestController function.

Change-Id: I262e434573ee79c998f3ace5103c191fc0989bd2
rc/com/android/dumprendertree2/LayoutTestController.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
023606abb6784ebc8e56bbff7e87ca695752cdde 14-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Changed Summarizer to add header before printing the path in summary.txt and details.html"
8a2e55239a13ae20d3a61288098cc59abee1b097 14-Sep-2010 Steve Block <steveblock@google.com> Merge "Implement LayoutTestController.setAppCacheMaximumSize() for DumpRenderTree2"
75aa0d382844dbee2d7931f21245112c27dd3d64 14-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Changed Summarizer to add header before printing the path in summary.txt and details.html

Change-Id: I6413e1871ede077793d49b7d4732f90d0aea352f
rc/com/android/dumprendertree2/Summarizer.java
ac0b599fa7a72a6a529e8bde0463e6151694b2f7 14-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Made the run_layout_tests.py script restart the apache2 server before it starts."
757dcbb80371ad9211e288faf02bad91bae4a717 14-Sep-2010 Steve Block <steveblock@google.com> Implement LayoutTestController.setAppCacheMaximumSize() for DumpRenderTree2

Change-Id: I7db486ccee1b9ebe84b89b98ba1a9b6e933d8f4e
rc/com/android/dumprendertree2/LayoutTestController.java
8a0db6f5ffbe03afa46f35b550af413d193546e9 14-Sep-2010 Steve Block <steveblock@google.com> Merge "Sort LayoutTestController methods alphabetically"
2e367376690282a262cfcbd21d4c18862b48f38c 14-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Made the run_layout_tests.py script restart the apache2 server before it starts.

Change-Id: Ic6b4e63d20a95daddd3dfde32d4168b235d7dd91
ssets/run_layout_tests.py
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
rc/com/android/dumprendertree2/LayoutTestController.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
540aada302af83330d42ee4cf53bbc571de4f3be 14-Sep-2010 Steve Block <steveblock@google.com> Merge "Add to DumpRenderTree2 the option to suppress showing results in the host browser"
d210fd26b2f32fec26c2e7bb355de8b5b3e25b79 14-Sep-2010 Steve Block <steveblock@google.com> Add to DumpRenderTree2 the option to suppress showing results in the host browser

Change-Id: I78841ab5fad4e3ee0d5fe559489bf8cfd81abd23
ssets/run_layout_tests.py
59e46ef785424ed036fe95b76998de62bf77818c 14-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Gets rid of flickering when executing tests."
a7e2ca9a1c2ffc9d4e703d325270cd0ea1cde251 14-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Gets rid of flickering when executing tests.

Achieves it by setting Executor background to white.

Change-Id: Id07c743114c6cce9e9446439136a5efd72857dc4
ndroidManifest.xml
es/values/style.xml
8e0835c08e956519264deab8d759595cdd19de42 13-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Added overridePreference() layoutTestsController function."
5e689a74861e94ee12a3dbfc66aed594372e9f63 13-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Added overridePreference() layoutTestsController function.

Change-Id: I99fbf7490c3c6eb063bf5ed0bbd2bced0f10a967
rc/com/android/dumprendertree2/LayoutTestController.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
ab87db4ad8e16e36f99303933db5267946e7bb34 13-Sep-2010 Steve Block <steveblock@google.com> Update DumpRenderTree2 to only calculate the WebKit revision once per test run

This is obtained by a HTTP request to ThirdPartyProject.prop

Change-Id: I34e310cf52fbcef24bb2a76e64aab5263b3052f1
rc/com/android/dumprendertree2/Summarizer.java
c54df24fa9bfd0a2b53404139e7914e68f192af4 13-Sep-2010 Steve Block <steveblock@google.com> Remove superfluous FileFilter from DumpRenderTree2 DirListActivity.java

Change-Id: I5e7d86fc4e05ac512ce1b2c55660d3b7f0de2750
rc/com/android/dumprendertree2/ui/DirListActivity.java
5c27bc1c64a06ccec64da81bd0217b7aa3592786 13-Sep-2010 Steve Block <steveblock@google.com> When running DumpRenderTree2 from script, remove old results files

This makes sure that should we fail to get a new results file from
the device, we won't ever show an old results file to the user.

Change-Id: Ib00ae391a6b2b43a336370ef23af2d6c95589918
ssets/run_layout_tests.py
bdebd0621b2a4422a30bea21ea549afd20a9e918 13-Sep-2010 Steve Block <steveblock@google.com> Update DumpRenderTree2 to store results in /sdcard/layout-test-results

This more closely follows other WebKit platforms, which use
/tmp/layout-test-results.

Change-Id: Ice702b73d7425250d595e8321e14ff3becb66ed5
ssets/run_layout_tests.py
rc/com/android/dumprendertree2/ManagerService.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
rc/com/android/dumprendertree2/FileFilter.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/TestsListPreloaderThread.java
rc/com/android/dumprendertree2/ui/DirListActivity.java
7438b53487cb21f261eac4396aba0dbaa16ee015 13-Sep-2010 Steve Block <steveblock@google.com> Update DumpRenderTree2 text results output to better match HTML version

Always print number of crashes and line things up nicely.

Change-Id: I79a72056ba5ce007fdd4154f1518b9535b595317
rc/com/android/dumprendertree2/Summarizer.java
5af84db492a0c198377ba4dacc83c5a211e96ff6 09-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Updated the AdbUtils class to better manage opening and closing the resources.

Change-Id: I83ebc6409d57a28f9015ec9726f797417ec03212
rc/com/android/dumprendertree2/FsUtils.java
rc/com/android/dumprendertree2/forwarder/AdbUtils.java
rc/com/android/dumprendertree2/forwarder/ConnectionHandler.java
rc/com/android/dumprendertree2/forwarder/Forwarder.java
741fdc80884d40ace227bb08e04a036bdb70aeb1 13-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Updated FsUtils to use apache HttpClient instead of java.net UrlConnection."
ce2ef18c8f220df13c3fca031f440dfc98362242 09-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Updated FsUtils to use apache HttpClient instead of java.net UrlConnection.

It fixed sockets leaking during readDataFromUrl() invocations.

Change-Id: Ifb1aeb32fe9bb4ffa353cf521b5174a83de270db
rc/com/android/dumprendertree2/FsUtils.java
0e2bae14b408d001fea84c0cbdb7348c3ec611a3 07-Sep-2010 Steve Block <steveblock@google.com> Update DumpRenderTree2 to reflect removal of WEBKIT_MERGE_REVISION

We now use ThirdPartyProject.prop
See https://android-git.corp.google.com/g/#change,64831

Change-Id: Ib52fdd93ac08fb19ec8b7f539eb084c0b668e01b
ssets/run_apache2.py
rc/com/android/dumprendertree2/Summarizer.java
da17e9db632efe1cd2f58bb1b8b7ae9d8288af1c 06-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Fixed the bug in forwarder that prevented ConnectionHandler threads from exiting."
bd8c83db8f424a8cfbf94cd4915d7b99b034358c 03-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Fixed the bug in forwarder that prevented ConnectionHandler threads from exiting.

There was a deadlock when ConnectionHandler exited the loop in SocketPipeThread, and would call the onFinishedCallback, which called the synchronized method in Forwarder that would
deadlock. Changing the Forwarder class solved the issue and made it more efficient.

Change-Id: I947450a19573f2e88274b1ebc7b77d4df6afffa7
rc/com/android/dumprendertree2/forwarder/ConnectionHandler.java
rc/com/android/dumprendertree2/forwarder/Forwarder.java
5846d4561d45c2805b3cba33995bfa08b55b980e 02-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Fixed the run_apache2.py script to use the correct mime.types file.

Change-Id: I0bd5870259b3f7de92d4996d1ebb83fdff126210
ssets/run_apache2.py
fddedbf999a57220ed89bbebe9f35e093aa77c2d 02-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Updated Summarizer to parse CRASH instead of SKIP."
2ca8acdb5622b03a4ef56159477087adcf87db62 02-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Adds webkit revision to the summary and details.

The revision number is taken from external/webkit/WEBKIT_MERGE_REVISION and is served to the java code by apache server. To be able to do that, the new alias directive had to be
added to the run_apache2.py script.

Bug: 2889572
Change-Id: Ie3d147e4d8ea9edd0144b819152121563b8bd759
ssets/run_apache2.py
rc/com/android/dumprendertree2/Summarizer.java
01c1f9d9e9e7ab3a40a9bf27195a434eb0c9bb9b 02-Sep-2010 Maksymilian Osowski <maxosowski@google.com> The results now show which expected result was used.

Bug: 2889857
Change-Id: If2b7e6e6a22ddb5db6c6a50a358e8f263914e6c0
rc/com/android/dumprendertree2/AbstractResult.java
rc/com/android/dumprendertree2/CrashedDummyResult.java
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/Summarizer.java
rc/com/android/dumprendertree2/TextResult.java
5f21f5a4a9f240e1c35ab86b2f3a332f0d541cf0 02-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Updated Summarizer to parse CRASH instead of SKIP.

Bug: 2970575
Change-Id: Idc8b514f4878bcd62729a47d7fe681ade114497a
rc/com/android/dumprendertree2/FileFilter.java
rc/com/android/dumprendertree2/TestsListPreloaderThread.java
cbba4ae260afa9751a2584cd7d209c4e919ea555 02-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Shows the details when all the tests finish and fixes the orientation issue."
84daaf8b4114306b66c295b77c1251d26f842a24 02-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Fixed and slightly improved crash detection mechanism."
1b034781f4c45608e4d57e46cd46dfab9fc64746 01-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Shows the details when all the tests finish and fixes the orientation issue.

The tests no longer restart when orientation changes.

Bug: 2904456
Change-Id: Ie1ee463dbd63fb1a2ad2e9c28bf5989002f22215
ndroidManifest.xml
rc/com/android/dumprendertree2/Summarizer.java
rc/com/android/dumprendertree2/TestsListActivity.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
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
rc/com/android/dumprendertree2/ManagerService.java
f072bced91167cd707399163bdb9b97f76846a8d 02-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Updated Summarizer to report tests under all 4 possible categories now."
6ae5ce4b409759d36f2350e96ff2242e1385b147 01-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Updated Summarizer to report tests under all 4 possible categories now.

Categories: ((un)expected passes/failures).
Also, FileFilter uses FAIL instead of IGNORE_RESULTS now.

Bug: 2899965
Change-Id: I06835b3d5cea84cbc92225a940bf7361cf832f59
rc/com/android/dumprendertree2/FileFilter.java
rc/com/android/dumprendertree2/Summarizer.java
15116bcc766626654655875fb96154c93df54668 02-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Fixed a bug when there are too many open sockets."
5926723f82fbdd9b523193e05f901784904b6d38 01-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Fixed a bug when there are too many open sockets.

Also, some minor corrections to shutdown() in ConnectionHandler.

Change-Id: I937f200c14c185b0867f997645d8b288a19b9889
rc/com/android/dumprendertree2/forwarder/ConnectionHandler.java
rc/com/android/dumprendertree2/forwarder/Forwarder.java
ff314d7094fdc6a1869d6cbe17db16c5b9129009 01-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Added "run all tests in the current directory" menu option.

Bug: 2906954
Change-Id: Ib68219dc4d4d517ad859679bc8d52a02b0b631f4
es/menu/gui_menu.xml
es/values/strings.xml
rc/com/android/dumprendertree2/ui/DirListActivity.java
9c12bd393271157409e8c089e5b971a4e1fc9106 01-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Updated the Summarizer to link to the source of the tests."
603b70dd8b1ef8acabf71c52089c6cd5396fe931 27-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Updated the Summarizer to link to the source of the tests.

Change-Id: I90018898c627b99f5a49c301e87593b52cd18ce4
Bug-Id: 2889573
rc/com/android/dumprendertree2/Summarizer.java
ef9a2175ee29b9a9c84ddd0a02d1ec80ab095222 31-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Fixed a bug in forwarder where calling the stop method on ForwarderManager would deadlock. Also some style fixes.

The call would deadlock because lines 62-67 in ConnectionHandler were in the synchronized block. The is.read() would block and therefore call to shutdown() would block too.
is.read()
would never unblock because the stream was ready to be closed, and it needs to be done so from shutdown(). Removing the synchronized block fixes it and is save, as it was not
needed here.

Change-Id: I3326098c47ee18c4eabaa8510b27ca82debce360
rc/com/android/dumprendertree2/forwarder/ConnectionHandler.java
rc/com/android/dumprendertree2/forwarder/Forwarder.java
rc/com/android/dumprendertree2/forwarder/ForwarderManager.java
c6a341d34c690c2b5948977cd803ec2ff668c4b7 23-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Changed the code to use forwarding service.

Change-Id: I2504ef01270f9c8e82acbe6a4069d2b4b77b35f2
rc/com/android/dumprendertree2/FileFilter.java
rc/com/android/dumprendertree2/FsUtils.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/TestsListPreloaderThread.java
rc/com/android/dumprendertree2/forwarder/ForwarderManager.java
rc/com/android/dumprendertree2/scriptsupport/Starter.java
rc/com/android/dumprendertree2/ui/DirListActivity.java
6db53149ca44385caea82dd14b89ad5cd958af02 26-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Tweaked the logging + some minor style fixes."
9d660cb5f3202366ad8540d66018b33b3f8578df 26-Aug-2010 Steve Block <steveblock@google.com> Update run_apach2.py to serve HTTP tests at server root

The complete set of layout tests is still available at /LayoutTests
and scripts at /WebKitTools/DumpRenderTree/android.

Note that this requires a corresponding change to
external/webkit/WebKitTools/DumpRenderTree/android/get_layout_tests_dir_contents.php

Bug: 2951727
Change-Id: Idf366942ffd5786759c989e992359b7e7dbb182c
ssets/run_apache2.py
ee273fac7f223eafb7619168ec656dd4947b1e5e 26-Aug-2010 Steve Block <steveblock@google.com> Use locals to make run_apache2.py more readable

Also fixes style

Change-Id: I8045b7deb5badfed7758be459d05c58d0ff2e390
ssets/run_apache2.py
2e5982a55ac031110ed39515a76f7a5ec9ff2c14 26-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Tweaked the logging + some minor style fixes.

Change-Id: If89fe8ab1845780ecf23c5fd339a4932ebec9c0c
rc/com/android/dumprendertree2/AdditionalTextOutput.java
rc/com/android/dumprendertree2/FileFilter.java
rc/com/android/dumprendertree2/FsUtils.java
rc/com/android/dumprendertree2/LayoutTestController.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/VisualDiffUtils.java
rc/com/android/dumprendertree2/scriptsupport/Starter.java
da9f91a107c34ec0574724a5a0b71b0fa33b394a 26-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Updated the script to include access log."
fe33f987cb61d8a5c22f207df6d47d2346828af7 26-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Updated the script to include access log.

Change-Id: I3c97d60580040fa8e4bf63660091edb9c7a871fb
ssets/run_apache2.py
56d7e400ece64591685c8a21dbb82a94a7bd8010 23-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added forwarding service.

It creates the sockets on the device that allow DumpRenderTree2 to get tests from the server running on the remote machine. Communication happens through the adb.

Change-Id: I7f26ffc78195b6c5f4d423a57d5ee5f0f4a9c615
rc/com/android/dumprendertree2/forwarder/AdbUtils.java
rc/com/android/dumprendertree2/forwarder/ConnectionHandler.java
rc/com/android/dumprendertree2/forwarder/Forwarder.java
rc/com/android/dumprendertree2/forwarder/ForwarderManager.java
f0f30c677a187b0436e62d2be6c97b76e61d74ea 18-Aug-2010 Steve Block <steveblock@google.com> Implement logic for new Geolocation delayed permission LayoutTests

Bug: 2914450
Change-Id: Ic0be3120e88efe9199f7719b9ccb1090baaabed6
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
0e4d86fddf2c9664f2fd44247e5688f077b95d5e 18-Aug-2010 Steve Block <steveblock@google.com> Fix naming and executable bits on DumpRenderTree2 scripts

Change-Id: Id1415e2a166289c8c585e132e842f5ca6ad35426
ssets/run-apache2.py
ssets/run_apache2.py
ssets/run_layout_tests.py
073d2c9aa96f6265bacb5c6abc609ca265f60488 13-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added copyright information to the files that were missing it.

Change-Id: I3b814f2fbd96384189e702e723764d17cbbde5fe
ndroid.mk
ssets/run-apache2.py
74b13aecbe4116ce33da8ed99f1b5941ecda6505 12-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added python script that starts/stops apache2 server on host machine configured to handle http layout tests.

Change-Id: I7bf4390dfb4f9a580e6e4ca0eb25c85655df723c
ssets/run-apache2.py
2e64bb7afdd97c954491877306ccb8318f8ec3ce 10-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added more info to the Summarizer.

Bug: 2889572
Change-Id: If02dbdf90e8b8717370b5586cc72be235c93db79
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/Summarizer.java
rc/com/android/dumprendertree2/TestsListActivity.java
0186c93a6e2e8ea77408e57068aec993cef0075a 11-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Added a basic version of python script and supporting code in DumpRenderTree."
a0a586cd2fb06277436736abc291122aecf6c4ea 11-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Fixes crash when root dir does not exist.

Bug: 2904439
Change-Id: I629f88626e165348dd414f3ad49d9b415ab336cf
rc/com/android/dumprendertree2/TestsListPreloaderThread.java
rc/com/android/dumprendertree2/ui/DirListActivity.java
5fb9ff420d378c5c83e116efadefb669791098d5 09-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added a basic version of python script and supporting code in DumpRenderTree.

Change-Id: Ic60ef9b89f74a3a36a4c31765f99c8de08dce911
ndroid.mk
ndroidManifest.xml
ssets/run_layout_tests.py
rc/com/android/dumprendertree2/Summarizer.java
rc/com/android/dumprendertree2/TestsListActivity.java
rc/com/android/dumprendertree2/scriptsupport/OnEverythingFinishedCallback.java
rc/com/android/dumprendertree2/scriptsupport/ScriptTestRunner.java
rc/com/android/dumprendertree2/scriptsupport/Starter.java
ea46f2595a8718d4478e016fd40b2d57658289cf 10-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Resets Summarizer after everything's finished.

Bug: 2903641
Change-Id: I7cecd454fe726a1527999259d37bd51ea2785116
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/Summarizer.java
77bdba839b2f171d63527dcb3b4787a2e6ce9878 10-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Changed some parts of the code to prepare it for script support that will come in later commit."
c8fb818b947f15d4eb467c229ea43806dd75c01e 10-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Changed some parts of the code to prepare it for script support that will come in later commit.

Bug: 2903591

Change-Id: If8fcfad1557c8140c476212d8be9f99987cdaa18
ndroidManifest.xml
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/TestsListActivity.java
38b7eb96fde99fa5b2725c65f2b42538398aba37 10-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Added generating text summary to Summarizer."
68dede3d6664d91302d727531d13f7f5862d3a50 04-Aug-2010 Steve Block <steveblock@google.com> Hook up mock for testing DeviceOrientation in DRT

Change-Id: I99fbe328807428aa0d94893545bad0697ccb71d7
rc/com/android/dumprendertree2/LayoutTestController.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
8aff3c0571f078b0b212bd283278791ebc478da5 03-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added eventSender.

Change-Id: Iae31dc11ddd7b4b1b9c2e1c39fb61cc7b9832721
rc/com/android/dumprendertree2/EventSender.java
rc/com/android/dumprendertree2/EventSenderImpl.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
3df4eab3de243d3e9a68d2554eeaed3b1bb4d69d 09-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added generating text summary to Summarizer.

Change-Id: I8768403b0e4edd46132018c9da6de54b218fb594
rc/com/android/dumprendertree2/Summarizer.java
23a0ee4758da5e2d24ec6c9e8a63c127463a096f 04-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added crash-detection mechanism.

Change-Id: Idb6501e94ffae5948de84241e46a618bc56554dd
rc/com/android/dumprendertree2/CrashedDummyResult.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/TestsListActivity.java
7e2a39b5985a1449588a397195c178bfef9421db 04-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added detection of missing EventSender functions.

Change-Id: I5268a66089d5e29a9ae5e496d05f3c79465771f5
rc/com/android/dumprendertree2/Summarizer.java
38f28fac14d5ce4e5924226e734ecd10d228b783 03-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added geolocation layoutTestController functions.

Change-Id: Ie9558e873ff589b9e2358623433838f0718ea3b4
rc/com/android/dumprendertree2/LayoutTestController.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
40968a4540164b69436c482738f46e22867b8ff3 03-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added recording of JS dialog messages.

Change-Id: I3854f1fea81d47255c9fb398bdcbdff5ed4d8a52
rc/com/android/dumprendertree2/AdditionalTextOutput.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
100e106551af965b2f53a506011a875daffb0274 03-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Merge "Changed the order of searching for expected result (and added additional location)."
c83712e68642b9816a561916c6ec044509bd6759 03-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Changed the order of searching for expected result (and added additional location).

Change-Id: Ieb59ffcaeb999d0ed5a8445c97e6ea3bbe115e4d
rc/com/android/dumprendertree2/ManagerService.java
ef7f9d2458d547df4b47808f19e549eee9af76ce 03-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added wakelock to keep the screen from sleeping when executing tests.

Change-Id: Ib6a0ff2a7c906f500868269d6a617553733d33b1
ndroidManifest.xml
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
4a9e3a6dc3bfbc885730cfec7b2f1c147d179cc1 30-Jul-2010 Maksymilian Osowski <maxosowski@google.com> Added detecting unimplemented layoutTestController functions and green squares.

Change-Id: Iaa7bbdb83a074a874a210f7975c6c3b731e0a924
rc/com/android/dumprendertree2/Summarizer.java
dd4bff62b54033bedc254f517397ae8f954d0dc9 30-Jul-2010 Maksymilian Osowski <maxosowski@google.com> First batch of layoutTestController functions + some fixes and tweaks.

Change-Id: I9dae192c498d8e19fd75861a1a6cf1f079ad9c6f
rc/com/android/dumprendertree2/AbstractResult.java
rc/com/android/dumprendertree2/AdditionalTextOutput.java
rc/com/android/dumprendertree2/LayoutTestController.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/TextResult.java
42bee9cf7684623124470535d663537f70a4a441 28-Jul-2010 Maksymilian Osowski <maxosowski@google.com> Time-out mechanism and state machine.

Change-Id: I47c4342c02ea152b1503b9d5268900df3b40683c
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
6d0dae6a6534a01ee4c58d4f4ee1bf115c82319c 27-Jul-2010 Maksymilian Osowski <maxosowski@google.com> Upgraded DRT2 to generate nice HTML summaries of the tests.

Change-Id: Ibe4ee3af30fe20aeab2f3fed9c4c5693c9a0f268
ndroid.mk
rc/com/android/dumprendertree2/AbstractResult.java
rc/com/android/dumprendertree2/Summarizer.java
rc/com/android/dumprendertree2/TextResult.java
rc/com/android/dumprendertree2/VisualDiffUtils.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
ndroidManifest.xml
rc/com/android/dumprendertree2/AbstractResult.java
rc/com/android/dumprendertree2/LayoutTest.java
rc/com/android/dumprendertree2/LayoutTestsExecuter.java
rc/com/android/dumprendertree2/LayoutTestsExecutor.java
rc/com/android/dumprendertree2/LayoutTestsRunner.java
rc/com/android/dumprendertree2/LayoutTestsRunnerThread.java
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/Summarizer.java
rc/com/android/dumprendertree2/TestsListActivity.java
rc/com/android/dumprendertree2/TestsListPreloaderThread.java
rc/com/android/dumprendertree2/TextResult.java
rc/com/android/dumprendertree2/ui/DirListActivity.java
7ddc0b7a72aa66d699fecce3d855a6c70f844647 22-Jul-2010 Maksymilian Osowski <maxosowski@google.com> First stage of refactoring the code to handle crashes gracefully.

There is a new activity (LayoutTestsExecuter) added that is responsible for acutally running the tests and sending the actual results to the new
ManagerService class. This class will take over most of the functionality of the current LayoutTestsRunnerThread. At the moment
LayoutTestsRunnerThread is changed so that after computing the tests' list it sends the list to LayoutTestsExecuter. The rest of the code is
never called. It will be shifted to the service.

Current implementation of ManagerService only prints the log message on receiving the bundle with actual results from LayoutTestsExecuter.

Change-Id: I5adcbc20bb18ebf24324974bc66e4b31c4b81902
ndroidManifest.xml
rc/com/android/dumprendertree2/AbstractResult.java
rc/com/android/dumprendertree2/LayoutTest.java
rc/com/android/dumprendertree2/LayoutTestsExecuter.java
rc/com/android/dumprendertree2/LayoutTestsRunnerThread.java
rc/com/android/dumprendertree2/ManagerService.java
rc/com/android/dumprendertree2/TextResult.java
650893b6761612c8ac763483bcdbdb6c6da3b10d 16-Jul-2010 Maksymilian Osowski <maxosowski@google.com> Build fix.

Change-Id: Ie2baa3d7d32fd382e8ecb2a811669f50aa26fdc9
rc/com/android/dumprendertree2/LayoutTestsRunnerThread.java
4ee7f4b19489f4dc9b87e90d1e5c7742cfa7ebe0 16-Jul-2010 Maksymilian Osowski <maxosowski@google.com> LayoutTest class with supporting classes (AbstractResult, TextResult).

These classes are responsible for actually running the tests, checking the results, generating visual diffs, etc.

Change-Id: I9b7f554409db1c97ac086c456db3aea3b993b5c6
ndroidManifest.xml
rc/com/android/dumprendertree2/AbstractResult.java
rc/com/android/dumprendertree2/FsUtils.java
rc/com/android/dumprendertree2/LayoutTest.java
rc/com/android/dumprendertree2/LayoutTestsRunner.java
rc/com/android/dumprendertree2/LayoutTestsRunnerThread.java
rc/com/android/dumprendertree2/Summarizer.java
rc/com/android/dumprendertree2/TextResult.java
3c8ccb384513dd9bae0f98ac516ea36fbaa3173b 12-Jul-2010 Maksymilian Osowski <maxosowski@google.com> Added the LayoutTestsRunner class that is responsible for running the tests. Also, added some methods to FileFilter.

It preloads the tests from the given path, runs them and asks for dumps and diffs. It will also prepare summaries in the future. It delegates
most of the work of actually running the individual tests to LayoutTest class and AbstractResult (and its subclasses in the future).

Change-Id: I483bf26a380b539e4769e61b4a09fa270ab0e8e9
ndroidManifest.xml
es/values/strings.xml
rc/com/android/dumprendertree2/AbstractResult.java
rc/com/android/dumprendertree2/FileFilter.java
rc/com/android/dumprendertree2/FsUtils.java
rc/com/android/dumprendertree2/LayoutTest.java
rc/com/android/dumprendertree2/LayoutTestsRunner.java
rc/com/android/dumprendertree2/LayoutTestsRunnerThread.java
rc/com/android/dumprendertree2/Summarizer.java
rc/com/android/dumprendertree2/ui/DirListActivity.java
cc483d25b96dc2e394473e63cac29d06f1e96261 09-Jul-2010 Maksymilian Osowski <maxosowski@google.com> Added dialogs to the DirListActivity.

- A run/abort dialog on long click on directory
- A delayed progress dialog for directories that take long to load

Change-Id: I2fda245a48cb09faf8228809f7b091a7d2383589
es/values/strings.xml
rc/com/android/dumprendertree2/ui/DirListActivity.java
177eb38ef571e8602547dfd9ba78376822e18e01 09-Jul-2010 Ben Murdoch <benm@google.com> Update the file filter in DumpRenderTree (and DumpRenderTree2) so that
we run tests in .xhtml files.

Change-Id: I2af0bd29acef5bafa9dee9292aafc18d77a84080
rc/com/android/dumprendertree2/FileFilter.java
6fd7112e5cde88f805fcd2a62db5164edadb7dd6 07-Jul-2010 Maksymilian Osowski <maxosowski@google.com> A basic extension of ListActivity that allows navigating through tests and test folders.

It provides the user with the simple UI that makes it easy to chose which tests to run.

Change-Id: Ifd0c4665de73e5702b892e57f5e91f84db36b248
ndroid.mk
ndroidManifest.xml
es/drawable/folder.png
es/drawable/runtest.png
es/layout/dirlist_row.xml
rc/com/android/dumprendertree2/ui/DirListActivity.java
2910c123aade7619858fa972369cfae6c70e2087 06-Jul-2010 Maksymilian Osowski <maxosowski@google.com> Basic file filter class for the new DumpRenderTree.

This class handles which files are tests or directories and which should be skipped, have their results ignored or are slow.

Bug: 2816714

Change-Id: Id57390d736f542abac6fe5244b97ad6fecf82a2c
ndroid.mk
rc/com/android/dumprendertree2/FileFilter.java