From 15fcb6590c658858007a61dd24055dcefd0b699d Mon Sep 17 00:00:00 2001 From: "ajwong@chromium.org" Date: Fri, 18 Feb 2011 04:05:14 +0000 Subject: Emptiness, Reset, and Comparison API for Callbacks. Since Callback<> is essentially a smartpointer, some introspective APIs are required for sensible usage. BUG=35223 TEST=new unittests Review URL: http://codereview.chromium.org/6507029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75360 0039d316-1c4b-4281-b951-d872f2087c98 --- base/bind_unittest.cc | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'base/bind_unittest.cc') diff --git a/base/bind_unittest.cc b/base/bind_unittest.cc index 47d971a..77eb98a 100644 --- a/base/bind_unittest.cc +++ b/base/bind_unittest.cc @@ -212,18 +212,6 @@ class BindTest : public ::testing::Test { StrictMock* BindTest::static_func_mock_ptr; -// Ensure we can create unbound callbacks. We need this to be able to store -// them in class members that can be initialized later. -TEST_F(BindTest, DefaultConstruction) { - Callback c0; - Callback c1; - Callback c2; - Callback c3; - Callback c4; - Callback c5; - Callback c6; -} - // Sanity check that we can instantiate a callback for each arity. TEST_F(BindTest, ArityTest) { Callback c0 = Bind(&Sum, 32, 16, 8, 4, 2, 1); -- cgit v1.1