This repository was archived by the owner on Feb 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
dataformat-rdf/src/test/java/io/adminshell/aas/v3/dataformat/rdf Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16- package io .adminshell .aas .v3 .model . dataformat .rdf ;
16+ package io .adminshell .aas .v3 .dataformat .rdf ;
1717
1818import io .adminshell .aas .v3 .dataformat .DeserializationException ;
19- import io .adminshell .aas .v3 .dataformat .rdf .Serializer ;
2019import io .adminshell .aas .v3 .model .*;
2120import org .apache .jena .riot .RDFLanguages ;
2221import org .junit .Assert ;
Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16- package io .adminshell .aas .v3 .model . dataformat .rdf ;
16+ package io .adminshell .aas .v3 .dataformat .rdf ;
1717
1818import io .adminshell .aas .v3 .dataformat .rdf .Serializer ;
1919import io .adminshell .aas .v3 .model .*;
2020import io .adminshell .aas .v3 .model .impl .*;
21+ import org .apache .jena .riot .RDFLanguages ;
2122import org .junit .Assert ;
2223import org .junit .Test ;
2324
@@ -65,7 +66,7 @@ public void serializeEnvironment() throws IOException {
6566 .assetAdministrationShells (aasList )
6667 .submodels (submodel )
6768 .build ();
68- String output = new Serializer ().serialize (aasEnv );
69+ String output = new Serializer ().serialize (aasEnv , RDFLanguages . JSONLD );
6970 //System.out.println(output);
7071 Assert .assertTrue (output .contains ("@context" ));
7172 Assert .assertTrue (output .contains ("rdf:" ));
Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16- package io .adminshell .aas .v3 .model . dataformat .rdf ;
16+ package io .adminshell .aas .v3 .dataformat .rdf ;
1717
1818
1919import java .io .IOException ;
You can’t perform that action at this time.
0 commit comments