You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by mi...@apache.org on 2015/11/15 09:02:26 UTC

[4/9] olingo-odata4 git commit: [OLINGO-821] Verify Enum and TypeDef support

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/639362ca/lib/server-test/src/test/resources/EntityETMixEnumDefCollCompWithEnumStrings.json
----------------------------------------------------------------------
diff --git a/lib/server-test/src/test/resources/EntityETMixEnumDefCollCompWithEnumStrings.json b/lib/server-test/src/test/resources/EntityETMixEnumDefCollCompWithEnumStrings.json
new file mode 100644
index 0000000..0207d29
--- /dev/null
+++ b/lib/server-test/src/test/resources/EntityETMixEnumDefCollCompWithEnumStrings.json
@@ -0,0 +1,24 @@
+{
+	"PropertyEnumString" : "String2",
+	"PropertyDefString" : "def",
+	"CollPropertyEnumString" : ["String1", "String2"],
+	"CollPropertyDefString" : ["def1", "def2"],
+	"PropertyCompMixedEnumDef" : {
+		"PropertyEnumString" : "String2",
+		"PropertyDefString" : "def",
+		"CollPropertyEnumString" : ["String1", "String2"],
+		"CollPropertyDefString" : ["def1", "def2"]
+	},
+	"CollPropertyCompMixedEnumDef" : [{
+			"PropertyEnumString" : "String2",
+			"PropertyDefString" : "def",
+			"CollPropertyEnumString" : ["String1", "String2"],
+			"CollPropertyDefString" : ["def1", "def2"]
+		}, {
+			"PropertyEnumString" : "String2",
+			"PropertyDefString" : "def",
+			"CollPropertyEnumString" : ["String1", "String2"],
+			"CollPropertyDefString" : ["def1", "def2"]
+		}
+	]
+}