On Wed, 27 Jan 2016, silvioprog wrote:
On Wed, Jan 27, 2016 at 2:41 PM, Graeme Geldenhuys <
mailingli...@geldenhuys.co.uk> wrote:
On 2016-01-27 17:28, silvioprog wrote:
Is the `testjsonparser` unit all the tests for FCL JSON, or can I find
more
tests in another place?
I have more unit test units in the <fpc>/src/packages/fcl-json/tests/
directory.
[...]
I can't find any test for `TJSONScanner` class.
In that case, Michael van Canneyt is probably the best person to answer
that.
[...]
Let's expect his answer. :-)
You can add tests to the TTestParser class in the testjsonparser.pp unit.
if you want to test purely data related stuff, use classes in testjsondata.pp
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal