blob: b5085c77ee187c348306796e14e9d7af80d1b39c [file] [log] [blame]
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -07001/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
2/*
Alexander Afanasyev8722d872014-07-02 13:00:29 -07003 * Copyright (c) 2012-2014 University of California, Los Angeles
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -07004 *
Alexander Afanasyev8722d872014-07-02 13:00:29 -07005 * This file is part of ChronoSync, synchronization library for distributed realtime
6 * applications for NDN.
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -07007 *
Alexander Afanasyev8722d872014-07-02 13:00:29 -07008 * ChronoSync is free software: you can redistribute it and/or modify it under the terms
9 * of the GNU General Public License as published by the Free Software Foundation, either
10 * version 3 of the License, or (at your option) any later version.
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070011 *
Alexander Afanasyev8722d872014-07-02 13:00:29 -070012 * ChronoSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
13 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070015 *
Alexander Afanasyev8722d872014-07-02 13:00:29 -070016 * You should have received a copy of the GNU General Public License along with
17 * ChronoSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070018 */
19
20#include <boost/test/unit_test.hpp>
Alexander Afanasyev8722d872014-07-02 13:00:29 -070021#include <boost/test/output_test_stream.hpp>
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070022#include <map>
23using boost::test_tools::output_test_stream;
24
25#include <boost/make_shared.hpp>
26
Alexander Afanasyev158ec0d2012-04-05 13:48:55 -070027#include "sync-interest-table.h"
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070028
29using namespace Sync;
30using namespace std;
31using namespace boost;
32
33BOOST_AUTO_TEST_CASE (InterestTableTest)
34{
Alexander Afanasyev8e845ba2012-05-29 14:33:06 -070035 // Alex: test is broken due to changes in SyncInterestTable
36 cerr << "InterestTableTest is broken" << endl;
Alexander Afanasyev8722d872014-07-02 13:00:29 -070037
Alexander Afanasyev8e845ba2012-05-29 14:33:06 -070038 // SyncInterestTable *table = 0;
39 // BOOST_CHECK_NO_THROW (table = new SyncInterestTable ());
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070040
Alexander Afanasyev8e845ba2012-05-29 14:33:06 -070041 // BOOST_CHECK_NO_THROW (delete table);
Alexander Afanasyeva022f3d2012-03-11 18:14:48 -070042}