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

Side by Side Diff: storage/browser/blob/blob_storage_registry_unittest.cc

Issue 2774413002: Move some blob tests next to the files they cover. (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "storage/browser/blob/blob_storage_registry.h" 5 #include "storage/browser/blob/blob_storage_registry.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "storage/browser/blob/blob_entry.h" 8 #include "storage/browser/blob/blob_entry.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // Both urls point to the same blob. 72 // Both urls point to the same blob.
73 EXPECT_TRUE(registry.CreateUrlMapping(kURL2, kBlob)); 73 EXPECT_TRUE(registry.CreateUrlMapping(kURL2, kBlob));
74 std::string uuid2; 74 std::string uuid2;
75 EXPECT_EQ(registry.GetEntryFromURL(kURL, &uuid), 75 EXPECT_EQ(registry.GetEntryFromURL(kURL, &uuid),
76 registry.GetEntryFromURL(kURL2, &uuid2)); 76 registry.GetEntryFromURL(kURL2, &uuid2));
77 EXPECT_EQ(uuid, uuid2); 77 EXPECT_EQ(uuid, uuid2);
78 } 78 }
79 79
80 } // namespace 80 } // namespace
81 } // namespace storage 81 } // namespace storage
OLDNEW
« no previous file with comments | « storage/browser/blob/blob_slice_unittest.cc ('k') | storage/browser/blob/blob_transport_request_builder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698