Return-Path: X-Original-To: apmail-fleece-dev-archive@minotaur.apache.org Delivered-To: apmail-fleece-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 68AD5118B4 for ; Sun, 6 Jul 2014 22:52:59 +0000 (UTC) Received: (qmail 80122 invoked by uid 500); 6 Jul 2014 22:52:58 -0000 Delivered-To: apmail-fleece-dev-archive@fleece.apache.org Received: (qmail 80105 invoked by uid 500); 6 Jul 2014 22:52:58 -0000 Mailing-List: contact dev-help@fleece.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@fleece.incubator.apache.org Delivered-To: mailing list dev@fleece.incubator.apache.org Received: (qmail 80094 invoked by uid 99); 6 Jul 2014 22:52:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jul 2014 22:52:57 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 06 Jul 2014 22:52:59 +0000 Received: (qmail 80060 invoked by uid 99); 6 Jul 2014 22:52:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jul 2014 22:52:33 +0000 Date: Sun, 6 Jul 2014 22:52:33 +0000 (UTC) From: "Hendrik Saly (JIRA)" To: dev@fleece.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEECE-4) Add/Modify JSON test and benchmarking files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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)