summaryrefslogtreecommitdiffstats
path: root/components/metrics/drive_metrics_provider_unittest.cc
blob: 142faf72be1454966bdcf38da4af6c438e9738ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/metrics/drive_metrics_provider.h"

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace metrics {

TEST(DriveMetricsProviderTest, HasSeekPenalty) {
  base::FilePath tmp_path;
  ASSERT_TRUE(base::GetTempDir(&tmp_path));
  bool unused;
  DriveMetricsProvider::HasSeekPenalty(tmp_path, &unused);
}

}  // namespace metrics