1 /* $Id: test_session1.cpp,v 1.10 2006-03-16 10:40:59 adam Exp $
2 Copyright (c) 2005-2006, Index Data.
11 #define BOOST_AUTO_TEST_MAIN
12 #include <boost/test/auto_unit_test.hpp>
14 using namespace boost::unit_test;
15 namespace mp = metaproxy_1;
17 BOOST_AUTO_UNIT_TEST( testsession1 )
28 BOOST_CHECK_EQUAL (session5.id(), (unsigned long) 5);
30 mp::Session session = session3;
32 BOOST_CHECK_EQUAL (session.id(), (unsigned long) 3);
34 catch (std::exception &e) {
35 std::cout << e.what() << "\n";
46 * indent-tabs-mode: nil
47 * c-file-style: "stroustrup"
49 * vim: shiftwidth=4 tabstop=8 expandtab