Skip to content

Commit

Permalink
Add tests for getConfigInUse() of JsonBuilderFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
leadpony committed Jul 28, 2019
1 parent 07bb644 commit cc75deb
Show file tree
Hide file tree
Showing 9 changed files with 11,865 additions and 7,219 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.1.0 - 2019-07-28
### Added
- Tests for `getConfigInUse()` method.
- Tests for `JsonParser.skipArray()` and `JsonParser.skipObject()` against unclosed array and object.

## 1.0.0 - 2019-07-23
### Added
- Reporting for Joy.
Expand Down
30 changes: 20 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@

This project provides a set of tests for implementations of [Java API for JSON Processing (JSR 374)].

## JSON-P Test Suite
## Project Goal

### Latest Test Results
* Provides comprehensive test suite which is fairly available for all JSON-P implementations.
* Contributes to the quality of JSON-P implementations.
* Compensates the ambiguities existing in the API specification.

## Latest Test Results

[JSON-P Test Suite Reports] shows the latest test results of the following JSON-P implementations.
* [Reference Implementation]
* [Jakarta JSON Processing] (Reference Implementation)
* [Apache Johnzon]
* [Joy]

### Using as a Test Dependency
## Using as a Test Dependency

The jar-packaged artifact of this test suite is available from [JitPack] repository.

Expand All @@ -29,7 +33,7 @@ The jar-packaged artifact of this test suite is available from [JitPack] reposit
<dependency>
<groupId>org.leadpony</groupId>
<artifactId>jsonp-test-suite</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -53,7 +57,7 @@ The test suite can be run by using Maven Surefire Plugin.
</plguins>
```

### How to Build
## Building from Source

The following tools are required to build and run the artifacts.
* JDK 9 or higher
Expand All @@ -65,24 +69,30 @@ The commands below build and install the test suite into your local Maven reposi
mvn clean install
```

When testing with the Reference Implementation:
When testing with *Jakarta JSON Processing*:

```bash
mvn test -P test-with-ri
mvn test -P test-with-jakarta
```

When testing with [Apache Johnzon]:
When testing with *Apache Johnzon*:

```bash
mvn test -P test-with-johnzon
```

When testing with *Joy*:

```bash
mvn test -P test-with-joy
```

## Copyright Notice
Copyright &copy; 2019 JSON-P Test Suite Authors. This software is licensed under [Apache License, Versions 2.0][Apache 2.0 License].

[Apache 2.0 License]: https://www.apache.org/licenses/LICENSE-2.0
[Java API for JSON Processing (JSR 374)]: https://eclipse-ee4j.github.io/jsonp/
[Reference Implementation]: https://eclipse-ee4j.github.io/jsonp/
[Jakarta JSON Processing]: https://eclipse-ee4j.github.io/jsonp/
[Apache Johnzon]: https://johnzon.apache.org/
[Joy]: https://github.com/leadpony/joy
[Apache Maven]: https://maven.apache.org/
Expand Down
10 changes: 5 additions & 5 deletions docs/project-reports.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Generated by Apache Maven Doxia Site Renderer 1.8.1 from org.apache.maven.plugins:maven-site-plugin:3.7.1:CategorySummaryDocumentRenderer at 2019-07-23 -->
<!-- Generated by Apache Maven Doxia Site Renderer 1.8.1 from org.apache.maven.plugins:maven-site-plugin:3.7.1:CategorySummaryDocumentRenderer at 2019-07-28 -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Expand All @@ -24,8 +24,8 @@
</div>
<div id="breadcrumbs">
<div class="xleft">
<span id="publishDate">Last Published: 2019-07-23</span>
&nbsp;| <span id="projectVersion">Version: 0.14.0</span>
<span id="publishDate">Last Published: 2019-07-28</span>
&nbsp;| <span id="projectVersion">Version: 1.1.0</span>
</div>
<div class="xright"><a href="./" title="JSON-P Test Suite">JSON-P Test Suite</a> </div>
<div class="clear">
Expand All @@ -38,7 +38,7 @@ <h5>Project Documentation</h5>
<ul>
<li class="expanded"><strong>Project Reports</strong>
<ul>
<li class="none"><a href="surefire-report-ri.html" title="Surefire Report (Reference Implementation)">Surefire Report (Reference Implementation)</a></li>
<li class="none"><a href="surefire-report-jakarta.html" title="Surefire Report (Jakarta JSON Processing)">Surefire Report (Jakarta JSON Processing)</a></li>
<li class="none"><a href="surefire-report-johnzon.html" title="Surefire Report (Apache Johnzon)">Surefire Report (Apache Johnzon)</a></li>
<li class="none"><a href="surefire-report-joy.html" title="Surefire Report (Joy)">Surefire Report (Joy)</a></li>
</ul></li>
Expand All @@ -60,7 +60,7 @@ <h3><a name="Overview"></a>Overview</h3>
<th>Document</th>
<th>Description</th></tr>
<tr class="b">
<td><a href="surefire-report-ri.html">Surefire Report (Reference Implementation)</a></td>
<td><a href="surefire-report-jakarta.html">Surefire Report (Jakarta JSON Processing)</a></td>
<td>Report on the test results of the project.</td></tr>
<tr class="a">
<td><a href="surefire-report-johnzon.html">Surefire Report (Apache Johnzon)</a></td>
Expand Down
Loading

0 comments on commit cc75deb

Please sign in to comment.