blob: c6b4d6e1dcff0c99a54e550b66c6d5ccc87da880 [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 Afanasyeva4e74282013-07-11 15:23:20 -070027#include "ndnSIM-api.h"
Alexander Afanasyevf1e013f2012-07-11 17:59:40 -070028
29namespace ns3
30{
31
32class NdnSimTestSuite : public TestSuite
33{
34public:
35 NdnSimTestSuite ()
Alexander Afanasyevee762552013-07-10 22:29:22 -070036 : TestSuite ("ndnSIM", UNIT)
Alexander Afanasyevf1e013f2012-07-11 17:59:40 -070037 {
38 SetDataDir (NS_TEST_SOURCEDIR);
Alexander Afanasyeve6dc0ac2013-02-21 14:00:48 -080039
Alexander Afanasyevee762552013-07-10 22:29:22 -070040 AddTestCase (new InterestSerializationTest (), TestCase::QUICK);
Alexander Afanasyev772f51b2013-08-01 18:53:25 -070041 AddTestCase (new DataSerializationTest (), TestCase::QUICK);
Alexander Afanasyevee762552013-07-10 22:29:22 -070042 AddTestCase (new FibEntryTest (), TestCase::QUICK);
43 AddTestCase (new PitTest (), TestCase::QUICK);
Alexander Afanasyeva4e74282013-07-11 15:23:20 -070044 AddTestCase (new ApiTest (), TestCase::QUICK);
Alexander Afanasyevf1e013f2012-07-11 17:59:40 -070045 }
46};
47
48static NdnSimTestSuite suite;
49
50}