From 1395a8ee2611f12341252c72872bf4a90257f26e Mon Sep 17 00:00:00 2001 From: Martin Ledvinka Date: Mon, 5 Feb 2018 13:06:50 +0100 Subject: [PATCH] [0.2.0] Bumped version. Updated libraries. --- README.md | 1 - pom.xml | 8 ++++---- .../jackson/serialization/JsonLdSerializationTest.java | 8 +++----- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 12e7580..8bf2e05 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,5 @@ There are two ways to get JB4JSON-LD-Jackson: cz.cvut.kbss.jsonld jb4jsonld-jackson - 0.1.0 ``` diff --git a/pom.xml b/pom.xml index e8f79d2..f1b0127 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ cz.cvut.kbss.jsonld jb4jsonld-jackson - 0.1.1 + 0.2.0 JB4JSON-LD-Jackson JB4JSON-LD integration for Jackson. https://github.com/kbss-cvut/jb4jsonld-jackson @@ -16,7 +16,7 @@ 1.8 1.8 - 0.1.1 + 0.2.0 4.12 1.10.19 1.1.6 @@ -181,14 +181,14 @@ org.apache.maven.plugins maven-compiler-plugin - 3.3 + 3.7.0 org.jacoco jacoco-maven-plugin - 0.7.6.201602180812 + 0.8.0 diff --git a/src/test/java/cz/cvut/kbss/jsonld/jackson/serialization/JsonLdSerializationTest.java b/src/test/java/cz/cvut/kbss/jsonld/jackson/serialization/JsonLdSerializationTest.java index a382947..8bb2f23 100644 --- a/src/test/java/cz/cvut/kbss/jsonld/jackson/serialization/JsonLdSerializationTest.java +++ b/src/test/java/cz/cvut/kbss/jsonld/jackson/serialization/JsonLdSerializationTest.java @@ -1,11 +1,11 @@ /** * Copyright (C) 2017 Czech Technical University in Prague - * + *

* This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any * later version. - * + *

* This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more @@ -176,9 +176,7 @@ public void testSerializeInstanceWithPluralReferenceAndBackwardReferences() thro verifyOrganizationAttributes(org); for (Employee emp : org.getEmployees()) { assertTrue(contains(org.getUri(), Vocabulary.HAS_MEMBER, emp.getUri())); - // JSON-LD implementations store IRIs of other individuals as plain strings, which causes them to be parsed as strings by Sesame - // The question is: how should the serializer/parser behave in such situations? - assertTrue(contains(emp.getUri(), Vocabulary.IS_MEMBER_OF, org.getUri().toString())); + assertTrue(contains(emp.getUri(), Vocabulary.IS_MEMBER_OF, org.getUri())); verifyUserAttributes(emp); } }