Commit Graph

191 Commits

Author SHA1 Message Date
Lee Thomason 646af8d214 Merge pull request #582 from Dmitry-Me/distinctDefaultAndReplacement
Use distinct values as default and replacement values
2017-07-15 19:00:49 -07:00
Lee Thomason 0570580178 Merge pull request #581 from Dmitry-Me/testQueryingAttributesBetter
Test querying attributes thoroughly
2017-07-15 18:59:42 -07:00
Lee Thomason 80379a331d Merge pull request #580 from Dmitry-Me/checkLoadSaveResult
Check result of LoadFile()/SaveFile()
2017-07-15 18:42:38 -07:00
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
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
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
Dmitry-Me aea64c4b75 Test parsing result as early as possible 2017-06-20 18:20:15 +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 bc527554e8 Merge pull request #558 from leethomason/clone
Support clone (deep copy) of XMLDocument and XMLNode
2017-06-15 12:01:48 -07:00
Dmitry-Me ed78570c66 Programmatically check no leaks are reported in the VC++ debug heap 2017-06-15 13:39:53 +03:00
Lee Thomason 1bbc66b193 Merge branch 'master' into clone 2017-06-14 15:10:37 -07:00
Lee Thomason b754ddf0fb address feedback from review 2017-06-14 15:02:38 -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 7085f00e40 deep copy and clone 2017-06-01 18:09:43 -07: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
Jimmy Nguyen 6bf64fb149 Use CMake to create resources/out directory 2017-02-21 12:00:38 -08:00
Lee Thomason c5c99c2ba0 tweaks to bool serialization 2016-12-29 11:19:17 -08:00
Lee Thomason ce667c9233 ability to set bool write values 2016-12-26 16:45:30 -08:00
Lee Thomason e90e901041 tweaks, clarification to line numbers 2016-12-24 07:34:39 -08:00
kezenator 19d8ea836f CodeReview Fix: GetLineNum()? 2016-11-29 19:50:27 +10:00
kezenator ec6941503c Added line number reporting to parse errors and to all nodes and attributes for parsed documents. 2016-11-26 17:21:43 +10:00
kezenator 5a70071241 Added static method to convert arbitrary ErrorID to a string.
Updated tests to print ErrorID and bool values as strings.
2016-11-26 13:54:42 +10:00
Lee Thomason 7de0b6dd8c Merge pull request #493 from leethomason/jwittner
Friendly API for attribute query.
2016-11-15 14:09:03 -08:00
Dmitry-Me 446c3bcae3 Declarations should occur before anything else 2016-11-11 10:34:56 +03:00
Lee Thomason 13cbc9a708 add test files. fix doc. 2016-10-27 14:55:07 -07:00
Armagetron 3c21d6fbb7 Use correct file pointer 2016-10-13 13:31:23 +02:00
Doruk Turak 1f212f3ab0 Bool-related tests modified to pass 2016-08-28 20:54:17 +02:00
Lee Thomason c9445466de fix permissive casting. 2016-07-17 22:53:48 -07:00
Lee Thomason af9bce1762 support user data 2016-07-17 22:35:52 -07:00
Lee Thomason 51c1271797 add int64 support 2016-06-04 20:18:49 -07:00
Lee Thomason 8553625730 one successful return type. simplify build on vs2015 2016-06-04 19:10:53 -07:00
Lee Thomason df4ffc00d6 fix warning up from vs2015 2016-06-04 11:32:46 -07:00
Dmitry-Me a1beddf486 Test error name is non-empty for the whole range 2015-05-26 16:19:21 +03:00