OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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 |
| 5 #include "chrome/browser/fragmentation_checker_win.h" |
| 6 |
| 7 #include "base/path_service.h" |
| 8 #include "testing/gtest/include/gtest/gtest.h" |
| 9 |
| 10 TEST(FragmentationChecker, BasicCheck) { |
| 11 FilePath module_path; |
| 12 ASSERT_TRUE(PathService::Get(base::FILE_MODULE, &module_path)); |
| 13 uint32 extent_count = 0; |
| 14 fragmentation_checker::CountFileExtents(module_path, &extent_count); |
| 15 EXPECT_GT(extent_count, 0u); |
| 16 } |
OLD | NEW |