1 /* $Id: test_package1.cpp,v 1.9 2007-11-02 17:47:41 adam Exp $
2 Copyright (c) 2005-2007, Index Data.
4 This file is part of Metaproxy.
6 Metaproxy is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
11 Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 You should have received a copy of the GNU General Public License
17 along with Metaproxy; see the file LICENSE. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
26 #include "package.hpp"
28 #define BOOST_AUTO_TEST_MAIN
29 #define BOOST_TEST_DYN_LINK
30 #include <boost/test/auto_unit_test.hpp>
32 using namespace boost::unit_test;
33 namespace mp = metaproxy_1;
35 BOOST_AUTO_TEST_CASE( test_package1_1 )
42 mp::Package package2(package1.session(), origin);
44 BOOST_CHECK_EQUAL(package1.session().id(), package2.session().id());
54 * indent-tabs-mode: nil
55 * c-file-style: "stroustrup"
57 * vim: shiftwidth=4 tabstop=8 expandtab