Commit Graph

906 Commits

Author SHA1 Message Date
Lee Thomason bf9b3a263a remove code that creates directory. add file in out directory so that git creates the directory 2017-07-15 18:37:32 -07:00
Dmitry-Me 3d20c5de68 Use distinct values as default and replacement values 2017-07-10 18:28:19 +03:00
Dmitry-Me 2087a276c3 Test querying attributes thoroughly 2017-07-10 18:13:07 +03:00
Dmitry-Me 46b70ce517 Check result of LoadFile()/SaveFile() 2017-07-10 17:54:24 +03:00
Lee Thomason 3a6e51a12f fix build issue 2017-07-06 17:08:37 -07:00
Lee Thomason e4dc7218a5 fix an issue on windows 2017-07-06 17:05:01 -07:00
Lee Thomason fc2a0017d7 Merge pull request #578 from Dmitry-Me/checkReadingResults
Check various stages of reading the XML file
2017-07-06 16:55:09 -07:00
Lee Thomason cd33699926 Merge pull request #577 from Dmitry-Me/checkParseResult
Check result of Parse() call
2017-07-06 16:54:26 -07:00
Lee Thomason 7096e779d0 Merge pull request #573 from kbinny62/master
xmltest: create dir resources/out to avoid crashes
2017-07-06 16:52:00 -07:00
Dmitry-Me d1b82825fb Check various stages of reading the XML file 2017-07-04 18:02:54 +03:00
Dmitry-Me 68578f4730 Check result of Parse() call 2017-07-03 18:21:23 +03:00
Lee Thomason c1f1de724f Merge pull request #575 from Dmitry-Me/extractDuplicatedString
Extract duplicated text string
2017-06-28 10:43:01 -07:00
Dmitry-Me 5d1aec10fa Extract duplicated text string 2017-06-28 14:51:17 +03:00
kbinny62 9720fbaf47 xmltest.cpp: path separator is '\\' under WIN32 2017-06-27 01:40:33 +00:00
Lee Thomason 37bc3aca42 upping the version to 5.0.1 to fix release vs. source problem 2017-06-26 16:56:16 -07:00
Lee Thomason 8c9e3133c4 remove error string inline. hopefully helps with odd linking issues 2017-06-26 16:55:01 -07:00
Lee Thomason 563ee82093 Merge pull request #571 from hyperair/cmake-add-test
Use CTest to add xmltest as a testcase so `make test` works
2017-06-26 16:40:06 -07:00
Lee Thomason 4ee9ebdfd2 Merge pull request #570 from jasjuang/master
fix issue #516
2017-06-26 16:37:42 -07:00
Lee Thomason a4f48c1167 Merge pull request #572 from Dmitry-Me/swapFoundAndExpected
"Found" and "expected" were swapped in some tests
2017-06-26 16:37:21 -07:00
kbinny62 bf29a15242 xmltest: create dir resources/out to avoid crashes
Since many of the tests reopen files generated under resources/out
to reuse as input without performing error checking, explicity
create directory to mitigate segfaults.
2017-06-23 18:15:25 +00:00
Dmitry-Me 9832a5f05d "Found" and "expected" were swapped in some tests 2017-06-23 18:29:16 +03:00
Chow Loong Jin 48d45b29a9 Use `make test` in travis.yml 2017-06-22 01:20:55 +08:00
Chow Loong Jin 5381145957 Use CTest to add xmltest as a testcase so make test works 2017-06-22 01:14:07 +08:00
jasjuang a5ab98a582 fix issue #516 2017-06-20 17:25:42 -07:00
Lee Thomason 369f306b37 Merge branch 'master' of github.com:leethomason/tinyxml2 2017-06-20 09:18:54 -07:00
Lee Thomason 8bba8b41d6 mark unused enums 2017-06-20 09:18:41 -07:00
Lee Thomason 3f169ac424 Merge pull request #568 from Dmitry-Me/checkParsingErrorEarlier
Test parsing result as early as possible
2017-06-20 09:17:21 -07:00
Lee Thomason 86be0cdfe5 Merge pull request #566 from redagito/master
CMake fix for static library only build
2017-06-20 09:08:39 -07:00
Dmitry-Me aea64c4b75 Test parsing result as early as possible 2017-06-20 18:20:15 +03:00
Robert J dfcf5488ea CMake fix for static library only build 2017-06-20 13:41:17 +02:00
Lee Thomason 9201bb96d3 Merge pull request #563 from Dmitry-Me/betterParameterNameInClone
Better parameter name
2017-06-19 14:23:39 -07:00
Dmitry-Me 3f63f21cf5 Better parameter name 2017-06-19 18:25:19 +03:00
Lee Thomason 9e2d29b373 weird compile issues 2017-06-16 09:51:11 -07:00
Lee Thomason 82bb074b49 tweak test 2017-06-16 09:48:20 -07:00
Lee Thomason 224ef775c6 add test case 2017-06-16 09:45:26 -07:00
Lee Thomason 8a763619ac fix incorrect factoring 2017-06-16 09:30:16 -07:00
Lee Thomason bc527554e8 Merge pull request #558 from leethomason/clone
Support clone (deep copy) of XMLDocument and XMLNode
2017-06-15 12:01:48 -07:00
Lee Thomason 5cfb946953 Merge pull request #562 from Dmitry-Me/testMemoryLeaksInDebugHeap
Programmatically check no leaks are reported in the VC++ debug heap
2017-06-15 10:30:30 -07:00
Lee Thomason 275067a91f Merge pull request #561 from Dmitry-Me/unlinkedElementsAssertions
Unlinked nodes assertions
2017-06-15 10:29:07 -07:00
Dmitry-Me ed78570c66 Programmatically check no leaks are reported in the VC++ debug heap 2017-06-15 13:39:53 +03:00
Dmitry-Me c2f677b05e Unlinked nodes assertions 2017-06-15 12:44:27 +03:00
Lee Thomason 1346a174ae tweak comments. fix copy to self case. 2017-06-14 15:14:19 -07:00
Lee Thomason 1bbc66b193 Merge branch 'master' into clone 2017-06-14 15:10:37 -07:00
Lee Thomason e84f68a68a Merge branch 'memleak2' 2017-06-14 15:03:32 -07:00
Lee Thomason b754ddf0fb address feedback from review 2017-06-14 15:02:38 -07:00
Lee Thomason 7ce75bc2bb Merge pull request #557 from jasjuang/master
Resolve issue #526
2017-06-14 14:50:53 -07:00
Lee Thomason 816d3fa0cd Fix string leaking (and destructors not getting called) when there are XMLNodes that aren't in the document tree 2017-06-05 14:35:55 -07:00
Lee Thomason 53858b4490 minor formatting fix and very strange memory tracker missing 2017-06-01 19:09:16 -07:00
Lee Thomason ced18c05b9 missing var?? 2017-06-01 18:50:12 -07:00
Lee Thomason a30f8bd136 Merge remote-tracking branch 'origin/master' into clone 2017-06-01 18:46:53 -07:00