You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2013/05/26 18:57:29 UTC

[04/28] git commit: Removed unused variables in AllocatorZooKeeperTest.

Removed unused variables in AllocatorZooKeeperTest.

Review: https://reviews.apache.org/r/11271


Project: http://git-wip-us.apache.org/repos/asf/incubator-mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mesos/commit/1d71e42b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mesos/tree/1d71e42b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mesos/diff/1d71e42b

Branch: refs/heads/master
Commit: 1d71e42b543c247a2e2bd060d9d5c90f136a8fd6
Parents: 233edea
Author: Benjamin Hindman <be...@twitter.com>
Authored: Sun May 5 16:23:43 2013 -0700
Committer: Benjamin Hindman <be...@twitter.com>
Committed: Fri May 24 22:05:05 2013 -0700

----------------------------------------------------------------------
 src/tests/allocator_zookeeper_tests.cpp |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mesos/blob/1d71e42b/src/tests/allocator_zookeeper_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/allocator_zookeeper_tests.cpp b/src/tests/allocator_zookeeper_tests.cpp
index bb7f84d..962e876 100644
--- a/src/tests/allocator_zookeeper_tests.cpp
+++ b/src/tests/allocator_zookeeper_tests.cpp
@@ -61,28 +61,9 @@ using testing::SaveArg;
 template <typename T = AllocatorProcess>
 class AllocatorZooKeeperTest : public ZooKeeperTest
 {
-public:
-  virtual void SetUp()
-  {
-    ZooKeeperTest::SetUp();
-
-    a1 = new Allocator(&allocator1);
-    a2 = new Allocator(&allocator2);
-  }
-
-  virtual void TearDown()
-  {
-    ZooKeeperTest::TearDown();
-
-    delete a1;
-    delete a2;
-  }
-
 protected:
   T allocator1;
   MockAllocatorProcess<T> allocator2;
-  Allocator* a1;
-  Allocator* a2;
 };