johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hendrik Saly (JIRA)" <>
Subject [jira] [Updated] (FLEECE-4) Add/Modify JSON test and benchmarking files
Date Sun, 06 Jul 2014 22:52:33 GMT


Hendrik Saly updated FLEECE-4:

    Attachment: 0004-some-more-json-chars-for-the-new-parser.patch

yes you are right, the failures after applying patch 1+2 were intended. The patches 3+4 introduces
the new parser (and some other minor fixes) but currently WITHOUT using BufferCache. The reason
for that is that the buffer size within BufferCache is static and so the buffer size related
testcases would not work. 

If thats not acceptable then we can disable these tests and use BufferCache, nor problem.
But someday i think we need buffersize related tests to make sure buffer sizes does not disturb
the parser logic.

I found not way yet to tell JUNIT to execute every test method in a separate classloader or
JVM to circumvent the above problem with the testcases.

Pls. feel free to modify the patches at your will.


> Add/Modify JSON test and benchmarking files
> -------------------------------------------
>                 Key: FLEECE-4
>                 URL:
>             Project: Fleece
>          Issue Type: Test
>            Reporter: Hendrik Saly
>            Priority: Minor
>         Attachments: 0001-Add-Modify-JSON-test-and-benchmarking-files.patch, 0002-Adapted-test-classes-for-the-new-files.patch,
0003-New-JSON-Parser-which-pass-all-tests-minor-testcasef.patch, 0004-some-more-json-chars-for-the-new-parser.patch
> Add/Modify JSON test files which (hopefully) can prove correct parsing behaviour. Consists
of positive and negative test files. The larger files can also be used for benchmarking.

This message was sent by Atlassian JIRA

View raw message