Fixed bas64 for text files

Fixed location of test archives

[SVN r48788]
This commit is contained in:
Robert Ramey
2008-09-15 06:09:09 +00:00
parent e7e2f86eda
commit eac5e7897c
2 changed files with 10 additions and 9 deletions

View File

@@ -79,7 +79,6 @@ int test_main( int /* argc */, char* /* argv */[] )
{
test_ostream os(testfile, TEST_STREAM_FLAGS);
test_oarchive oa(os, TEST_ARCHIVE_FLAGS);
oa << BOOST_SERIALIZATION_NVP(a);
boost::serialization::make_nvp(
"s1", boost::serialization::make_binary_object(s1, sizeof(s1))
);
@@ -92,6 +91,7 @@ int test_main( int /* argc */, char* /* argv */[] )
oa << boost::serialization::make_nvp(
"s4", boost::serialization::make_binary_object(s4, sizeof(s4))
);
oa << BOOST_SERIALIZATION_NVP(a);
// note: add a little bit on the end of the archive to detect
// failure of text mode binary.
oa << BOOST_SERIALIZATION_NVP(i);
@@ -99,7 +99,6 @@ int test_main( int /* argc */, char* /* argv */[] )
{
test_istream is(testfile, TEST_STREAM_FLAGS);
test_iarchive ia(is, TEST_ARCHIVE_FLAGS);
ia >> BOOST_SERIALIZATION_NVP(a1);
boost::serialization::make_nvp(
"s1", boost::serialization::make_binary_object(s1_1, sizeof(s1))
);
@@ -112,6 +111,7 @@ int test_main( int /* argc */, char* /* argv */[] )
ia >> boost::serialization::make_nvp(
"s4", boost::serialization::make_binary_object(s1_4, sizeof(s4))
);
ia >> BOOST_SERIALIZATION_NVP(a1);
// note: add a little bit on the end of the archive to detect
// failure of text mode binary.
ia >> BOOST_SERIALIZATION_NVP(i1);