Test errors in flags
Change-Id: Ie7a9dcc7b6e4263e04580e043ea9a23d8f5227c6
diff --git a/src/test/resources/queries/flags/unknown1.jsonld b/src/test/resources/queries/flags/unknown1.jsonld
new file mode 100644
index 0000000..1d77ebe
--- /dev/null
+++ b/src/test/resources/queries/flags/unknown1.jsonld
@@ -0,0 +1,23 @@
+{
+ "@context":"http://korap.ids-mannheim.de/ns/koral/0.3/context.jsonld",
+ "errors":[],
+ "warnings":[],
+ "messages":[],
+ "collection":{},
+ "query":{
+ "@type":"koral:token",
+ "wrap":{
+ "@type":"koral:term",
+ "layer":"orth",
+ "key":"buchstabe",
+ "match":"match:eq",
+ "flags":["flags:unknown"]
+ }
+ },
+ "meta":{
+ "startPage":1,
+ "count":25,
+ "cutOff":true,
+ "context":"paragraph"
+ }
+}
diff --git a/src/test/resources/queries/flags/unknown2.jsonld b/src/test/resources/queries/flags/unknown2.jsonld
new file mode 100644
index 0000000..a529323
--- /dev/null
+++ b/src/test/resources/queries/flags/unknown2.jsonld
@@ -0,0 +1,23 @@
+{
+ "@context":"http://korap.ids-mannheim.de/ns/koral/0.3/context.jsonld",
+ "errors":[],
+ "warnings":[],
+ "messages":[],
+ "collection":{},
+ "query":{
+ "@type":"koral:token",
+ "wrap":{
+ "@type":"koral:term",
+ "layer":"orth",
+ "key":"buchstabe",
+ "match":"match:eq",
+ "flags":["flags:unknown", "flags:caseInsensitive"]
+ }
+ },
+ "meta":{
+ "startPage":1,
+ "count":25,
+ "cutOff":true,
+ "context":"paragraph"
+ }
+}
diff --git a/src/test/resources/queries/flags/unknown3.jsonld b/src/test/resources/queries/flags/unknown3.jsonld
new file mode 100644
index 0000000..e66b534
--- /dev/null
+++ b/src/test/resources/queries/flags/unknown3.jsonld
@@ -0,0 +1,23 @@
+{
+ "@context":"http://korap.ids-mannheim.de/ns/koral/0.3/context.jsonld",
+ "errors":[],
+ "warnings":[],
+ "messages":[],
+ "collection":{},
+ "query":{
+ "@type":"koral:token",
+ "wrap":{
+ "@type":"koral:term",
+ "layer":"orth",
+ "key":"buchstabe",
+ "match":"match:eq",
+ "flags":["flags:caseInsensitive", "flags:unknown"]
+ }
+ },
+ "meta":{
+ "startPage":1,
+ "count":25,
+ "cutOff":true,
+ "context":"paragraph"
+ }
+}