OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/file_util.h" | 5 #include "base/file_util.h" |
6 #include "base/files/scoped_temp_dir.h" | 6 #include "base/files/scoped_temp_dir.h" |
7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "chrome/browser/webdata/web_apps_table.h" | 10 #include "chrome/browser/webdata/web_apps_table.h" |
11 #include "chrome/browser/webdata/web_database.h" | 11 #include "components/webdata/common/web_database.h" |
12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "third_party/skia/include/core/SkBitmap.h" | 14 #include "third_party/skia/include/core/SkBitmap.h" |
15 | 15 |
16 using base::Time; | 16 using base::Time; |
17 | 17 |
18 class WebAppsTableTest : public testing::Test { | 18 class WebAppsTableTest : public testing::Test { |
19 public: | 19 public: |
20 WebAppsTableTest() {} | 20 WebAppsTableTest() {} |
21 virtual ~WebAppsTableTest() {} | 21 virtual ~WebAppsTableTest() {} |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 ASSERT_EQ(16, images[0].height()); | 119 ASSERT_EQ(16, images[0].height()); |
120 ASSERT_EQ(32, images[1].width()); | 120 ASSERT_EQ(32, images[1].width()); |
121 ASSERT_EQ(32, images[1].height()); | 121 ASSERT_EQ(32, images[1].height()); |
122 } else { | 122 } else { |
123 ASSERT_EQ(32, images[0].width()); | 123 ASSERT_EQ(32, images[0].width()); |
124 ASSERT_EQ(32, images[0].height()); | 124 ASSERT_EQ(32, images[0].height()); |
125 ASSERT_EQ(16, images[1].width()); | 125 ASSERT_EQ(16, images[1].width()); |
126 ASSERT_EQ(16, images[1].height()); | 126 ASSERT_EQ(16, images[1].height()); |
127 } | 127 } |
128 } | 128 } |
OLD | NEW |