blob: 3bc17059fa66576aaec9c92dafc3d7ffd6b57285 [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
27namespace ns3
28{
29
30class CcnxFib;
31class CcnxPit;
32
33class PitTest : public TestCase
34{
35public:
36 PitTest ()
37 : TestCase ("PIT test")
38 {
39 }
40
41private:
42 virtual void DoRun ();
43
44 void Test (Ptr<CcnxFib> fib);
45 void Check0 (Ptr<CcnxPit> pit);
46 void Check1 (Ptr<CcnxPit> pit);
47 void Check2 (Ptr<CcnxPit> pit);
48 void Check3 (Ptr<CcnxPit> pit);
49};
50
51}
52
53#endif // NDNSIM_TEST_PIT_H