Make castv2 performance test work.
[chromium-blink-merge.git] / chrome / browser / metrics / drive_metrics_provider_unittest.cc
blob7e784423c929c386eb980491dfd51f0526a9c7fc
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.
5 #include "chrome/browser/metrics/drive_metrics_provider.h"
7 #include "base/files/file_path.h"
8 #include "base/files/file_util.h"
9 #include "testing/gtest/include/gtest/gtest.h"
11 TEST(DriveMetricsProviderTest, HasSeekPenalty) {
12 base::FilePath tmp_path;
13 ASSERT_TRUE(base::GetTempDir(&tmp_path));
14 bool unused;
15 DriveMetricsProvider::HasSeekPenalty(tmp_path, &unused);