pugixml/tests
Arseny Kapoulkine c64d4820b1 XPath: Optimize [position()=expr] and [last()]
To get more benefits from constant predicate/filter optimization we rewrite
[position()=expr] predicates into [expr] for numeric expressions. Right now
the rewrite is only for entire expressions - it may be beneficial to split
complex expressions like [position()=constant and expr] into [constant][expr]
but that is more complicated.

last() does not depend on the node set contents so is "constant" as far as
our optimization is concerned so we can evaluate it once.
2014-10-27 18:50:09 -07:00
..
data Introduced encoding_latin1 support (conversion on loading, conversion on saving, encoding name in declaration in document::save) 2011-12-20 09:45:10 +00:00
allocator.cpp tests: Assert on out-of-memory in tests 2014-10-21 03:33:47 +00:00
allocator.hpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
archive.pl Make sure newlines are consistent for both .zip and .tar.gz archives 2013-07-20 05:55:22 +00:00
autotest-freebsd.sh tests: Fixed Linux startup scripts (line endings), added FreeBSD startup script 2010-05-17 07:23:37 +00:00
autotest-linux.sh tests: Updated autotest-linux.sh for Fedora 2011-07-27 07:40:38 +00:00
autotest-local.pl Add MSVC 12 (2013) to autotest list 2014-02-12 04:38:54 +00:00
autotest-macos.sh tests: Final MacOS fixes 2010-05-20 17:51:32 +00:00
autotest-remote-host.pl tests: Added wait for server to remote host, added automatic VM launch 2010-05-13 16:48:46 +00:00
autotest-remote-server.pl tests: Disabled VM shutdown/startup overlap to decrease peak memory consumption 2011-07-24 06:19:57 +00:00
autotest-report.pl tests: Added MSVC11 variants to test suite 2012-03-07 05:59:09 +00:00
autotest-solaris.sh tests: Added Solaris autotest 2010-05-25 22:19:57 +00:00
common.hpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
gcov-filter.pl tests: Introduced fullcoverage mode 2010-08-29 15:46:30 +00:00
helpers.hpp tests: Added tests for read-only xml_text operations 2012-03-23 03:25:03 +00:00
main.cpp tests: Add a way for tests to verify allocation failure 2014-10-26 03:46:28 +00:00
test.cpp tests: Minor fixes for WinCE compilation 2012-02-19 09:05:23 +00:00
test.hpp tests: Add a way for tests to verify allocation failure 2014-10-26 03:46:28 +00:00
test_document.cpp tests: Add more tests for better coverage 2014-10-23 07:41:07 +00:00
test_dom_modify.cpp Fix node copying for some out of memory cases 2014-10-25 16:37:16 +00:00
test_dom_text.cpp Implement long long support if PUGIXML_HAS_LONG_LONG is defined (autodetection is not implemented yet) 2014-02-08 20:36:09 +00:00
test_dom_traverse.cpp tests: Add even more coverage tests 2014-10-24 01:17:57 +00: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_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: Added new test for string/istream include interaction (this actually fails on DMC) 2012-03-20 05:05:35 +00:00
test_memory.cpp Implement document fragment parsing. 2014-02-11 06:45:27 +00:00
test_parse.cpp tests: Add more tests for better coverage 2014-10-23 07:41:07 +00:00
test_parse_doctype.cpp tests: Add more tests for better coverage 2014-10-23 07:41:07 +00:00
test_unicode.cpp tests: Android compilation fixes 2012-03-06 08:49:58 +00:00
test_version.cpp Update PUGIXML_VERSION define 2014-02-10 05:11:05 +00:00
test_write.cpp tests: Add a test for printing comments that contain -- 2014-10-14 04:11:26 +00:00
test_xpath.cpp tests: Add even more coverage tests 2014-10-24 01:17:57 +00:00
test_xpath_api.cpp tests: Add more tests for better coverage 2014-10-23 07:41:07 +00:00
test_xpath_functions.cpp tests: Add more tests for better coverage 2014-10-23 07:41:07 +00:00
test_xpath_operators.cpp XPath: Add unit test for unary minus and union precedences 2012-11-17 22:50:05 +00:00
test_xpath_parse.cpp tests: Fixed CW compilation 2010-10-22 04:28:52 +00:00
test_xpath_paths.cpp XPath: Optimize [position()=expr] and [last()] 2014-10-27 18:50:09 -07:00
test_xpath_paths_abbrev_w3c.cpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
test_xpath_paths_w3c.cpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
test_xpath_variables.cpp tests: Fix test failure in PUGIXML_WCHAR_MODE 2014-10-24 01:37:27 +00:00
test_xpath_xalan_1.cpp tests: Minor fix for MinGW 3.4 2010-08-30 05:01:19 +00:00
test_xpath_xalan_2.cpp Fix bogus Clang 3.4 warning 2014-02-11 04:55:36 +00:00
test_xpath_xalan_3.cpp XPath: Rename xml_node::select_single_node to ::select_node 2014-10-19 07:33:51 +00:00
test_xpath_xalan_4.cpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
test_xpath_xalan_5.cpp Set svn:eol-style to native for all text files 2010-07-19 09:57:32 +00:00
writer_string.cpp tests: Android compilation fixes 2012-03-06 08:49:58 +00:00
writer_string.hpp tests: Android compilation fixes 2012-03-06 08:49:58 +00:00