summaryrefslogtreecommitdiffstats
path: root/sliPluginUtils/provider/src/test/resources/Widget.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/Widget.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/Widget.json')
-rw-r--r--sliPluginUtils/provider/src/test/resources/Widget.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/sliPluginUtils/provider/src/test/resources/Widget.json b/sliPluginUtils/provider/src/test/resources/Widget.json
new file mode 100644
index 000000000..1e25282c2
--- /dev/null
+++ b/sliPluginUtils/provider/src/test/resources/Widget.json
@@ -0,0 +1,27 @@
+{
+ "widget": {
+ "debug": false,
+ "window": {
+ "title": "ONAP Widget",
+ "name": "main_window",
+ "width": 200,
+ "height": 300
+ },
+ "image": {
+ "src": "images/moon.png",
+ "name": "moon",
+ "hOffset": 150,
+ "vOffset": 150,
+ "alignment": "center"
+ },
+ "text": {
+ "data": "Click Me",
+ "size": 21,
+ "style": "bold",
+ "name": "text1",
+ "hOffset": 350,
+ "vOffset": 200,
+ "alignment": "center"
+ }
+ }
+} \ No newline at end of file