Remove incorrect tests for stack allocation.

pull/13357/head
Mark D. Roth 7 years ago
parent b319f491ff
commit 18d332d8ba
  1. 8
      test/core/support/reference_counted_test.cc

@ -31,14 +31,6 @@ class Foo : public ReferenceCounted {
Foo() {} Foo() {}
}; };
TEST(ReferenceCounted, StackAllocated) { Foo foo; }
TEST(ReferenceCounted, StackAllocatedWithExtraRef) {
Foo foo;
foo.Ref();
foo.Unref();
}
TEST(ReferenceCounted, HeapAllocated) { TEST(ReferenceCounted, HeapAllocated) {
Foo* foo = New<Foo>(); Foo* foo = New<Foo>();
foo->Unref(); foo->Unref();

Loading…
Cancel
Save