| OLD | NEW | 
|---|
| 1 // Copyright (c) 2009 The Chromium Authos. All rights reserved. | 1 // Copyright (c) 2009 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 "base/string_util.h" | 5 #include "base/string_util.h" | 
| 6 #include "testing/gtest/include/gtest/gtest.h" | 6 #include "testing/gtest/include/gtest/gtest.h" | 
| 7 #include "webkit/database/database_util.h" | 7 #include "webkit/database/database_util.h" | 
| 8 | 8 | 
| 9 using webkit_database::DatabaseUtil; | 9 using webkit_database::DatabaseUtil; | 
| 10 | 10 | 
| 11 static void TestVfsFilePath(bool expected_result, | 11 static void TestVfsFilePath(bool expected_result, | 
| (...skipping 24 matching lines...) Expand all  Loading... | 
| 36   TestVfsFilePath(true, "origin/db_name#suffix", "origin", "db_name", "suffix"); | 36   TestVfsFilePath(true, "origin/db_name#suffix", "origin", "db_name", "suffix"); | 
| 37   TestVfsFilePath(false, "origindb_name#"); | 37   TestVfsFilePath(false, "origindb_name#"); | 
| 38   TestVfsFilePath(false, "origindb_name#suffix"); | 38   TestVfsFilePath(false, "origindb_name#suffix"); | 
| 39   TestVfsFilePath(false, "origin/db_name"); | 39   TestVfsFilePath(false, "origin/db_name"); | 
| 40   TestVfsFilePath(false, "origin#db_name/suffix"); | 40   TestVfsFilePath(false, "origin#db_name/suffix"); | 
| 41   TestVfsFilePath(false, "/db_name#"); | 41   TestVfsFilePath(false, "/db_name#"); | 
| 42   TestVfsFilePath(false, "/db_name#suffix"); | 42   TestVfsFilePath(false, "/db_name#suffix"); | 
| 43 } | 43 } | 
| 44 | 44 | 
| 45 }  // namespace webkit_database | 45 }  // namespace webkit_database | 
| OLD | NEW | 
|---|