| Index: base/process_util_unittest_ios.cc
|
| diff --git a/base/process_util_unittest_ios.cc b/base/process_util_unittest_ios.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c82535d2e4afdc9b9a04e02ea236eea4c5ff7032
|
| --- /dev/null
|
| +++ b/base/process_util_unittest_ios.cc
|
| @@ -0,0 +1,15 @@
|
| +// Copyright (c) 2012 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 "base/memory/scoped_ptr.h"
|
| +#include "base/process_util.h"
|
| +#include "testing/gtest/include/gtest/gtest.h"
|
| +
|
| +TEST(ProcessUtilTestIos, Memory) {
|
| + scoped_ptr<base::ProcessMetrics> process_metrics(
|
| + base::ProcessMetrics::CreateProcessMetrics(
|
| + base::GetCurrentProcessHandle()));
|
| +
|
| + ASSERT_NE(0u, process_metrics->GetWorkingSetSize());
|
| +}
|
|
|