Same header and footer for all files. Header includes copyright +
[metaproxy-moved-to-github.git] / src / test_package1.cpp
index ba652ea..5ec2520 100644 (file)
@@ -1,3 +1,8 @@
+/* $Id: test_package1.cpp,v 1.3 2005-10-15 14:09:09 adam Exp $
+   Copyright (c) 2005, Index Data.
+
+%LICENSE%
+ */
 
 #include "config.hpp"
 #include <iostream>
@@ -13,10 +18,10 @@ using namespace boost::unit_test;
 BOOST_AUTO_TEST_CASE( test_package1_1 )
 {
     try {
+        yp2::Package package1;
+
         yp2::Origin origin;
         yp2::Session session;
-        yp2::Package package1(session, origin);
-
         yp2::Package package2(package1.session(), origin);
 
         BOOST_CHECK_EQUAL(package1.session().id(), package2.session().id());
@@ -30,6 +35,7 @@ BOOST_AUTO_TEST_CASE( test_package1_1 )
  * Local variables:
  * c-basic-offset: 4
  * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab
  */