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
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/ForwarderManager.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
/frameworks/base/tests/DumpRenderTree2/src/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
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/ForwarderManager.java
|
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
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/ForwarderManager.java
|