Commit Graph

4 Commits

Author SHA1 Message Date
mpl 1fd526b999 test/transport.go: move to httputil, so we can use it without linking testing
Change-Id: I889d167a78ef0fba5ef2e9e3e884f594e151e940
2014-07-14 18:33:10 +02:00
Brad Fitzpatrick bafc53703d context: don't allow mutating an existing context's HTTP client
Instead, require specifying it when constructing a new context.

Prevents misuse and bugs / data races.

Change-Id: I775e998bf69b9e238ec726c469494c1a65f8f9de
2014-07-02 14:34:24 -07:00
Brad Fitzpatrick 94ab7a8f70 pkg/test: move importers' fakeTransport to test.NewFakeTransport
Change-Id: Iadefb6358983c0d479b269de47d368abf5e0c93b
2014-05-14 12:56:14 -07:00
Brad Fitzpatrick bf2a7b60a3 Importer overhaul. Only Foursquare is currently working.
The rest are currently stubbed out and will need updating
to the new APIs.

Change-Id: I9d70302b3ac1026192413bf9dcd3c8f1eb420349
2014-03-31 10:56:30 -07:00