diff options
author | Jakub Pawlowski <jpawlowski@google.com> | 2017-12-20 18:26:31 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@google.com> | 2017-12-20 18:47:15 +0000 |
commit | 70cd4fac31a9b0865dab6574540f70cc103337dc (patch) | |
tree | a9d13e0b40d89d8960e80b71a7c21e639ea6c2d5 /base/trace_event/memory_allocator_dump_unittest.cc | |
parent | bf8c17f71511c1e90cd8cccfe71f0852c566bd3b (diff) | |
download | libchrome-70cd4fac31a9b0865dab6574540f70cc103337dc.tar.gz |
Revert "Uprev the library to r462023 from Chromium"
This reverts commit bf8c17f71511c1e90cd8cccfe71f0852c566bd3b.
Reason for revert: https://buganizer.corp.google.com/issues/70858501
Change-Id: Iedb1193d46ea2211f8b6fdace41902ad8df6d754
Diffstat (limited to 'base/trace_event/memory_allocator_dump_unittest.cc')
-rw-r--r-- | base/trace_event/memory_allocator_dump_unittest.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/base/trace_event/memory_allocator_dump_unittest.cc b/base/trace_event/memory_allocator_dump_unittest.cc index e1818f6eec..1bf9715917 100644 --- a/base/trace_event/memory_allocator_dump_unittest.cc +++ b/base/trace_event/memory_allocator_dump_unittest.cc @@ -172,16 +172,6 @@ TEST(MemoryAllocatorDumpTest, DumpIntoProcessMemoryDump) { pmd.AsValueInto(traced_value.get()); } -TEST(MemoryAllocatorDumpTest, GetSize) { - MemoryDumpArgs dump_args = {MemoryDumpLevelOfDetail::DETAILED}; - ProcessMemoryDump pmd(new MemoryDumpSessionState, dump_args); - MemoryAllocatorDump* dump = pmd.CreateAllocatorDump("allocator_for_size"); - dump->AddScalar(MemoryAllocatorDump::kNameSize, - MemoryAllocatorDump::kUnitsBytes, 1); - dump->AddScalar("foo", MemoryAllocatorDump::kUnitsBytes, 2); - EXPECT_EQ(1u, dump->GetSize()); -} - // DEATH tests are not supported in Android / iOS. #if !defined(NDEBUG) && !defined(OS_ANDROID) && !defined(OS_IOS) TEST(MemoryAllocatorDumpTest, ForbidDuplicatesDeathTest) { |