blob: bd8ad3d51f6b15249299841fdada7f428f3080df [file] [log] [blame]
Alexander Afanasyevf1e013f2012-07-11 17:59:40 -07001/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2/*
3 * Copyright (c) 2011 University of California, Los Angeles
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation;
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 * Author: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
19 */
20
21#ifndef NDNSIM_TEST_PIT_H
22#define NDNSIM_TEST_PIT_H
23
24#include "ns3/test.h"
25#include "ns3/ptr.h"
26
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -070027namespace ns3 {
Alexander Afanasyevf1e013f2012-07-11 17:59:40 -070028
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -070029namespace ndn {
30class Fib;
31class Pit;
32}
Alexander Afanasyevf1e013f2012-07-11 17:59:40 -070033
34class PitTest : public TestCase
35{
36public:
37 PitTest ()
38 : TestCase ("PIT test")
39 {
40 }
41
42private:
43 virtual void DoRun ();
44
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -070045 void Test (Ptr<ndn::Fib> fib);
46 void Check0 (Ptr<ndn::Pit> pit);
47 void Check1 (Ptr<ndn::Pit> pit);
48 void Check2 (Ptr<ndn::Pit> pit);
49 void Check3 (Ptr<ndn::Pit> pit);
Alexander Afanasyevf1e013f2012-07-11 17:59:40 -070050};
51
52}
53
54#endif // NDNSIM_TEST_PIT_H