dbeam | 005649e | 2015-04-02 17:24:47 | [diff] [blame] | 1 | // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
blundell | b5c6b5a | 2015-07-30 20:18:30 | [diff] [blame] | 5 | #include "components/metrics/drive_metrics_provider.h" |
dbeam | 005649e | 2015-04-02 17:24:47 | [diff] [blame] | 6 | |
| 7 | #include "base/files/file_path.h" |
| 8 | #include "base/files/file_util.h" |
| 9 | #include "testing/gtest/include/gtest/gtest.h" |
| 10 | |
blundell | b5c6b5a | 2015-07-30 20:18:30 | [diff] [blame] | 11 | namespace metrics { |
| 12 | |
dbeam | 005649e | 2015-04-02 17:24:47 | [diff] [blame] | 13 | TEST(DriveMetricsProviderTest, HasSeekPenalty) { |
| 14 | base::FilePath tmp_path; |
| 15 | ASSERT_TRUE(base::GetTempDir(&tmp_path)); |
| 16 | bool unused; |
| 17 | DriveMetricsProvider::HasSeekPenalty(tmp_path, &unused); |
| 18 | } |
blundell | b5c6b5a | 2015-07-30 20:18:30 | [diff] [blame] | 19 | |
| 20 | } // namespace metrics |