garden-o-matic needs a way to mock out the network
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Aug 2011 07:13:56 +0000 (07:13 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Aug 2011 07:13:56 +0000 (07:13 +0000)
commit42a44c03c0f77a2c5e6d380ca349e8945e370ef7
treeb5dfce4ab7286a4299dfa5f3e091a11a19e9b5f5
parent0b58837ef5dfc116440ac74f4c80c9fb9a6e8480
garden-o-matic needs a way to mock out the network
https://bugs.webkit.org/show_bug.cgi?id=65653

Reviewed by Dimitri Glazkov.

This patch introduces the net module, which is a useful mock point for
abstracting away the network.  Future patches will use this
infrastructure to test some currently untested code.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/builders.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/net.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/net_unittests.js: Added.
(NetworkSimulator):
(NetworkSimulator.prototype.scheduleCallback):
(NetworkSimulator.prototype.runTest):
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results_unittests.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
* Scripts/webkitpy/tool/servers/gardeningserver.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@92354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/builders.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/checkout.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/net.js [new file with mode: 0644]
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/net_unittests.js [new file with mode: 0644]
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results_unittests.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html
Tools/ChangeLog
Tools/Scripts/webkitpy/tool/servers/gardeningserver.py