[ 
https://issues.apache.org/jira/browse/FLEECE-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053178#comment-14053178
 ] 

Romain Manni-Bucau commented on FLEECE-4:
-----------------------------------------

Hmm

should the tests pass now?

{code}
Results :

Failed tests:   fail10(org.apache.fleece.core.JsonParserTest): Expected 
exception: javax.json.stream.JsonParsingException
  fail15(org.apache.fleece.core.JsonParserTest): Expected exception: 
javax.json.stream.JsonParsingException
  fail17(org.apache.fleece.core.JsonParserTest): Expected exception: 
javax.json.stream.JsonParsingException
  fail18(org.apache.fleece.core.JsonParserTest): Expected exception: 
javax.json.stream.JsonParsingException
  fail20(org.apache.fleece.core.JsonParserTest): Expected exception: 
javax.json.stream.JsonParsingException
  fail23(org.apache.fleece.core.JsonParserTest): Expected exception: 
javax.json.stream.JsonParsingException
  fail25(org.apache.fleece.core.JsonParserTest): Expected exception: 
javax.json.stream.JsonParsingException
  fail1(org.apache.fleece.core.JsonParserTest): Expected exception: 
javax.json.stream.JsonParsingException
  fail3(org.apache.fleece.core.JsonParserTest): Expected exception: 
javax.json.stream.JsonParsingException
  fail4(org.apache.fleece.core.JsonParserTest): Expected exception: 
javax.json.stream.JsonParsingException
  fail5(org.apache.fleece.core.JsonParserTest): Expected exception: 
javax.json.stream.JsonParsingException
  fail8(org.apache.fleece.core.JsonParserTest): Expected exception: 
javax.json.stream.JsonParsingException
  escaping(org.apache.fleece.core.JsonParserTest): expected:<[\]> but was:<[]>
  emptyZeroCharBuffersize(org.apache.fleece.core.JsonReaderImplTest): Expected 
exception: java.lang.IllegalArgumentException
  unicode(org.apache.fleece.core.JsonReaderImplTest): expected:<[敥]> but 
was:<[u6565]>
  stringescapeVariousBufferSizes(org.apache.fleece.core.JsonReaderImplTest): 
expected:<s"mi[t]"> but was:<s"mi[ ]">

Tests in error: 
  fail21(org.apache.fleece.core.JsonParserTest): Unexpected exception, 
expected<javax.json.stream.JsonParsingException> but 
was<java.lang.NumberFormatException>
  fail7(org.apache.fleece.core.JsonParserTest): Unexpected exception, 
expected<javax.json.stream.JsonParsingException> but 
was<java.lang.NumberFormatException>
  parseHuge1MbJsonFile(org.apache.fleece.core.JsonReaderImplTest): For input 
string: ""
  parseLarge130KbJsonFile(org.apache.fleece.core.JsonReaderImplTest): For input 
string: ""
  parseBig600KbJsonFile(org.apache.fleece.core.JsonReaderImplTest): expecting 
end of structure or comma but got d

Tests run: 73, Failures: 16, Errors: 5, Skipped: 0
{code}

> 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
>
>
> 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)

Reply via email to