blob: e84ab0362ee6f120595f739c72d6ef7aaebf2566 [file] [log] [blame]
Junxiao Shi2c29f3a2014-01-24 19:59:00 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
3 * Copyright (C) 2014 Named Data Networking Project
4 * See COPYING for copyright and distribution information.
5 */
6
7#include "face/face.hpp"
Junxiao Shicbba04c2014-01-26 14:21:22 -07008#include "dummy-face.hpp"
Junxiao Shi2c29f3a2014-01-24 19:59:00 -07009
10#include <boost/test/unit_test.hpp>
11
12namespace ndn {
13
14BOOST_AUTO_TEST_SUITE(FaceFace)
15
Junxiao Shi32bfeb32014-01-25 18:22:02 -070016BOOST_AUTO_TEST_CASE(Description)
17{
Junxiao Shicbba04c2014-01-26 14:21:22 -070018 DummyFace face(1);
Junxiao Shi32bfeb32014-01-25 18:22:02 -070019 face.setDescription("3pFsKrvWr");
20 BOOST_CHECK_EQUAL(face.getDescription(), "3pFsKrvWr");
21}
Junxiao Shi2c29f3a2014-01-24 19:59:00 -070022
23BOOST_AUTO_TEST_SUITE_END()
24
25} // namespace ndn