[
https://issues.apache.org/jira/browse/FLEECE-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hendrik Saly updated FLEECE-4:
------------------------------
Attachment: 0004-some-more-json-chars-for-the-new-parser.patch
0003-New-JSON-Parser-which-pass-all-tests-minor-testcasef.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.
Thanks
> Add/Modify JSON test and benchmarking files
> -------------------------------------------
>
> Key: FLEECE-4
> URL: https://issues.apache.org/jira/browse/FLEECE-4
> 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
(v6.2#6252)