mirror of
https://github.com/boostorg/serialization.git
synced 2026-02-21 15:22:15 +00:00
fixed addressor fiasco
simplified singleton visibility Jamfile added boost/system to requirements corrected inclusion tests to include link to serialization library
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
project libs/serialization/test
|
||||
: id serialization_test
|
||||
: requirements <source>/boost/filesystem
|
||||
: requirements <source>/boost/system
|
||||
;
|
||||
|
||||
# import rules for testing conditional on config file variables
|
||||
@@ -133,8 +134,8 @@ test-suite "serialization" :
|
||||
|
||||
if ! $(BOOST_ARCHIVE_LIST) {
|
||||
test-suite "serialization2" :
|
||||
[ test-bsl-run-no-lib test_inclusion ]
|
||||
[ test-bsl-run-no-lib test_inclusion2 ]
|
||||
[ test-bsl-run test_inclusion ]
|
||||
[ test-bsl-run test_inclusion2 ]
|
||||
[ test-bsl-run test_dll_exported : : dll_polymorphic_derived2_lib ]
|
||||
[ test-bsl-run test_dll_simple : : dll_a_lib ]
|
||||
[ compile test_dll_plugin.cpp ]
|
||||
|
||||
@@ -85,9 +85,9 @@ void save_exported(const char *testfile)
|
||||
oa << BOOST_SERIALIZATION_NVP(rb2);
|
||||
oa << BOOST_SERIALIZATION_NVP(rd21);
|
||||
|
||||
delete rb1;
|
||||
delete rb2;
|
||||
delete rd21;
|
||||
delete rb2;
|
||||
delete rb1;
|
||||
}
|
||||
|
||||
// save exported polymorphic class
|
||||
@@ -129,9 +129,9 @@ void load_exported(const char *testfile)
|
||||
::type::get_const_instance().get_derived_extended_type_info(*rd21),
|
||||
"restored pointer d2 not of correct type"
|
||||
);
|
||||
delete rb1;
|
||||
delete rb2;
|
||||
delete rd21;
|
||||
delete rb2;
|
||||
delete rb1;
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user