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