Tests and setup for 1.1 development by fsteeg · Pull Request #283 · jsonld-java/jsonld-java · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
24a56c3
This fixes issue #262:
RinkeHoekstra Jun 27, 2019
c0e0b85
Test with openjdk8 and openjdk11
ansell Jul 29, 2019
8b7fedc
Support jld:PositiveSyntaxTest
fsteeg Oct 28, 2019
16f8916
Set up option to run the 1.0 test suite
fsteeg Dec 6, 2019
7783fc7
Improve test outputs
fsteeg Dec 9, 2019
aaaf6d2
Set up option to run the json-ld-framing test suite
fsteeg Dec 9, 2019
7043ae1
Set up tests for multiple test suites and 1.1 development
fsteeg Dec 10, 2019
40e3e8e
Add setup for skipping tests
fsteeg Dec 10, 2019
5b82307
Update json-ld-api and json-ld-framing tests, document in README
fsteeg Mar 23, 2020
620053a
Fix test setup to use correct base for 1.0 and 1.1 tests
fsteeg Mar 23, 2020
c4793a7
Tweak test IDs for creating reports
fsteeg Apr 8, 2020
2318376
Update spec tests and report setup
fsteeg Apr 9, 2020
cfc5d5e
Rerun tests without functional 1.1 commits from #277
fsteeg Apr 24, 2020
53470d6
Merge remote-tracking branch 'origin/master' into 1.1-tests
fsteeg Apr 27, 2020
3a63d91
Handle `@version` context entries
fsteeg Oct 25, 2019
5623b28
Include new keywords when skipping createTermDefinition
fsteeg Oct 29, 2019
d953a4f
Support `@container` array syntax
fsteeg Oct 29, 2019
e316b1c
Support JSON literals
fsteeg Nov 29, 2019
036d7db
Some 1.1 tweaks
fsteeg Dec 10, 2019
a22f97e
Minor additions
dr0i Dec 13, 2019
b6ba9e8
Some inline comments on areas that can use improvement for 1.1
gkellogg Apr 9, 2020
6faa828
Add source of README into the README
dr0i Apr 28, 2020
d310e59
Fix jarcache guava loading
elahrvivaz Jul 8, 2020
c867a0a
Merge pull request #291 from elahrvivaz/guava_maximize
ansell Jul 9, 2020
3c8039f
Merge pull request #284 from jsonld-java/1.1
ansell Jul 9, 2020
2e1135d
Follow alternate document location
dr0i Aug 24, 2020
a2e6f8a
Remove unused imports
dr0i Aug 24, 2020
2ef090b
Remove ignored test
dr0i Aug 24, 2020
a2f3c9f
Reorganize imports
dr0i Aug 25, 2020
776e77d
Try-with on response in the submethod
dr0i Aug 25, 2020
818b118
Avoid reading from closed stream
fsteeg Aug 27, 2020
1d675d7
Abort if to many alternate links are followed.
dr0i Aug 28, 2020
1229f73
Fix missing trim(); simplify value parsing
dr0i Aug 28, 2020
faddb48
Fix testing if object not null
dr0i Aug 28, 2020
9100b13
Throw IOException instead of returning null
dr0i Sep 8, 2020
d5e2761
Close InputStream within finally block
dr0i Sep 8, 2020
9b05185
Merge branch '289-followLinkHeaderToContextFile' into master
ansell Sep 9, 2020
1356922
Bump dependencies
ansell Sep 9, 2020
71006f5
Release 0.13.1
ansell Sep 9, 2020
9d000fe
Bump to next development version
ansell Sep 9, 2020
44137ec
Merge remote-tracking branch 'origin/master' into 1.1-tests
fsteeg Sep 10, 2020
a1d62e1
Merge branch 'develop' into 1.1-tests
fsteeg Sep 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .gitignore
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,46 @@ mvn test -pl core

to run only core package tests

### Update local spec tests

Note: This assumes a local checkout of the [https://github.com/w3c/json-ld-api](https://github.com/w3c/json-ld-api) repo on the same level as `jsonld-java`. Adapt these steps for the `json-ld-framing` tests and [https://github.com/w3c/json-ld-framing](https://github.com/w3c/json-ld-framing) repo.

Update the local `json-ld-api` tests:

```bash
cd ../json-ld-api ; git pull ; cd ../jsonld-java
```

Copy local `json-ld-api` tests to `jsonld-java`:


```bash
cp -r ../json-ld-api/tests/* core/src/test/resources/json-ld-api-tests/
```

Run all local spec tests, re-generate reports, and update skip files:

```bash
rm core/reports/*-skip ; mvn clean test -Dreport.format=jsonld
```

Commit the new tests and skip files so we get a useful diff when rerunning skipped spec tests:

```bash
git add .
git commit -m 'Update json-ld-api tests'
```

### Rerun skipped spec tests

Implement your fix or feature, then rerun all local spec tests (second run will pass):

```bash
rm core/reports/*-skip ; mvn clean test
```

The diff on the `core/reports/*-skip` files shows which spec tests were enabled.

### Code style

The JSONLD-Java project uses custom Eclipse formatting and cleanup style guides to ensure that Pull Requests are fairly simple to merge.
Expand Down
1 change: 0 additions & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
<shadedPattern>com.github.jsonldjava.shaded.com.google.common</shadedPattern>
</relocation>
</relocations>
<minimizeJar>true</minimizeJar>
<filters>
<filter>
<artifact>com.google.guava:guava</artifact>
Expand Down
737 changes: 737 additions & 0 deletions core/reports/json-ld-api-tests-skip

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions core/reports/json-ld-framing-tests-skip
Loading