summaryrefslogtreecommitdiffstats
path: root/tests/DumpRenderTree2/src
Commit message (Collapse)AuthorAgeFilesLines
* Implement logic for new Geolocation delayed permission LayoutTestsSteve Block2010-08-181-10/+32
| | | | | Bug: 2914450 Change-Id: Ic0be3120e88efe9199f7719b9ccb1090baaabed6
* Added more info to the Summarizer.Maksymilian Osowski2010-08-123-13/+51
| | | | | Bug: 2889572 Change-Id: If02dbdf90e8b8717370b5586cc72be235c93db79
* Merge "Added a basic version of python script and supporting code in ↵Maksymilian Osowski2010-08-115-4/+156
|\ | | | | | | DumpRenderTree."
| * Added a basic version of python script and supporting code in DumpRenderTree.Maksymilian Osowski2010-08-115-4/+156
| | | | | | | | Change-Id: Ic60ef9b89f74a3a36a4c31765f99c8de08dce911
* | Fixes crash when root dir does not exist.Maksymilian Osowski2010-08-112-7/+11
|/ | | | | Bug: 2904439 Change-Id: I629f88626e165348dd414f3ad49d9b415ab336cf
* Resets Summarizer after everything's finished.Maksymilian Osowski2010-08-102-0/+9
| | | | | Bug: 2903641 Change-Id: I7cecd454fe726a1527999259d37bd51ea2785116
* Merge "Changed some parts of the code to prepare it for script support that ↵Maksymilian Osowski2010-08-102-7/+21
|\ | | | | | | will come in later commit."
| * Changed some parts of the code to prepare it for script support that will ↵Maksymilian Osowski2010-08-102-7/+21
| | | | | | | | | | | | | | | | come in later commit. Bug: 2903591 Change-Id: If8fcfad1557c8140c476212d8be9f99987cdaa18
* | Merge "Added generating text summary to Summarizer."Maksymilian Osowski2010-08-101-6/+37
|\ \
| * | Added generating text summary to Summarizer.Maksymilian Osowski2010-08-091-6/+37
| | | | | | | | | | | | Change-Id: I8768403b0e4edd46132018c9da6de54b218fb594
* | | Hook up mock for testing DeviceOrientation in DRTSteve Block2010-08-102-2/+19
| |/ |/| | | | | Change-Id: I99fbe328807428aa0d94893545bad0697ccb71d7
* | Added eventSender.Maksymilian Osowski2010-08-103-3/+680
|/ | | | Change-Id: Iae31dc11ddd7b4b1b9c2e1c39fb61cc7b9832721
* Added crash-detection mechanism.Maksymilian Osowski2010-08-094-6/+233
| | | | Change-Id: Idb6501e94ffae5948de84241e46a618bc56554dd
* Added detection of missing EventSender functions.Maksymilian Osowski2010-08-061-7/+13
| | | | Change-Id: I5268a66089d5e29a9ae5e496d05f3c79465771f5
* Added geolocation layoutTestController functions.Maksymilian Osowski2010-08-032-0/+41
| | | | Change-Id: Ie9558e873ff589b9e2358623433838f0718ea3b4
* Added recording of JS dialog messages.Maksymilian Osowski2010-08-032-25/+58
| | | | Change-Id: I3854f1fea81d47255c9fb398bdcbdff5ed4d8a52
* Merge "Changed the order of searching for expected result (and added ↵Maksymilian Osowski2010-08-031-7/+19
|\ | | | | | | additional location)."
| * Changed the order of searching for expected result (and added additional ↵Maksymilian Osowski2010-08-031-7/+19
| | | | | | | | | | | | location). Change-Id: Ieb59ffcaeb999d0ed5a8445c97e6ea3bbe115e4d
* | Added wakelock to keep the screen from sleeping when executing tests.Maksymilian Osowski2010-08-031-0/+11
|/ | | | Change-Id: Ib6a0ff2a7c906f500868269d6a617553733d33b1
* Added detecting unimplemented layoutTestController functions and green squares.Maksymilian Osowski2010-08-031-3/+28
| | | | Change-Id: Iaa7bbdb83a074a874a210f7975c6c3b731e0a924
* First batch of layoutTestController functions + some fixes and tweaks.Maksymilian Osowski2010-08-036-15/+380
| | | | Change-Id: I9dae192c498d8e19fd75861a1a6cf1f079ad9c6f
* Time-out mechanism and state machine.Maksymilian Osowski2010-08-021-13/+77
| | | | Change-Id: I47c4342c02ea152b1503b9d5268900df3b40683c
* Upgraded DRT2 to generate nice HTML summaries of the tests.Maksymilian Osowski2010-07-294-143/+446
| | | | Change-Id: Ibe4ee3af30fe20aeab2f3fed9c4c5693c9a0f268
* Moved practically all of the prerefactoring functionality to the new design.Maksymilian Osowski2010-07-2710-539/+316
| | | | | | | | | | 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
* First stage of refactoring the code to handle crashes gracefully.Maksymilian Osowski2010-07-266-8/+357
| | | | | | | | | | | 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
* Build fix.Maksymilian Osowski2010-07-211-1/+0
| | | | Change-Id: Ie2baa3d7d32fd382e8ecb2a811669f50aa26fdc9
* LayoutTest class with supporting classes (AbstractResult, TextResult).Maksymilian Osowski2010-07-217-50/+482
| | | | | | These classes are responsible for actually running the tests, checking the results, generating visual diffs, etc. Change-Id: I9b7f554409db1c97ac086c456db3aea3b993b5c6
* Added the LayoutTestsRunner class that is responsible for running the tests. ↵Maksymilian Osowski2010-07-168-15/+778
| | | | | | | | | 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
* Added dialogs to the DirListActivity.Maksymilian Osowski2010-07-121-5/+141
| | | | | | | - A run/abort dialog on long click on directory - A delayed progress dialog for directories that take long to load Change-Id: I2fda245a48cb09faf8228809f7b091a7d2383589
* Update the file filter in DumpRenderTree (and DumpRenderTree2) so thatBen Murdoch2010-07-091-3/+4
| | | | | | we run tests in .xhtml files. Change-Id: I2af0bd29acef5bafa9dee9292aafc18d77a84080
* A basic extension of ListActivity that allows navigating through tests and ↵Maksymilian Osowski2010-07-091-0/+253
| | | | | | | | test folders. It provides the user with the simple UI that makes it easy to chose which tests to run. Change-Id: Ifd0c4665de73e5702b892e57f5e91f84db36b248
* Basic file filter class for the new DumpRenderTree.Maksymilian Osowski2010-07-071-0/+239
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