From d17845d767006880c56f1f0ea73f1eef948bd768 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Tue, 30 Oct 2007 15:55:50 +0000 Subject: [PATCH] Remove empty OlsrTest unit test class. --- src/routing/olsr/olsr-agent-impl.cc | 37 ----------------------------- src/routing/olsr/olsr-agent-impl.h | 2 -- 2 files changed, 39 deletions(-) diff --git a/src/routing/olsr/olsr-agent-impl.cc b/src/routing/olsr/olsr-agent-impl.cc index b2acdad7d..48c30d029 100644 --- a/src/routing/olsr/olsr-agent-impl.cc +++ b/src/routing/olsr/olsr-agent-impl.cc @@ -2112,40 +2112,3 @@ AgentImpl::IfaceAssocTupleTimerExpire (IfaceAssocTuple tuple) }} // namespace olsr, ns3 - -#ifdef RUN_SELF_TESTS - - -#include "ns3/test.h" - -namespace ns3 { - -class OlsrTest : public ns3::Test { -private: -public: - OlsrTest (); - virtual bool RunTests (void); - - -}; - -OlsrTest::OlsrTest () - : ns3::Test ("Olsr") -{} - - -bool -OlsrTest::RunTests (void) -{ - bool result = true; - - - return result; -} - -static OlsrTest gOlsrTest; - -} - - -#endif /* RUN_SELF_TESTS */ diff --git a/src/routing/olsr/olsr-agent-impl.h b/src/routing/olsr/olsr-agent-impl.h index 1b561c821..5c21264af 100644 --- a/src/routing/olsr/olsr-agent-impl.h +++ b/src/routing/olsr/olsr-agent-impl.h @@ -48,8 +48,6 @@ namespace olsr { class AgentImpl : public Agent { - friend class OlsrTest; - public: AgentImpl (Ptr node);