OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 // MTPDeviceObjectEnumerator unit tests. | 5 // MTPDeviceObjectEnumerator unit tests. |
6 | 6 |
7 #include "chrome/browser/media_galleries/win/mtp_device_object_enumerator.h" | 7 #include "chrome/browser/media_galleries/win/mtp_device_object_enumerator.h" |
8 | 8 |
9 #include <ctime> | 9 #include <ctime> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "base/time.h" | 13 #include "base/time.h" |
14 #include "chrome/browser/media_galleries/win/mtp_device_object_entry.h" | 14 #include "chrome/browser/media_galleries/win/mtp_device_object_entry.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 | 16 |
17 namespace chrome { | 17 namespace chrome { |
18 namespace { | 18 namespace { |
19 | 19 |
20 struct MTPDeviceObjectEntryData { | 20 struct MTPDeviceObjectEntryData { |
21 // Friendly name of the object, e.g. "IMG_9911.jpeg". | 21 // Friendly name of the object, e.g. "IMG_9911.jpeg". |
22 string16 name; | 22 string16 name; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 } | 85 } |
86 TestNextEntryIsEmpty(&enumerator); | 86 TestNextEntryIsEmpty(&enumerator); |
87 TestNextEntryIsEmpty(&enumerator); | 87 TestNextEntryIsEmpty(&enumerator); |
88 TestEnumeratorIsEmpty(&enumerator); | 88 TestEnumeratorIsEmpty(&enumerator); |
89 TestNextEntryIsEmpty(&enumerator); | 89 TestNextEntryIsEmpty(&enumerator); |
90 TestEnumeratorIsEmpty(&enumerator); | 90 TestEnumeratorIsEmpty(&enumerator); |
91 } | 91 } |
92 | 92 |
93 } // namespace | 93 } // namespace |
94 } // namespace chrome | 94 } // namespace chrome |
OLD | NEW |