Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Unified Diff: chrome/browser/local_discovery/privet_http_unittest.cc

Issue 492693004: Delete Privet filesystem code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/local_discovery/privet_http_unittest.cc
diff --git a/chrome/browser/local_discovery/privet_http_unittest.cc b/chrome/browser/local_discovery/privet_http_unittest.cc
index 32f98d5189765b57dbc92b93e581bdf6e10a68da..e19bf1a17196e843a5e632fb211edd45883e518c 100644
--- a/chrome/browser/local_discovery/privet_http_unittest.cc
+++ b/chrome/browser/local_discovery/privet_http_unittest.cc
@@ -186,8 +186,6 @@ const char kSampleInvalidDocumentTypeResponse[] = "{"
const char kSampleCreatejobResponse[] = "{ \"job_id\": \"1234\" }";
-const char kSampleEmptyJSONResponse[] = "{}";
-
const char kSampleCJT[] = "{ \"version\" : \"1.0\" }";
const char kSampleCapabilitiesResponsePWGSettings[] =
@@ -460,24 +458,6 @@ class FakePWGRasterConverter : public PWGRasterConverter {
printing::PwgRasterSettings bitmap_settings_;
};
-TEST_F(PrivetHTTPTest, CreatePrivetStorageList) {
- MockJSONCallback mock_callback;
- scoped_ptr<PrivetJSONOperation> storage_list_operation =
- privet_client_->CreateStorageListOperation(
- "/path/to/nothing",
- mock_callback.callback());
- storage_list_operation->Start();
-
- EXPECT_TRUE(SuccessfulResponseToURL(GURL("http://10.0.0.8:6006/privet/info"),
- kSampleInfoResponse));
-
- EXPECT_CALL(mock_callback, OnPrivetJSONDoneInternal());
-
- EXPECT_TRUE(SuccessfulResponseToURL(
- GURL("http://10.0.0.8:6006/privet/storage/list?path=/path/to/nothing"),
- kSampleEmptyJSONResponse));
-}
-
class PrivetInfoTest : public PrivetHTTPTest {
public:
PrivetInfoTest() {}
« no previous file with comments | « chrome/browser/local_discovery/privet_http_impl.cc ('k') | chrome/browser/local_discovery/storage/path_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698