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

Side by Side Diff: storage/browser/blob/blob_data_builder_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
« no previous file with comments | « storage/browser/BUILD.gn ('k') | storage/browser/blob/blob_flattener_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_data_builder.h" 5 #include "storage/browser/blob/blob_data_builder.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "storage/common/data_element.h" 10 #include "storage/common/data_element.h"
(...skipping 11 matching lines...) Expand all
22 22
23 BlobDataBuilder builder(kId); 23 BlobDataBuilder builder(kId);
24 builder.AppendFutureFile(0, 10, 0); 24 builder.AppendFutureFile(0, 10, 0);
25 EXPECT_TRUE( 25 EXPECT_TRUE(
26 BlobDataBuilder::IsFutureFileItem(builder.items_[0]->data_element())); 26 BlobDataBuilder::IsFutureFileItem(builder.items_[0]->data_element()));
27 EXPECT_EQ(0ull, BlobDataBuilder::GetFutureFileID( 27 EXPECT_EQ(0ull, BlobDataBuilder::GetFutureFileID(
28 builder.items_[0]->data_element())); 28 builder.items_[0]->data_element()));
29 } 29 }
30 30
31 } // namespace storage 31 } // namespace storage
OLDNEW
« no previous file with comments | « storage/browser/BUILD.gn ('k') | storage/browser/blob/blob_flattener_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698