Commit Graph

890 Commits

Author SHA1 Message Date
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
Lee Thomason b29f556ab0 comment 2017-06-01 18:45:32 -07:00
Lee Thomason 7085f00e40 deep copy and clone 2017-06-01 18:09:43 -07:00
jasjuang f66441e3e7 add in support for cmake export, manual Findtinyxml2.cmake is no longer needed 2017-06-01 17:25:30 -07:00
Lee Thomason 33a1f8bd6c Merge pull request #552 from Dmitry-Me/ensureNoOverrunBeforeCopy
Ensure no overrun before copying
2017-05-18 21:13:48 -07:00
Lee Thomason 7538286750 Merge pull request #535 from jnguyen75/build-tests-option
Added BUILD_TESTS option to enable/disable xmltest
2017-05-18 20:57:41 -07:00
Dmitry-Me 243ddf5304 Ensure no overrun before copying 2017-05-18 17:27:14 +03:00
Jimmy Nguyen 105f32f64d Merge remote-tracking branch 'origin/master' into build-tests-option 2017-05-11 16:19:30 -07:00
Lee Thomason 174a5df3a3 Merge pull request #551 from eco/patch-1
Add "d" library suffix for debug builds
2017-05-05 19:55:08 -07:00
Brad Anderson 9333cfd394 Add "d" library suffix for debug builds 2017-05-04 12:25:56 -06:00
Lee Thomason 7b40ce1942 Merge pull request #534 from jnguyen75/ref-test-resources
Refactor test resources: Use CMake to replace mkdir()
2017-04-28 11:21:39 -07:00
Lee Thomason b840b7e673 Merge pull request #547 from Dmitry-Me/clarifyVariableNames
Clarify variable names
2017-04-12 10:22:34 -07:00
Dmitry-Me 10b8ecc99b Clarify variable names 2017-04-12 17:57:44 +03:00
Lee Thomason 2b0453f43e Merge pull request #545 from Dmitry-Me/fullyUseEnum
Fully use enum
2017-04-06 13:27:29 -07:00
Dmitry-Me e503563f47 Fully use enum 2017-04-05 18:02:40 +03:00
Lee Thomason fc05f63575 Merge pull request #543 from Dmitry-Me/pointerAssertInShallowEqual
Pointer assertion
2017-03-22 14:36:32 -07:00
Dmitry-Me ba68a3aea6 Pointer assertion 2017-03-21 11:39:48 +03:00