Stephan Beyer
f7aa65db8a
Fix whitespace issues
...
Git warns when it finds "whitespace errors". This commit gets
rid of these whitespace errors for code and adoc files.
2016-01-24 14:05:44 +01:00
Arseny Kapoulkine
5a848de085
tests: Fix XPath string comparison
...
Also add new tests for translate. These are technically redundant since other
tests would catch the bug with the fixed comparison, but more tests is better.
2015-03-04 10:44:08 -08:00
Arseny Kapoulkine
903db8682a
tests: Add more tests for better coverage
...
More tests for out-of-memory and other edge conditions
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1075 99668b35-9821-0410-8761-19e4c4f06640
2014-10-23 07:41:07 +00:00
Arseny Kapoulkine
45e0c726f0
tests: Disable tests that rely on ceil() on CLR
...
CLR x64 JIT does not implement ceil() properly (ceil(-0.1) returns
positive zero instead of negative zero). Disable the relevant portions of
tests so that everything else is green...
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1062 99668b35-9821-0410-8761-19e4c4f06640
2014-10-16 06:41:04 +00:00
Arseny Kapoulkine
5239fcbd00
XPath: Implement optimized translate()
...
translate() with constant arguments now uses a 128-byte table and a table
lookup instead of searching characters in the source string. The table is
generated during query optimization.
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1052 99668b35-9821-0410-8761-19e4c4f06640
2014-10-05 07:57:58 +00:00
Arseny Kapoulkine
3fcc530b34
tests: Add missing tests to increase code coverage
...
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1038 99668b35-9821-0410-8761-19e4c4f06640
2014-10-02 03:06:59 +00:00
arseny.kapoulkine
cae6c066b7
XPath: Minor lang() fix (use ASCII lowercase because language names are ASCII-only anyway)
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@716 99668b35-9821-0410-8761-19e4c4f06640
2010-09-11 13:30:49 +00:00
arseny.kapoulkine
a0a28b1c05
tests: Fixed test warnings for MSVC10, slightly extended substring tests
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@707 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29 20:57:42 +00:00
arseny.kapoulkine
9a0464bdc2
tests: Fixed XPath substring tests
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@700 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29 15:53:34 +00:00
arseny.kapoulkine
deb9e8bc74
tests: Added more XPath tests
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@628 99668b35-9821-0410-8761-19e4c4f06640
2010-08-04 14:15:46 +00:00
arseny.kapoulkine
7d24b9b565
Set svn:eol-style to native for all text files
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@607 99668b35-9821-0410-8761-19e4c4f06640
2010-07-19 09:57:32 +00:00
arseny.kapoulkine
d8b256203c
tests: Added more XPath tests based on recommendation errata
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@483 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 12:00:38 +00:00
arseny.kapoulkine
a0887a0124
tests: Disabled failing checks for MacOS (second try)
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@478 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 05:22:59 +00:00
arseny.kapoulkine
ec69de8154
tests: Disabled failing checks for MacOS because of incorrect ceil implementation
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@477 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 05:21:53 +00:00
arseny.kapoulkine
f262cbb6be
XPath round() is now fully compliant
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@461 99668b35-9821-0410-8761-19e4c4f06640
2010-05-29 13:11:32 +00:00
arseny.kapoulkine
64fc9478af
tests: Added more ceiling/round tests, added first batch of Xalan tests
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@460 99668b35-9821-0410-8761-19e4c4f06640
2010-05-29 12:59:26 +00:00
arseny.kapoulkine
31c4cb2d8b
XPath refactoring (ast_filter/filter_posinv/predicates use the same function, removed greater* specializations for compare_rel, starts_with is used more extensively, const-correctness fixes)
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@425 99668b35-9821-0410-8761-19e4c4f06640
2010-05-17 06:54:06 +00:00
arseny.kapoulkine
5ff56a6d68
Removed document order optimization (it helps on a tiny percentage of queries), XPath tests now compute their own order
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@400 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09 20:37:49 +00:00
arseny.kapoulkine
f542c5ebb8
Integrated changes from unicode branch to trunk
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@383 99668b35-9821-0410-8761-19e4c4f06640
2010-05-06 20:28:36 +00:00
arseny.kapoulkine
eefd73bc4e
tests: More XPath coverage
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@226 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 15:30:49 +00:00
arseny.kapoulkine
0cac815b63
tests: More coverage tests
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@225 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 15:17:46 +00:00
arseny.kapoulkine
eaa078b76a
XPath: Fixed minor string to number conversion bug
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@219 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 13:01:56 +00:00
arseny.kapoulkine
b1f1de5a7a
XPath: Minor fix
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@218 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 12:34:00 +00:00
arseny.kapoulkine
6948d1f171
tests: Completed function library tests, added namespace axis and variable reference tests
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@204 99668b35-9821-0410-8761-19e4c4f06640
2009-11-04 19:23:20 +00:00
arseny.kapoulkine
050a633009
tests: Added helper for node set testing, added several tests
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@200 99668b35-9821-0410-8761-19e4c4f06640
2009-11-03 18:29:57 +00:00
arseny.kapoulkine
fc602fd375
tests: Supported all pugixml compilation modes
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@191 99668b35-9821-0410-8761-19e4c4f06640
2009-10-29 07:17:30 +00:00
arseny.kapoulkine
45dc0226d1
tests: Added one more normalize-space test, added tests for all logical & comparison operators
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@183 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28 18:39:43 +00:00
arseny.kapoulkine
babd0c2c9b
tests: More function argument parsing tests
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@182 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28 07:45:33 +00:00
arseny.kapoulkine
83183769c1
tests: Added function arguments tests, added arithmetic operators tests
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@181 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28 07:40:15 +00:00
arseny.kapoulkine
bf92a09870
tests: Completed string function tests
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@179 99668b35-9821-0410-8761-19e4c4f06640
2009-10-27 21:56:49 +00:00
arseny.kapoulkine
3a9ba80368
XPath: Fixed concat() crash
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@178 99668b35-9821-0410-8761-19e4c4f06640
2009-10-27 20:16:30 +00:00
arseny.kapoulkine
45298c730b
tests: Added different casing to lang test
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@176 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21 20:47:52 +00:00
arseny.kapoulkine
9233e86055
tests: Added lang() tests
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@174 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21 20:46:42 +00:00
arseny.kapoulkine
5cc45c8289
tests: Added tests for some XPath functions
...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@173 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21 20:37:54 +00:00