pugixml/tests
Arseny Kapoulkine 8cece4b9fe Fix a bug in move construction when move source is empty
Previously when copying the allocator state we would copy an incorrect
root pointer into the document's current state; while this had a minimal
impact on the allocation state due to the fact that any new allocation
would need to create a new page, this used a potentially stale field of
the moved document when setting up new pages, which could create issues
in future uses of the pages.

This change fixes the core problem and also removes the use of the
_root->allocator from allocate_page since it's not clear why we need it
there in the first place.
2021-05-11 22:53:54 -07:00
..
data tests: Fix truncation test 2015-03-13 22:13:10 -07:00
data_fuzz_parse tests: Add support for afl-fuzz 2015-03-13 00:18:30 -07:00
data_fuzz_xpath tests: Add XPath fuzzing 2017-02-09 07:37:38 -08:00
allocator.cpp tests: Fix expansion-to-defined warning 2017-11-10 21:35:59 -08:00
allocator.hpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
autotest-appveyor.ps1 Update nuget creation to VS2019 (#291) 2019-09-09 07:37:29 -07:00
fuzz_parse.cpp fuzz: Use libFuzzer instead of afl-fuzz 2017-02-09 07:36:32 -08:00
fuzz_parse.dict tests: Add fuzzing dictionaries 2017-02-11 13:17:02 -08:00
fuzz_setup.sh Move libFuzzer build to Makefile 2017-04-03 21:09:37 -07:00
fuzz_xpath.cpp tests: Add XPath fuzzing 2017-02-09 07:37:38 -08:00
fuzz_xpath.dict tests: Add fuzzing dictionaries 2017-02-11 13:17:02 -08:00
helpers.hpp tests: Make using namespace more explicit 2017-06-22 20:41:08 -07:00
main.cpp tests: Add tests for loading special files 2017-06-15 07:23:49 -07:00
test_compact.cpp tests: Make using namespace more explicit 2017-06-22 20:41:08 -07:00
test_deprecated.cpp tests: Fix PUGIXML_NO_XPATH build 2018-04-03 21:51:41 -07:00
test_document.cpp Fix a bug in move construction when move source is empty 2021-05-11 22:53:54 -07:00
test_dom_modify.cpp Custom precision (#300) 2019-09-22 08:42:41 -07:00
test_dom_text.cpp Fix Wdouble-promotion warnings 2018-11-23 23:39:22 -08:00
test_dom_traverse.cpp Fix Wdouble-promotion warnings 2018-11-23 23:39:22 -08:00
test_header_guard.cpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
test_header_iosfwd_1.cpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
test_header_iosfwd_2.cpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
test_header_iostream_1.cpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
test_header_iostream_2.cpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
test_header_only_1.cpp tests: Make using namespace more explicit 2017-06-22 20:41:08 -07:00
test_header_only_2.cpp tests: Make using namespace more explicit 2017-06-22 20:41:08 -07:00
test_header_string_1.cpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
test_header_string_2.cpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
test_header_string_iostream.cpp tests: Convert several files to Unix line endings 2015-09-19 00:14:18 -07:00
test_memory.cpp tests: Fix PUGIXML_COMPACT+PUGIXML_WCHAR_MODE tests 2018-03-16 21:33:26 -07:00
test_parse_doctype.cpp Fix minor typos (#286) 2019-08-21 07:46:11 -07:00
test_parse.cpp tests: Fix PUGIXML_COMPACT+PUGIXML_WCHAR_MODE tests 2018-03-16 21:33:26 -07:00
test_unicode.cpp tests: Make using namespace more explicit 2017-06-22 20:41:08 -07:00
test_version.cpp Update version to 1.11 and update documentation 2020-11-25 10:18:42 -08:00
test_write.cpp Never escape > in attribute values 2019-09-11 21:35:03 -07:00
test_xpath_api.cpp tests: Work around test warnings in clang-7 2019-08-21 07:45:27 -07:00
test_xpath_functions.cpp tests: Fix PUGIXML_NO_STL build 2018-04-02 21:33:03 -07:00
test_xpath_operators.cpp Fix minor typos (#286) 2019-08-21 07:46:11 -07:00
test_xpath_parse.cpp XPath: Improve recursion limit for deep chains of // 2021-05-11 22:27:53 -07:00
test_xpath_paths_abbrev_w3c.cpp tests: Make using namespace more explicit 2017-06-22 20:41:08 -07:00
test_xpath_paths_w3c.cpp tests: Make using namespace more explicit 2017-06-22 20:41:08 -07:00
test_xpath_paths.cpp tests: Make using namespace more explicit 2017-06-22 20:41:08 -07:00
test_xpath_variables.cpp tests: Fix test fallout for MSVC6 2020-11-25 09:48:19 -08:00
test_xpath_xalan_1.cpp tests: Make using namespace more explicit 2017-06-22 20:41:08 -07:00
test_xpath_xalan_2.cpp tests: Make using namespace more explicit 2017-06-22 20:41:08 -07:00
test_xpath_xalan_3.cpp tests: Make using namespace more explicit 2017-06-22 20:41:08 -07:00
test_xpath_xalan_4.cpp tests: Make using namespace more explicit 2017-06-22 20:41:08 -07:00
test_xpath_xalan_5.cpp tests: Make using namespace more explicit 2017-06-22 20:41:08 -07:00
test_xpath.cpp Fix forgotten indentation 2019-06-10 00:35:17 +07:00
test.cpp Fix Wdouble-promotion warnings 2018-11-23 23:39:22 -08:00
test.hpp tests: Fix PUGIXML_COMPACT build on some platforms 2018-04-04 07:53:16 -07:00
writer_string.cpp Do not emit surrounding whitespace for text nodes 2015-03-18 09:59:17 -07:00
writer_string.hpp Add PUGIXML_OVERRIDE to headers of tests 2016-10-13 01:36:12 +03:00