summaryrefslogtreecommitdiffstats
path: root/sliPluginUtils/provider/src/test/resources/ArrayMenu.json
diff options
context:
space:
mode:
authorSmokowski, Kevin (ks6305) <kevin.smokowski@att.com>2019-12-17 18:27:42 +0000
committerSmokowski, Kevin (ks6305) <kevin.smokowski@att.com>2019-12-18 16:44:13 +0000
commit2fa35ec7af06c9f1d1982dc500726de703f7dede (patch)
tree1830d0bc7426422dc022d7cb3dd040b8c334052a /sliPluginUtils/provider/src/test/resources/ArrayMenu.json
parenta55a4e30507c25c21c7f1df830f5d5189e03c038 (diff)
enhance SliPluginUtils
writeJsonToCtx now supports top level json arrays, add urlDecode to SliStringUtils, rename CheckParametersTest and move unrelated methods into another test class and Add test cases to improve test coverage Issue-ID: CCSDK-2006 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: If1f654ea9c7046b00c977434f87740e54f15b7d3
Diffstat (limited to 'sliPluginUtils/provider/src/test/resources/ArrayMenu.json')
-rw-r--r--sliPluginUtils/provider/src/test/resources/ArrayMenu.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/sliPluginUtils/provider/src/test/resources/ArrayMenu.json b/sliPluginUtils/provider/src/test/resources/ArrayMenu.json
new file mode 100644
index 000000000..b12f16315
--- /dev/null
+++ b/sliPluginUtils/provider/src/test/resources/ArrayMenu.json
@@ -0,0 +1,41 @@
+[{
+ "id": "1",
+ "type": "pizza",
+ "name": "plain",
+ "calories": 1000,
+ "vegetarian": true
+ }, {
+ "id": "2",
+ "type": "pizza",
+ "name": "Tuesday Special",
+ "calories": 2000,
+ "vegetarian": false,
+ "topping":
+ [{
+ "id": "1",
+ "name": "onion"
+ }, {
+ "id": "2",
+ "name": "pepperoni"
+ }
+ ]
+ }, {
+ "id": "3",
+ "type": "pizza",
+ "name": "House Special",
+ "calories": 1500,
+ "vegetarian": true,
+ "topping":
+ [{
+ "id": "3",
+ "name": "basil"
+ }, {
+ "id": "4",
+ "name": "fresh mozzarella"
+ }, {
+ "id": "5",
+ "name": "tomato"
+ }
+ ]
+ }
+]