summaryrefslogtreecommitdiff
path: root/tests/test.hpp
AgeCommit message (Collapse)Author
2015-10-25tests: Fix Borland C++ 5.4 compilationArseny Kapoulkine
The tests now compile fine but crash on the first floating-point exception despite our attempts to disable them in main()...
2015-04-12tests: Add more out of memory testsArseny Kapoulkine
Also add tests that verify save_file for absence of FILE leaks.
2015-04-11tests: Improve out-of-memory testsArseny Kapoulkine
Previously there was no guarantee that the tests that check for out of memory handling behavior are actually correct - e.g. that they correctly simulate out of memory conditions. Now every simulated out of memory condition has to be "guarded" using CHECK_ALLOC_FAIL. It makes sure that every piece of code that is supposed to cause out-of-memory does so, and that no other code runs out of memory unnoticed.
2014-11-17Rename xml_document::load to load_stringArseny Kapoulkine
This should completely eliminate the confusion between load and load_file. Of course, for compatibility reasons we have to preserve the old variant - it will be deprecated in a future version and subsequently removed.
2014-10-26tests: Add a way for tests to verify allocation failureArseny Kapoulkine
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1081 99668b35-9821-0410-8761-19e4c4f06640
2014-02-19tests: Write temporary files to executable folder.Arseny Kapoulkine
Temp folder is the root folder on Windows; writing to the folder may require administrator rights. We can't use current folder for temporaries because tests from different configurations can be running in parallel, but executable folder is always safe since we only run each executable once. git-svn-id: https://pugixml.googlecode.com/svn/trunk@984 99668b35-9821-0410-8761-19e4c4f06640
2014-02-08Fix test suite stringizing macros to be C++11-compliantArseny Kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@963 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29tests: Changed XPath checking macros to avoid query copying under GCCarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@692 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29tests: Added more XPath variable testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@681 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29tests: Added XPath variable and variable set testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@679 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29tests: Added XPath tests for attribute contextarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@664 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29tests: Extended XPath testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@638 99668b35-9821-0410-8761-19e4c4f06640
2010-07-19Set svn:eol-style to native for all text filesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@607 99668b35-9821-0410-8761-19e4c4f06640
2010-06-27Renamed encoding_t to xml_encoding, renamed xpath_type_t to xpath_value_typearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@544 99668b35-9821-0410-8761-19e4c4f06640
2010-05-29tests: Fixed tests for wchar_t mode, disabled some tests on compilers with ↵arseny.kapoulkine
broken NaN behavior git-svn-id: http://pugixml.googlecode.com/svn/trunk@463 99668b35-9821-0410-8761-19e4c4f06640
2010-05-25tests: Replaced #pragma once with header guardsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@450 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09Removed document order optimization (it helps on a tiny percentage of ↵arseny.kapoulkine
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-06Integrated changes from unicode branch to trunkarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@383 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08tests: Full public API coverage (except sort, which needs extensive coverage ↵arseny.kapoulkine
anyway) git-svn-id: http://pugixml.googlecode.com/svn/trunk@224 99668b35-9821-0410-8761-19e4c4f06640
2009-11-03tests: Added tests for all axes except namespacearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@201 99668b35-9821-0410-8761-19e4c4f06640
2009-11-03tests: Added helper for node set testing, added several testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@200 99668b35-9821-0410-8761-19e4c4f06640
2009-10-29tests: CodeWarrior and BCC supportedarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@195 99668b35-9821-0410-8761-19e4c4f06640
2009-10-29tests: Tests can work without exceptions nowarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@194 99668b35-9821-0410-8761-19e4c4f06640
2009-10-29tests: Supported all pugixml compilation modesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@191 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28tests: Fixed NaN tests for MSVC6arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@189 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28tests: Fixed MSVC6 compilationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@188 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28tests: Fixed MSVC warnings/errorsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@185 99668b35-9821-0410-8761-19e4c4f06640
2009-10-27tests: Completed string function testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@179 99668b35-9821-0410-8761-19e4c4f06640
2009-10-27tests: More decimal digits are testedarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@177 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21tests: Added tests for some XPath functionsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@173 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21tests: Added basic XPath testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@170 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20tests: Added memory leak detectionarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@165 99668b35-9821-0410-8761-19e4c4f06640
2009-10-12tests: Refactored checking macros, added writing testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@152 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11tests: Initial tree modification testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@148 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11tests: Added more node/attribute testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@142 99668b35-9821-0410-8761-19e4c4f06640
2009-10-10tests: Added more node/attribute testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@141 99668b35-9821-0410-8761-19e4c4f06640
2009-10-10tests: Added simple test framework, added a couple of testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@140 99668b35-9821-0410-8761-19e4c4f06640