Aaron Jacobs
|
1b138e8544
|
Gave a more consistent behavior to the Value::isFoo methods. See
NEWS.txt for more details.
|
2011-05-25 04:19:17 +00:00 |
|
Aaron Jacobs
|
4f081b50e6
|
Fixed bugs in asInt64 and asUInt64.
|
2011-05-25 03:16:49 +00:00 |
|
Aaron Jacobs
|
3c9fdeb859
|
Added tests for default numeric values.
|
2011-05-25 02:54:11 +00:00 |
|
Aaron Jacobs
|
4b79fd1a00
|
Fixed a test bug.
|
2011-05-25 01:51:30 +00:00 |
|
Aaron Jacobs
|
e12d84ebaa
|
Made tests more comprehensive.
|
2011-05-25 01:46:50 +00:00 |
|
Aaron Jacobs
|
078e0d7c37
|
Gave tests more general names in preparation for making them much more
comprehensive.
|
2011-05-25 01:24:23 +00:00 |
|
Aaron Jacobs
|
fee49b1a37
|
Fixed some whitespace.
|
2011-05-25 01:23:47 +00:00 |
|
Aaron Jacobs
|
22eede44c1
|
Added tests for 64-bit integers.
|
2011-05-25 01:23:08 +00:00 |
|
Aaron Jacobs
|
d9ec234fc2
|
Greatly fleshed out numeric type tests.
|
2011-05-25 01:04:07 +00:00 |
|
Aaron Jacobs
|
3e5b347f75
|
Added some missing checks.
|
2011-05-25 01:03:29 +00:00 |
|
Aaron Jacobs
|
96408a30e1
|
Renamed test cases to make more sense with the upcoming new behavior of
isFoo methods.
|
2011-05-25 00:39:55 +00:00 |
|
Aaron Jacobs
|
1d648f089a
|
Fixed a whitespace problem.
|
2011-05-25 00:39:17 +00:00 |
|
Baptiste Lepilleur
|
1837a1c508
|
Value::compare() is now const and has an actual implementation with unit tests.
|
2011-05-02 20:11:48 +00:00 |
|
Baptiste Lepilleur
|
e0e1fd37cd
|
- Bug #3200841: removed "warning C4127: conditional expression is constant" concerning infinite loop by replacing while (true) with for (;;). Added new JSON_FAIL macro. Commented unused parameters.
|
2011-05-02 16:51:48 +00:00 |
|
Baptiste Lepilleur
|
b96aed0f3e
|
Added float Json::Value::asFloat() to obtain a floating point value as a float (avoid lost of precision warning caused by used of asDouble() to initialize a float).
|
2010-12-24 19:30:06 +00:00 |
|
Baptiste Lepilleur
|
fa130ef871
|
- Array index can be passed as int to operator[], allowing use of literal:
Json::Value array;
array.append( 1234 );
int value = array[0].asInt(); // did not compile previously
|
2010-12-24 12:47:14 +00:00 |
|
Baptiste Lepilleur
|
7469f1d014
|
JsonCpp is now licensed under MIT license, or public domain if desired and recognized in your jurisdiction.
|
2010-04-20 21:35:19 +00:00 |
|
Baptiste Lepilleur
|
fcf145ecd4
|
- changed SVN EOL properties so that HTML file are in Unix format, Visual Studio solution are always in Windows format, and sources are in native format.
|
2010-02-23 08:23:41 +00:00 |
|
Baptiste Lepilleur
|
8d3790d217
|
- added missing virtual destructor to TestCase.
|
2010-02-21 14:28:54 +00:00 |
|
Baptiste Lepilleur
|
a1d6c9e66a
|
Fixed iteration bug over null values.
|
2009-11-23 22:33:30 +00:00 |
|
Baptiste Lepilleur
|
45c499d310
|
- added mini unit testing framework
- added unit tests for Value.isXYZ() and iteration over Value members to compute size
|
2009-11-21 18:07:09 +00:00 |
|