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

Side by Side Diff: storage/common/database/database_identifier_unittest.cc

Issue 2827933003: Move storage tests from content/common next to the files they cover. (Closed)
Patch Set: Add missing dep. 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/common/database/database_identifier.h" 5 #include "storage/common/database/database_identifier.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 TestValidOriginIdentifier(false, ""); 278 TestValidOriginIdentifier(false, "");
279 TestValidOriginIdentifier(false, "bad..id"); 279 TestValidOriginIdentifier(false, "bad..id");
280 TestValidOriginIdentifier(false, "bad/id"); 280 TestValidOriginIdentifier(false, "bad/id");
281 TestValidOriginIdentifier(false, "bad\\id"); 281 TestValidOriginIdentifier(false, "bad\\id");
282 TestValidOriginIdentifier(false, "http_bad:0_2"); 282 TestValidOriginIdentifier(false, "http_bad:0_2");
283 TestValidOriginIdentifier(false, std::string("bad\0id", 6)); 283 TestValidOriginIdentifier(false, std::string("bad\0id", 6));
284 } 284 }
285 285
286 } // namespace 286 } // namespace
287 } // namespace content 287 } // namespace content
OLDNEW
« no previous file with comments | « storage/common/database/database_connections_unittest.cc ('k') | storage/common/fileapi/file_system_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698