summaryrefslogtreecommitdiff
path: root/base/android/sys_utils_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/android/sys_utils_unittest.cc')
-rw-r--r--base/android/sys_utils_unittest.cc23
1 files changed, 0 insertions, 23 deletions
diff --git a/base/android/sys_utils_unittest.cc b/base/android/sys_utils_unittest.cc
deleted file mode 100644
index d1421ec57a..0000000000
--- a/base/android/sys_utils_unittest.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2013 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 <unistd.h>
-
-#include "base/sys_info.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace base {
-namespace android {
-
-TEST(SysUtils, AmountOfPhysicalMemory) {
- // Check that the RAM size reported by sysconf() matches the one
- // computed by base::SysInfo::AmountOfPhysicalMemory().
- size_t sys_ram_size =
- static_cast<size_t>(sysconf(_SC_PHYS_PAGES) * PAGE_SIZE);
- EXPECT_EQ(sys_ram_size,
- static_cast<size_t>(SysInfo::AmountOfPhysicalMemory()));
-}
-
-} // namespace android
-} // namespace base