added testcase for COSYLAB-584

This commit is contained in:
2016-04-20 08:34:25 +02:00
parent a31da7105f
commit 8db2fbee21
3 changed files with 54 additions and 3 deletions
+4 -3
View File
@@ -5,8 +5,9 @@
"style": "color: #000000"
},
"file-choice": [
{"text": "This is view 1", "file": "menu_1.json"},
{"text": "This is view 2", "file": "menu_2.json"}
{"text": "SUB-MENU2", "file": "/Users/ebner/Git/pylauncher/examples/menus2/menu_example.json"},
{"text": "SUB-MENU", "file": "menu_2.json"}
],
"menu": [
{
@@ -15,7 +16,7 @@
},
{
"type": "menu",
"text": "This is sub-menu -default style",
"text": "This is sub-menu -default style",
"file": "menu_2.json",
"tip": "Menu tip.",
"help-link": "http://www.link.com/to/help"
+24
View File
@@ -0,0 +1,24 @@
{
"menu-title":
{"text": "F_L1","theme": "green", "style": "color: #FF3388"},
"file-choice": [
{"text": "Load F_L2", "file": "menu_2.json"}
],
"menu": [
{"type": "title", "text": "General"},
{"type": "cmd", "text": "Who is online", "command": "xeyes", "tip": "List of currently connected users.", "help-link": "http://www.google.com"},
{"type": "title", "text": "HighLevel Applications", "theme": "green"},
{"type": "cmd", "text": "ScreenMonitorTool", "command": "ls", "theme": "green", "style": "color: #FF3388"},
{"type": "cmd", "text": "QE Measurement", "command": "ls -l", "theme": "green"},
{"type": "separator"},
{"type": "title", "text": "Utilities", "theme": "green"},
{"type": "cmd", "text": "Remote network access control by control room", "command": "ls"},
{"type": "menu", "text": "Strip-tool", "file": "menu_10.json"},
{"type": "caqtdm", "text": "CA-screen", "macros": "SYS=TEST", "panel": "screen.ui" },
{"type": "medm", "text": "MEDM-screen", "macros": "SYS=TEST", "panel": "screen.adl" },
{"type": "cmd", "text": "Test", "command": "pep -mc S10BC02-MBND100:I-SET"},
{"type": "cmd", "text": "Test 2", "command": "pylauncher -h"},
{"type": "pep", "text": "Pep type test (.prc)", "panel": "S_TEST_REMOTECTRL_GUDE_SF-CTRL-TEST01.prc"},
{"type": "pep", "text": "Pep type test (.prc)", "param": "-mc S10BC02-MBND100:I-SET"}
]
}
+26
View File
@@ -0,0 +1,26 @@
{
"menu-title": {
"text": ">>>> MENU 2 <<<<",
"theme": "green",
"style": "color: #000000"
},
"menu": [
{
"type": "title",
"text": "Title 1 - default style"
},
{
"type": "menu",
"text": "Menu 5",
"file": "menu_5.json",
"tip": "Menu tip.",
"help-link": "http://www.link.com/to/help"
},
{
"type": "cmd",
"text": "This is command-default style",
"command": "xeyes",
"tip": "Opens xeyes."
}
]
}