drive_metrics_provider_unittest.cc 580 B

1234567891011121314151617181920
  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. #include "components/metrics/drive_metrics_provider.h"
  5. #include "base/files/file_path.h"
  6. #include "base/files/file_util.h"
  7. #include "testing/gtest/include/gtest/gtest.h"
  8. namespace metrics {
  9. TEST(DriveMetricsProviderTest, HasSeekPenalty) {
  10. base::FilePath tmp_path;
  11. ASSERT_TRUE(base::GetTempDir(&tmp_path));
  12. bool unused;
  13. DriveMetricsProvider::HasSeekPenalty(tmp_path, &unused);
  14. }
  15. } // namespace metrics