OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <algorithm> | 5 #include <algorithm> |
6 #include <vector> | 6 #include <vector> |
7 | 7 |
8 #include "base/file_util.h" | |
9 #include "base/files/file.h" | 8 #include "base/files/file.h" |
| 9 #include "base/files/file_util.h" |
10 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
11 #include "chrome/common/media_galleries/pmp_constants.h" | 11 #include "chrome/common/media_galleries/pmp_constants.h" |
12 #include "chrome/common/media_galleries/pmp_test_util.h" | 12 #include "chrome/common/media_galleries/pmp_test_util.h" |
13 #include "chrome/utility/media_galleries/pmp_column_reader.h" | 13 #include "chrome/utility/media_galleries/pmp_column_reader.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
16 namespace picasa { | 16 namespace picasa { |
17 | 17 |
18 namespace { | 18 namespace { |
19 | 19 |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 TEST(PmpColumnReaderTest, PrimitiveParsing) { | 196 TEST(PmpColumnReaderTest, PrimitiveParsing) { |
197 TestPrimitive<uint32>(PMP_TYPE_UINT32); | 197 TestPrimitive<uint32>(PMP_TYPE_UINT32); |
198 TestPrimitive<double>(PMP_TYPE_DOUBLE64); | 198 TestPrimitive<double>(PMP_TYPE_DOUBLE64); |
199 TestPrimitive<uint8>(PMP_TYPE_UINT8); | 199 TestPrimitive<uint8>(PMP_TYPE_UINT8); |
200 TestPrimitive<uint64>(PMP_TYPE_UINT64); | 200 TestPrimitive<uint64>(PMP_TYPE_UINT64); |
201 } | 201 } |
202 | 202 |
203 } // namespace | 203 } // namespace |
204 | 204 |
205 } // namespace picasa | 205 } // namespace picasa |
OLD | NEW |