98 Commits

Author SHA1 Message Date
Ben Murdoch
977f7691e5 Only move to the next test in DRT after the test has completed AND the page has finished loading.
Change-Id: I157da58bb99f7bf0fcd00073d078c26c7df201ed
2009-09-17 11:57:47 +01:00
Android (Google) Code Review
44ca7090ac Merge change 25356 into eclair
* changes:
  Filter out failing cases for future investigation.
2009-09-16 18:28:31 -04:00
Guang Zhu
01033abd7a Filter out failing cases for future investigation. 2009-09-16 15:04:38 -07:00
Guang Zhu
6bf18bae60 Refactor logic for starting forward servers and http test cases hacking, so that they can be shared between automated test mode and UI launch mode. 2009-09-15 23:47:20 -07:00
Guang Zhu
ce8d9d1672 Add more error message if the script failed to pull result file from device. 2009-09-15 14:17:04 -07:00
Guang Zhu
ad1e25da74 Fix the bogus crashes in layout and reliability tests (the device actually went offline). 2009-09-14 15:20:52 -07:00
Guang Zhu
60ef21a5da Fix the parsing for instrumentation result, some Java exceptions are not reported right now 2009-09-14 11:27:40 -07:00
Andrei Popescu
4950b2b695 Fix appcache layout test that was timing out due to race condition in WebView::addJavascriptInterface. 2009-09-03 22:31:55 +01:00
Guang Zhu
b937ba138f Read forward address from file for DRT, fallback to default address
modified:   tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
2009-09-02 14:03:37 -07:00
Guang Zhu
f3d924ca0d Set a default dump type for DRT as a workaround for indeterministic order in receiving dumpAsText and onPageFinish callback. 2009-09-01 11:57:16 -07:00
Guang Zhu
4a40a039c0 At leaset log the layout test timeouts 2009-09-01 10:23:24 -07:00
Guang Zhu
38323a5f9f allow a longer timeout for layout tests, see if it stabilizes pass/fail numbers 2009-08-31 22:01:53 -07:00
Ben Murdoch
d497d87650 Pass the estimated size of new HTML 5 databases to the ChromeClient so it can use that amount to figure an initial default quota.
Change-Id:Ic9372b0c86472b42ba5d0b964aaff1e2bbfe3efa
2009-08-26 12:39:55 +01:00
Guang Zhu
8e3a84cd2e Filter out worker tests from layout suite because merely disabling worker in webview settings no longer works. 2009-08-24 21:01:25 -07:00
Android (Google) Code Review
25131299aa Merge change 21978 into eclair
* changes:
  Adds the ability to set Geolocation permissions from DumpRenderTree on Android.
2009-08-24 02:28:23 -07:00
Guang Zhu
5080b6736e Fixed the missing EOL in last line of crashed tests list file. Also fixed some whitespaces. 2009-08-20 18:20:46 -07:00
Steve Block
dad347c8b8 Adds the ability to set Geolocation permissions from DumpRenderTree on Android. 2009-08-19 22:52:25 +01:00
Steve Block
a8dfe24da0 Adds the ability to configure the mock Geolocation service from DumpRenderTree. 2009-08-14 16:43:28 +01:00
Feng Qian
2890920eba Set V8 flag --expose_gc in TestShellActivity.
Page cycler calls window.gc between pages, JSC exposes window.gc by default, and V8 requires the flag to be set.
2009-08-13 14:54:56 -07:00
Guang Zhu
b028f92e75 Disable Worker in DumpRenderTree until the issue with dumpAsText is fixed. 2009-08-11 14:27:32 -07:00
Ben Murdoch
d4f09592f7 Enable Workers in Dump Render Tree. 2009-08-06 12:59:35 +01:00
Android (Google) Code Review
8031361ad5 am 7a07f179: Merge change 20006 into donut
Merge commit '7a07f1797684597a3b932aa0b365049d3e7d6ff3'

* commit '7a07f1797684597a3b932aa0b365049d3e7d6ff3':
  After each test, the WebView cache should be cleared, otherwise the cache data will pile up.
2009-08-04 14:31:12 -07:00
Guang Zhu
c189b2ddd4 After each test, the WebView cache should be cleared, otherwise the cache data will pile up. 2009-08-04 14:04:06 -07:00
Guang Zhu
d186ef12b3 am 8c5b3e2f: Change browser reliability test to start a new activity for each url
Merge commit '8c5b3e2fa60e29e45c97bf83b2aa8c6505987f82'

* commit '8c5b3e2fa60e29e45c97bf83b2aa8c6505987f82':
  Change browser reliability test to start a new activity for each url
2009-08-03 15:05:35 -07:00
Guang Zhu
8c5b3e2fa6 Change browser reliability test to start a new activity for each url 2009-08-03 12:18:40 -07:00
Andrei Popescu
59e2ad93bf Wire in the AppCache out-of-space callback 2009-07-29 11:07:44 +01:00
Guang Zhu
f4bf552b5a checkin for port forwarding through adb, gets access to external network via USB, this also adds in related plumbing for running the http hosted tests, but will not enable those tests yet. 2009-07-27 12:59:02 -07:00
Andrei Popescu
bc4aa5f693 Fix master build 2009-07-22 09:13:29 +01:00
Guang Zhu
f56e1a1ed4 Call WebView#freeMemory before collecting memory information 2009-07-20 11:16:28 -07:00
Android (Google) Code Review
b933dc7f47 am 22eef5da: Merge change 7753 into donut
Merge commit '22eef5da75604cd14c0f87332cf957c9948a6e33'

* commit '22eef5da75604cd14c0f87332cf957c9948a6e33':
  Add a delay before collecting memory information
2009-07-19 20:20:03 -07:00
Guang Zhu
1f6c72bff6 Add a delay before collecting memory information
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-17 14:22:24 -07:00
Feng Qian
0aeed6af6e Free memory on low memory condition.
This allows WebView to release cached resources and continue running.
2009-07-16 20:57:46 -07:00
Android (Google) Code Review
1a3ef96b34 am e57ff0e1: Merge change 6652 into donut
Merge commit 'e57ff0e1db46559699e4fadfbe9abe67ef9472fe'

* commit 'e57ff0e1db46559699e4fadfbe9abe67ef9472fe':
  Call clearCache on WebView before collecting memory information.
2009-07-09 13:47:07 -07:00
Guang Zhu
889181d7fd Call clearCache on WebView before collecting memory information. 2009-07-09 12:55:15 -07:00
Android (Google) Code Review
6a840aacc4 am b7d7d5f6: Merge change 5806 into donut
Merge commit 'b7d7d5f6380e1b7c2b1754be05b0113b91ce01c9'

* commit 'b7d7d5f6380e1b7c2b1754be05b0113b91ce01c9':
  Use additional functions to collect more memory information data points.
2009-07-01 16:01:58 -07:00
Guang Zhu
c899d0c7d9 resolved conflicts for merge of 53e083c9 to master 2009-07-01 11:03:25 -07:00
Guang Zhu
40656be658 Use additional functions to collect more memory information data points. 2009-06-30 11:56:13 -07:00
Guang Zhu
f92bd42a70 Added a new operation mode where user can launch all tests under a folder from test app ui. 2009-06-29 14:45:50 -07:00
Ben Murdoch
e6f3e45dc4 Enable storage tests in Dump Render Tree so we can run Database and DOM Storage layout tests. 2009-06-22 16:40:29 +01:00
Android (Google) Code Review
aba6af9277 am 79ac8770: Merge change 4834 into donut
Merge commit '79ac87704d2e38afb06356704e4b52c739237f40'

* commit '79ac87704d2e38afb06356704e4b52c739237f40':
  Fix a bug where wrong variable was used for comparison.
2009-06-19 17:25:55 -07:00
Guang Zhu
595fbd6ea2 Fix a bug where wrong variable was used for comparison. 2009-06-19 15:40:01 -07:00
Android (Google) Code Review
42a28be209 am c2922687: Merge change 4182 into donut
Merge commit 'c2922687fa8f953cc1325a6416af5be43cb41fed'

* commit 'c2922687fa8f953cc1325a6416af5be43cb41fed':
  Add more data to reliability test report, includes min, max, std, run data.
2009-06-15 10:19:06 -07:00
Guang Zhu
0528cd03b2 Add more data to reliability test report, includes min, max, std, run data. 2009-06-15 10:13:58 -07:00
Android (Google) Code Review
933a386e63 am d83d6606: Merge change 4106 into donut
Merge commit 'd83d6606d62e27effc27be48d6050914deefe9eb'

* commit 'd83d6606d62e27effc27be48d6050914deefe9eb':
  Adjust order of file/section list in output diff
2009-06-15 09:38:34 -07:00
Guang Zhu
903f311fdc Adjust order of file/section list in output diff 2009-06-12 15:03:45 -07:00
Android (Google) Code Review
3835736988 am f229aff1: Merge change 3967 into donut
Merge commit 'f229aff118dc53c3a06f0b4120d9ce22f4c2dd6e'

* commit 'f229aff118dc53c3a06f0b4120d9ce22f4c2dd6e':
  Update control files (pass/fail/nontext/crash) to results from CRB45
2009-06-12 08:25:35 -07:00
Guang Zhu
261a195323 Update control files (pass/fail/nontext/crash) to results from CRB45 2009-06-11 15:42:23 -07:00
Android (Google) Code Review
bf521a0f7d am 4a60b887: Merge change 3761 into donut
Merge commit '4a60b887d4b9744126e62b094a9597ee8e924640'

* commit '4a60b887d4b9744126e62b094a9597ee8e924640':
  Added support to record page load time for each url.
2009-06-10 15:33:08 -07:00
Guang Zhu
2ab6f1fe0b Added support to record page load time for each url. 2009-06-10 13:37:03 -07:00
Guang Zhu
c71f084ff9 am 7757656a: Changed logic to handle timeout pages.
Merge commit '7757656a11ba7050274c337fd2dc2f18f9e7806f'

* commit '7757656a11ba7050274c337fd2dc2f18f9e7806f':
  Changed logic to handle timeout pages.
2009-06-07 13:47:45 -07:00