mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
17 lines
536 B
C++
17 lines
536 B
C++
// 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 "base/process/process_metrics.h"
|
|
|
|
#include "base/memory/scoped_ptr.h"
|
|
#include "testing/gtest/include/gtest/gtest.h"
|
|
|
|
TEST(ProcessMetricsTestIos, Memory) {
|
|
scoped_ptr<base::ProcessMetrics> process_metrics(
|
|
base::ProcessMetrics::CreateProcessMetrics(
|
|
base::GetCurrentProcessHandle()));
|
|
|
|
ASSERT_NE(0u, process_metrics->GetWorkingSetSize());
|
|
}
|