0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-29 23:42:13 +08:00

326 Commits

Author SHA1 Message Date
arseny.kapoulkine
55f3cba20c Added test that checks for correct page deallocation policy
git-svn-id: http://pugixml.googlecode.com/svn/trunk@408 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10 17:26:30 +00:00
arseny.kapoulkine
b47b4905a6 Added more tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@407 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10 17:14:48 +00:00
arseny.kapoulkine
8afeb9d71a Added more tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@406 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10 16:43:07 +00:00
arseny.kapoulkine
9441757ef6 Internal iterator constructors are now private, added empty document test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@403 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10 13:31:38 +00:00
arseny.kapoulkine
47c23efe62 Reworked DOM memory allocation scheme (name/value allocations use the same pages as node/attribute structures, pages are now deallocated when completely free)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@401 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10 08:59:48 +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
e96af87b5d Enabled MSVC10 x64 in autotest
git-svn-id: http://pugixml.googlecode.com/svn/trunk@399 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09 18:47:23 +00:00
arseny.kapoulkine
57702ccba3 Improved memory leak detection
git-svn-id: http://pugixml.googlecode.com/svn/trunk@398 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09 18:23:50 +00:00
arseny.kapoulkine
464d0f4ff9 Added empty stream/buffer tests, fixed null buffer parsing in wchar_t mode
git-svn-id: http://pugixml.googlecode.com/svn/trunk@397 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09 17:53:59 +00:00
arseny.kapoulkine
664638059a Minor coverage improvements
git-svn-id: http://pugixml.googlecode.com/svn/trunk@392 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 21:35:42 +00:00
arseny.kapoulkine
44a8f9ea1d Added MSVC8 x64 support to build framework and autotest
git-svn-id: http://pugixml.googlecode.com/svn/trunk@391 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 21:08:03 +00:00
arseny.kapoulkine
8b6be5c02e Don't use global no-deprecate switch for newer GCC/MinGW, fixed warnings because of deprecation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@390 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 20:36:20 +00:00
arseny.kapoulkine
6706a3f8ba Deprecated all wildcard functions and parse_wnorm_attribute
git-svn-id: http://pugixml.googlecode.com/svn/trunk@389 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 20:30:29 +00:00
arseny.kapoulkine
1172d9bc4a Fixed tests in NO_STL mode and IntelC deprecated constant
git-svn-id: http://pugixml.googlecode.com/svn/trunk@388 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 17:32:01 +00:00
arseny.kapoulkine
981a445319 Implemented PUGIXML_DEPRECATED for GCC and MSVC7+
git-svn-id: http://pugixml.googlecode.com/svn/trunk@387 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 17:10:16 +00:00
arseny.kapoulkine
021574a484 Added 0.5-compatible interfaces for compatibility
git-svn-id: http://pugixml.googlecode.com/svn/trunk@386 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 16:44:04 +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
516e4d63ce unicode: Fixed tests for Linux
git-svn-id: http://pugixml.googlecode.com/svn/trunk@280 99668b35-9821-0410-8761-19e4c4f06640
2010-04-20 20:46:42 +00:00
arseny.kapoulkine
f0f7ac697b XPath: Added xpath_query::return_type() function, fixed evaluate_node_set documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@232 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 19:05:05 +00:00
arseny.kapoulkine
f02208b12f tests: Final coverage improvements
git-svn-id: http://pugixml.googlecode.com/svn/trunk@229 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 16:15:05 +00:00
arseny.kapoulkine
c1b2ecc799 tests: MSVC warning fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@228 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 15:57:04 +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
c5d9752736 tests: Full public API coverage (except sort, which needs extensive coverage anyway)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@224 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 14:36:12 +00:00
arseny.kapoulkine
48bbb9f4dd tests: Extracted generic tests in a separate header, better filter tests, some API tests added
git-svn-id: http://pugixml.googlecode.com/svn/trunk@221 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 13:52:55 +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
e3293a8baa tests: Mostly complete coverage of XPath W3C
git-svn-id: http://pugixml.googlecode.com/svn/trunk@217 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 12:25:56 +00:00
arseny.kapoulkine
19ac9fab40 tests: Added tests from W3C standard (abbreviated)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@216 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 11:49:50 +00:00
arseny.kapoulkine
b0f0c03f9c tests: Added tests from W3C standard (non-abbreviated)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@214 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 11:26:10 +00:00
arseny.kapoulkine
f22d0647a2 tests: Added node test tests, added abbreviated step/axis tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@212 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 10:14:29 +00:00
arseny.kapoulkine
0b951b7e80 tests: Reduced stack pressure for one of tests (CW/IC8 can't handle it)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@207 99668b35-9821-0410-8761-19e4c4f06640
2009-11-04 19:57:42 +00:00
arseny.kapoulkine
73b18f7df5 tests: Added allocator coverage tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@206 99668b35-9821-0410-8761-19e4c4f06640
2009-11-04 19:34:16 +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
af04c0f754 tests: Added tests for all axes except namespace
git-svn-id: http://pugixml.googlecode.com/svn/trunk@201 99668b35-9821-0410-8761-19e4c4f06640
2009-11-03 19:55:15 +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
5346828488 tests: Minor fixes, added autotest script
git-svn-id: http://pugixml.googlecode.com/svn/trunk@196 99668b35-9821-0410-8761-19e4c4f06640
2009-10-30 20:06:00 +00:00
arseny.kapoulkine
a70f6b1a70 tests: CodeWarrior and BCC supported
git-svn-id: http://pugixml.googlecode.com/svn/trunk@195 99668b35-9821-0410-8761-19e4c4f06640
2009-10-29 21:47:37 +00:00
arseny.kapoulkine
1fdd096c80 tests: Tests can work without exceptions now
git-svn-id: http://pugixml.googlecode.com/svn/trunk@194 99668b35-9821-0410-8761-19e4c4f06640
2009-10-29 08:11:22 +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
0640f87859 tests: More fixes and toolsets support
git-svn-id: http://pugixml.googlecode.com/svn/trunk@190 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28 22:22:19 +00:00
arseny.kapoulkine
e2ac08d5b4 tests: Fixed NaN tests for MSVC6
git-svn-id: http://pugixml.googlecode.com/svn/trunk@189 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28 21:15:05 +00:00
arseny.kapoulkine
829537013f tests: Fixed MSVC6 compilation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@188 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28 20:51:13 +00:00
arseny.kapoulkine
9216c82cfd tests: Fixed MSVC warnings/errors
git-svn-id: http://pugixml.googlecode.com/svn/trunk@185 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28 20:08:19 +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
fb689fed2b tests: More decimal digits are tested
git-svn-id: http://pugixml.googlecode.com/svn/trunk@177 99668b35-9821-0410-8761-19e4c4f06640
2009-10-27 20:16:08 +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
arseny.kapoulkine
40c0a5f09a tests: Added basic XPath tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@170 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21 19:09:12 +00:00
arseny.kapoulkine
cbdce99d5c tests: Added more escape error tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@169 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21 08:52:27 +00:00
arseny.kapoulkine
0ceaa38aeb tests: Added forgotten test files
git-svn-id: http://pugixml.googlecode.com/svn/trunk@168 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 21:39:43 +00:00
arseny.kapoulkine
2d6dd88454 tests: Final core tests, 99.0% coverage for pugixml.cpp
git-svn-id: http://pugixml.googlecode.com/svn/trunk@166 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 21:36:56 +00:00
arseny.kapoulkine
c4fbc83cd0 tests: Added memory leak detection
git-svn-id: http://pugixml.googlecode.com/svn/trunk@165 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 21:36:29 +00:00
arseny.kapoulkine
a837271e9d tests: Added wildcard and doctype tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@163 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 20:51:20 +00:00
arseny.kapoulkine
c026597234 tests: Added more tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@162 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 20:25:35 +00:00
arseny.kapoulkine
02cb7bf685 tests: More tree modification tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@159 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 19:21:13 +00:00
arseny.kapoulkine
dce82d3fb7 tests: More coverage
git-svn-id: http://pugixml.googlecode.com/svn/trunk@158 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 18:04:18 +00:00
arseny.kapoulkine
3d986d2b0d tests: Added declaration and document load/load_file error tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@157 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 17:49:52 +00:00
arseny.kapoulkine
a0990f0975 tests: Added parsing tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@156 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 17:41:08 +00:00
arseny.kapoulkine
557a690529 tests: Added document tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@154 99668b35-9821-0410-8761-19e4c4f06640
2009-10-12 16:42:13 +00:00
arseny.kapoulkine
80d778d053 tests: Refactored checking macros, added writing tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@152 99668b35-9821-0410-8761-19e4c4f06640
2009-10-12 16:26:18 +00:00
arseny.kapoulkine
8cc555de36 tests: More DOM modification tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@150 99668b35-9821-0410-8761-19e4c4f06640
2009-10-12 10:34:24 +00:00
arseny.kapoulkine
b6433db226 tests: Initial tree modification tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@148 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11 10:24:12 +00:00
arseny.kapoulkine
473ab35934 tests: Some finishing touches for test_dom_traverse (for now)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@147 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11 09:06:01 +00:00
arseny.kapoulkine
29e42bb25f tests: Added more node tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@145 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11 08:39:40 +00:00
arseny.kapoulkine
e350e9553c tests: Added more node/attribute tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@143 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11 07:47:28 +00:00
arseny.kapoulkine
e11a81455a tests: Added more node/attribute tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@142 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11 06:49:30 +00:00
arseny.kapoulkine
6ff7e79575 tests: Added more node/attribute tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@141 99668b35-9821-0410-8761-19e4c4f06640
2009-10-10 21:58:44 +00:00
arseny.kapoulkine
6db04f4320 tests: Added simple test framework, added a couple of tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@140 99668b35-9821-0410-8761-19e4c4f06640
2009-10-10 21:36:03 +00:00
arseny.kapoulkine
ab28c3b45e Minor build framework fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@139 99668b35-9821-0410-8761-19e4c4f06640
2009-10-10 20:48:55 +00:00
arseny.kapoulkine
52aa5325f3 Initial test building support along with a stub test file
git-svn-id: http://pugixml.googlecode.com/svn/trunk@138 99668b35-9821-0410-8761-19e4c4f06640
2009-10-10 20:14:04 +00:00