summaryrefslogtreecommitdiffstats
path: root/net/test/local_test_server.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add "run_testserver --sync-test" for easy chromiumsync_test.py launching.tim@chromium.org2012-03-151-8/+21
| | | | | | | | | BUG=none TEST=type that command. see tests run. Review URL: https://chromiumcodereview.appspot.com/9545019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126847 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable GDataTest with testfile.txtmukai@chromium.org2012-03-131-1/+4
| | | | | | | | | | | | | | | | | | | | | It was disabled by crrev.com/125443. The root of cause is testserver.py returns 404 instead of 200 for some test case. I noticed that's because the new file 'testfile.txt' (https://chromiumcodereview.appspot.com/9597014/patch/13002/10026) is somehow missing in crrev.com/125404. So this CL adds the missing file and re-enable the test cases. It also changed |service_| to scoped_ptr and creating the instance in SetUpOnMainThread(), because the initialization needs to be in UI thread (see GDataAuthService::GDataAuthService()) It also fixed local_test_server.cc which does not care about TYPE_GDATA. This CL does not work with remove_test_server but it's okay because remote_test_server is for OS_ANDROID and this test is for chromeos. BUG=chromium-os:26355 TEST=passed Review URL: https://chromiumcodereview.appspot.com/9666051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126305 0039d316-1c4b-4281-b951-d872f2087c98
* Make test server to talk with the python test server which is running on ↵jnd@chromium.org2012-03-121-0/+237
remote machine. For Chromium/Android platform, since there is no python env support on Android device, we have to run the test server on the remote host and let the test server to talk with it. Also add the net_util.h into some test files to fix compilation error. They used to implicitly rely on the net_util.h definition by including test_server.h, but the net_util.h is removed from test_server.h in this patch. Since the fix in those test files are trivial, Ryan and Paweł are OK with the patch, just TBR to the owners to skip the owner presubmit check for landing. TBR=owners BUG=None TEST=net_unittests should pass on all platforms Review URL: http://codereview.chromium.org/9359051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126100 0039d316-1c4b-4281-b951-d872f2087c98