34 lines
1.5 KiB
Java
34 lines
1.5 KiB
Java
package no.nilsnh.uibevents;
|
|
|
|
public class TestUtils {
|
|
|
|
public static String getExampleJson() {
|
|
return "{\n" +
|
|
" \"from_date\": \"2015-04-16T16:40:41+02:00\",\n" +
|
|
" \"events\": [\n" +
|
|
" {\n" +
|
|
" \"type\": \"exhibition\",\n" +
|
|
" \"title\": \" The Norwegian Constitution \\\"VI: 1814 - 2014\\\"\",\n" +
|
|
" \"date_from\": \"2014-05-11 22:00:00Z\",\n" +
|
|
" \"date_to\": \"2016-12-31 15:00:00Z\",\n" +
|
|
" \"location\": null,\n" +
|
|
" \"lead\": null,\n" +
|
|
" \"id\": 70450,\n" +
|
|
" \"path\": \"universitymuseum/70450/norwegian-constitution-vi-1814-2014\"\n" +
|
|
" },\n" +
|
|
" {\n" +
|
|
" \"type\": \"exhibition\",\n" +
|
|
" \"title\": \"Grunnlovsutstillingen \\\"Vi 1814-2014\\\"\",\n" +
|
|
" \"date_from\": \"2014-05-12 10:00:00Z\",\n" +
|
|
" \"date_to\": \"2016-12-31 11:00:00Z\",\n" +
|
|
" \"location\": \"De kulturhistoriske samlinger, Haakon Sheteligs plass 10\",\n" +
|
|
" \"lead\": \"En annerledes og nyskapende utstilling om demokrati for ungdom og voksne. \",\n" +
|
|
" \"id\": 48468,\n" +
|
|
" \"path\": \"grunnlovsjubileet2014/48468/grunnlovsutstillingen-vi-1814-2014\"\n" +
|
|
" }\n" +
|
|
" ]\n" +
|
|
"}";
|
|
}
|
|
|
|
}
|