olingo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chri...@apache.org
Subject [1/5] olingo-odata4 git commit: [OLINGO-821] Verify Enum and TypeDef support
Date Fri, 06 Nov 2015 15:58:39 GMT
Repository: olingo-odata4
Updated Branches:
  refs/heads/master ac828a355 -> 639362caa


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"]
+		}
+	]
+}


Mime
View raw message