blob: a23dd05c1f4d46982fc187c7ed0bcbe79c9ad987 [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,2012 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: Ilya Moiseenko <iliamo@cs.ucla.edu>
19 * Alexander Afanasyev <alexander.afanasyev@ucla.edu>
20 */
21
22#include "ns3/test.h"
23
24#include "ndnSIM-serialization.h"
25#include "ndnSIM-pit.h"
Alexander Afanasyeve6dc0ac2013-02-21 14:00:48 -080026#include "ndnSIM-fib-entry.h"
Alexander Afanasyevf1e013f2012-07-11 17:59:40 -070027
28namespace ns3
29{
30
31class NdnSimTestSuite : public TestSuite
32{
33public:
34 NdnSimTestSuite ()
Alexander Afanasyevee762552013-07-10 22:29:22 -070035 : TestSuite ("ndnSIM", UNIT)
Alexander Afanasyevf1e013f2012-07-11 17:59:40 -070036 {
37 SetDataDir (NS_TEST_SOURCEDIR);
Alexander Afanasyeve6dc0ac2013-02-21 14:00:48 -080038
Alexander Afanasyevee762552013-07-10 22:29:22 -070039 AddTestCase (new InterestSerializationTest (), TestCase::QUICK);
40 AddTestCase (new ContentObjectSerializationTest (), TestCase::QUICK);
41 AddTestCase (new FibEntryTest (), TestCase::QUICK);
42 AddTestCase (new PitTest (), TestCase::QUICK);
Alexander Afanasyevf1e013f2012-07-11 17:59:40 -070043 }
44};
45
46static NdnSimTestSuite suite;
47
48}