diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-02-10 16:56:55 +0000 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-02-10 16:56:55 +0000 |
commit | 9ba26b94c74a03ac937a5d5972f8f12a2916f301 (patch) | |
tree | 70812fdb6d0cc9e8fe70d962713ab2c81e8adef1 /tests/test_xpath_api.cpp | |
parent | 9d9fd0a71f0a6655c10b3671395cb172bb8041ac (diff) |
Replace memory-management functions before every test.
In case a test sets memory-management functions to perform custom testing and fails midway,
all subsequent tests that rely on custom memory handling (i.e. threshold) can fail unexpectedly.
Setting up the functions before every test fixes this, making all tests self-contained.
git-svn-id: https://pugixml.googlecode.com/svn/trunk@976 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_xpath_api.cpp')
0 files changed, 0 insertions, 0 deletions