diff --git a/tests/artifacts/xdmod/user_admin/output/get_tabs-admin.json b/tests/artifacts/xdmod/user_admin/output/get_tabs-admin.json index f01ad9bca9..ddc6d36311 100644 --- a/tests/artifacts/xdmod/user_admin/output/get_tabs-admin.json +++ b/tests/artifacts/xdmod/user_admin/output/get_tabs-admin.json @@ -1,10 +1,68 @@ -{ - "success": true, - "totalCount": 1, - "message": "", - "data": [ +[ { - "tabs": "[{\"tab\":\"tg_summary\",\"isDefault\":true,\"title\":\"Summary\",\"pos\":100,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Summary\",\"javascriptReference\":\"CCR.xdmod.ui.tgSummaryViewer\",\"tooltip\":\"Displays summary information\",\"userManualSectionName\":\"Summary Tab\"},{\"tab\":\"tg_usage\",\"isDefault\":false,\"title\":\"Usage\",\"pos\":200,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Usage\",\"javascriptReference\":\"CCR.xdmod.ui.chartViewerTGUsage\",\"tooltip\":\"Displays usage\",\"userManualSectionName\":\"Usage Tab\"},{\"tab\":\"metric_explorer\",\"isDefault\":false,\"title\":\"Metric Explorer\",\"pos\":300,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.MetricExplorer\",\"javascriptReference\":\"CCR.xdmod.ui.metricExplorer\",\"tooltip\":\"\",\"userManualSectionName\":\"Metric Explorer\"},{\"tab\":\"report_generator\",\"isDefault\":false,\"title\":\"Report Generator\",\"pos\":1000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.ReportGenerator\",\"javascriptReference\":\"CCR.xdmod.ui.reportGenerator\",\"tooltip\":\"\",\"userManualSectionName\":\"Report Generator\"},{\"tab\":\"job_viewer\",\"isDefault\":false,\"title\":\"Job Viewer\",\"pos\":5000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.JobViewer\",\"javascriptReference\":\"CCR.xdmod.ui.jobViewer\",\"tooltip\":\"View detailed job-level metrics\",\"userManualSectionName\":\"Job Viewer\"},{\"tab\":\"about_xdmod\",\"isDefault\":false,\"title\":\"About\",\"pos\":10000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.About\",\"javascriptReference\":\"CCR.xdmod.ui.aboutXD\",\"tooltip\":\"\",\"userManualSectionName\":\"About\"}]" + "tab": "tg_summary", + "isDefault": true, + "title": "Summary", + "pos": 100, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Summary", + "javascriptReference": "CCR.xdmod.ui.tgSummaryViewer", + "tooltip": "Displays summary information", + "userManualSectionName": "Summary Tab" + }, + { + "tab": "tg_usage", + "isDefault": false, + "title": "Usage", + "pos": 200, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Usage", + "javascriptReference": "CCR.xdmod.ui.chartViewerTGUsage", + "tooltip": "Displays usage", + "userManualSectionName": "Usage Tab" + }, + { + "tab": "metric_explorer", + "isDefault": false, + "title": "Metric Explorer", + "pos": 300, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.MetricExplorer", + "javascriptReference": "CCR.xdmod.ui.metricExplorer", + "tooltip": "", + "userManualSectionName": "Metric Explorer" + }, + { + "tab": "report_generator", + "isDefault": false, + "title": "Report Generator", + "pos": 1000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.ReportGenerator", + "javascriptReference": "CCR.xdmod.ui.reportGenerator", + "tooltip": "", + "userManualSectionName": "Report Generator" + }, + { + "tab": "job_viewer", + "isDefault": false, + "title": "Job Viewer", + "pos": 5000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.JobViewer", + "javascriptReference": "CCR.xdmod.ui.jobViewer", + "tooltip": "View detailed job-level metrics", + "userManualSectionName": "Job Viewer" + }, + { + "tab": "about_xdmod", + "isDefault": false, + "title": "About", + "pos": 10000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.About", + "javascriptReference": "CCR.xdmod.ui.aboutXD", + "tooltip": "", + "userManualSectionName": "About" } - ] -} +] diff --git a/tests/artifacts/xdmod/user_admin/output/get_tabs-centerdirector.json b/tests/artifacts/xdmod/user_admin/output/get_tabs-centerdirector.json index f01ad9bca9..ddc6d36311 100644 --- a/tests/artifacts/xdmod/user_admin/output/get_tabs-centerdirector.json +++ b/tests/artifacts/xdmod/user_admin/output/get_tabs-centerdirector.json @@ -1,10 +1,68 @@ -{ - "success": true, - "totalCount": 1, - "message": "", - "data": [ +[ { - "tabs": "[{\"tab\":\"tg_summary\",\"isDefault\":true,\"title\":\"Summary\",\"pos\":100,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Summary\",\"javascriptReference\":\"CCR.xdmod.ui.tgSummaryViewer\",\"tooltip\":\"Displays summary information\",\"userManualSectionName\":\"Summary Tab\"},{\"tab\":\"tg_usage\",\"isDefault\":false,\"title\":\"Usage\",\"pos\":200,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Usage\",\"javascriptReference\":\"CCR.xdmod.ui.chartViewerTGUsage\",\"tooltip\":\"Displays usage\",\"userManualSectionName\":\"Usage Tab\"},{\"tab\":\"metric_explorer\",\"isDefault\":false,\"title\":\"Metric Explorer\",\"pos\":300,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.MetricExplorer\",\"javascriptReference\":\"CCR.xdmod.ui.metricExplorer\",\"tooltip\":\"\",\"userManualSectionName\":\"Metric Explorer\"},{\"tab\":\"report_generator\",\"isDefault\":false,\"title\":\"Report Generator\",\"pos\":1000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.ReportGenerator\",\"javascriptReference\":\"CCR.xdmod.ui.reportGenerator\",\"tooltip\":\"\",\"userManualSectionName\":\"Report Generator\"},{\"tab\":\"job_viewer\",\"isDefault\":false,\"title\":\"Job Viewer\",\"pos\":5000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.JobViewer\",\"javascriptReference\":\"CCR.xdmod.ui.jobViewer\",\"tooltip\":\"View detailed job-level metrics\",\"userManualSectionName\":\"Job Viewer\"},{\"tab\":\"about_xdmod\",\"isDefault\":false,\"title\":\"About\",\"pos\":10000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.About\",\"javascriptReference\":\"CCR.xdmod.ui.aboutXD\",\"tooltip\":\"\",\"userManualSectionName\":\"About\"}]" + "tab": "tg_summary", + "isDefault": true, + "title": "Summary", + "pos": 100, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Summary", + "javascriptReference": "CCR.xdmod.ui.tgSummaryViewer", + "tooltip": "Displays summary information", + "userManualSectionName": "Summary Tab" + }, + { + "tab": "tg_usage", + "isDefault": false, + "title": "Usage", + "pos": 200, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Usage", + "javascriptReference": "CCR.xdmod.ui.chartViewerTGUsage", + "tooltip": "Displays usage", + "userManualSectionName": "Usage Tab" + }, + { + "tab": "metric_explorer", + "isDefault": false, + "title": "Metric Explorer", + "pos": 300, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.MetricExplorer", + "javascriptReference": "CCR.xdmod.ui.metricExplorer", + "tooltip": "", + "userManualSectionName": "Metric Explorer" + }, + { + "tab": "report_generator", + "isDefault": false, + "title": "Report Generator", + "pos": 1000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.ReportGenerator", + "javascriptReference": "CCR.xdmod.ui.reportGenerator", + "tooltip": "", + "userManualSectionName": "Report Generator" + }, + { + "tab": "job_viewer", + "isDefault": false, + "title": "Job Viewer", + "pos": 5000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.JobViewer", + "javascriptReference": "CCR.xdmod.ui.jobViewer", + "tooltip": "View detailed job-level metrics", + "userManualSectionName": "Job Viewer" + }, + { + "tab": "about_xdmod", + "isDefault": false, + "title": "About", + "pos": 10000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.About", + "javascriptReference": "CCR.xdmod.ui.aboutXD", + "tooltip": "", + "userManualSectionName": "About" } - ] -} +] diff --git a/tests/artifacts/xdmod/user_admin/output/get_tabs-centerstaff.json b/tests/artifacts/xdmod/user_admin/output/get_tabs-centerstaff.json index f01ad9bca9..ddc6d36311 100644 --- a/tests/artifacts/xdmod/user_admin/output/get_tabs-centerstaff.json +++ b/tests/artifacts/xdmod/user_admin/output/get_tabs-centerstaff.json @@ -1,10 +1,68 @@ -{ - "success": true, - "totalCount": 1, - "message": "", - "data": [ +[ { - "tabs": "[{\"tab\":\"tg_summary\",\"isDefault\":true,\"title\":\"Summary\",\"pos\":100,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Summary\",\"javascriptReference\":\"CCR.xdmod.ui.tgSummaryViewer\",\"tooltip\":\"Displays summary information\",\"userManualSectionName\":\"Summary Tab\"},{\"tab\":\"tg_usage\",\"isDefault\":false,\"title\":\"Usage\",\"pos\":200,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Usage\",\"javascriptReference\":\"CCR.xdmod.ui.chartViewerTGUsage\",\"tooltip\":\"Displays usage\",\"userManualSectionName\":\"Usage Tab\"},{\"tab\":\"metric_explorer\",\"isDefault\":false,\"title\":\"Metric Explorer\",\"pos\":300,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.MetricExplorer\",\"javascriptReference\":\"CCR.xdmod.ui.metricExplorer\",\"tooltip\":\"\",\"userManualSectionName\":\"Metric Explorer\"},{\"tab\":\"report_generator\",\"isDefault\":false,\"title\":\"Report Generator\",\"pos\":1000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.ReportGenerator\",\"javascriptReference\":\"CCR.xdmod.ui.reportGenerator\",\"tooltip\":\"\",\"userManualSectionName\":\"Report Generator\"},{\"tab\":\"job_viewer\",\"isDefault\":false,\"title\":\"Job Viewer\",\"pos\":5000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.JobViewer\",\"javascriptReference\":\"CCR.xdmod.ui.jobViewer\",\"tooltip\":\"View detailed job-level metrics\",\"userManualSectionName\":\"Job Viewer\"},{\"tab\":\"about_xdmod\",\"isDefault\":false,\"title\":\"About\",\"pos\":10000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.About\",\"javascriptReference\":\"CCR.xdmod.ui.aboutXD\",\"tooltip\":\"\",\"userManualSectionName\":\"About\"}]" + "tab": "tg_summary", + "isDefault": true, + "title": "Summary", + "pos": 100, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Summary", + "javascriptReference": "CCR.xdmod.ui.tgSummaryViewer", + "tooltip": "Displays summary information", + "userManualSectionName": "Summary Tab" + }, + { + "tab": "tg_usage", + "isDefault": false, + "title": "Usage", + "pos": 200, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Usage", + "javascriptReference": "CCR.xdmod.ui.chartViewerTGUsage", + "tooltip": "Displays usage", + "userManualSectionName": "Usage Tab" + }, + { + "tab": "metric_explorer", + "isDefault": false, + "title": "Metric Explorer", + "pos": 300, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.MetricExplorer", + "javascriptReference": "CCR.xdmod.ui.metricExplorer", + "tooltip": "", + "userManualSectionName": "Metric Explorer" + }, + { + "tab": "report_generator", + "isDefault": false, + "title": "Report Generator", + "pos": 1000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.ReportGenerator", + "javascriptReference": "CCR.xdmod.ui.reportGenerator", + "tooltip": "", + "userManualSectionName": "Report Generator" + }, + { + "tab": "job_viewer", + "isDefault": false, + "title": "Job Viewer", + "pos": 5000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.JobViewer", + "javascriptReference": "CCR.xdmod.ui.jobViewer", + "tooltip": "View detailed job-level metrics", + "userManualSectionName": "Job Viewer" + }, + { + "tab": "about_xdmod", + "isDefault": false, + "title": "About", + "pos": 10000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.About", + "javascriptReference": "CCR.xdmod.ui.aboutXD", + "tooltip": "", + "userManualSectionName": "About" } - ] -} +] diff --git a/tests/artifacts/xdmod/user_admin/output/get_tabs-normaluser.json b/tests/artifacts/xdmod/user_admin/output/get_tabs-normaluser.json index f01ad9bca9..ddc6d36311 100644 --- a/tests/artifacts/xdmod/user_admin/output/get_tabs-normaluser.json +++ b/tests/artifacts/xdmod/user_admin/output/get_tabs-normaluser.json @@ -1,10 +1,68 @@ -{ - "success": true, - "totalCount": 1, - "message": "", - "data": [ +[ { - "tabs": "[{\"tab\":\"tg_summary\",\"isDefault\":true,\"title\":\"Summary\",\"pos\":100,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Summary\",\"javascriptReference\":\"CCR.xdmod.ui.tgSummaryViewer\",\"tooltip\":\"Displays summary information\",\"userManualSectionName\":\"Summary Tab\"},{\"tab\":\"tg_usage\",\"isDefault\":false,\"title\":\"Usage\",\"pos\":200,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Usage\",\"javascriptReference\":\"CCR.xdmod.ui.chartViewerTGUsage\",\"tooltip\":\"Displays usage\",\"userManualSectionName\":\"Usage Tab\"},{\"tab\":\"metric_explorer\",\"isDefault\":false,\"title\":\"Metric Explorer\",\"pos\":300,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.MetricExplorer\",\"javascriptReference\":\"CCR.xdmod.ui.metricExplorer\",\"tooltip\":\"\",\"userManualSectionName\":\"Metric Explorer\"},{\"tab\":\"report_generator\",\"isDefault\":false,\"title\":\"Report Generator\",\"pos\":1000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.ReportGenerator\",\"javascriptReference\":\"CCR.xdmod.ui.reportGenerator\",\"tooltip\":\"\",\"userManualSectionName\":\"Report Generator\"},{\"tab\":\"job_viewer\",\"isDefault\":false,\"title\":\"Job Viewer\",\"pos\":5000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.JobViewer\",\"javascriptReference\":\"CCR.xdmod.ui.jobViewer\",\"tooltip\":\"View detailed job-level metrics\",\"userManualSectionName\":\"Job Viewer\"},{\"tab\":\"about_xdmod\",\"isDefault\":false,\"title\":\"About\",\"pos\":10000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.About\",\"javascriptReference\":\"CCR.xdmod.ui.aboutXD\",\"tooltip\":\"\",\"userManualSectionName\":\"About\"}]" + "tab": "tg_summary", + "isDefault": true, + "title": "Summary", + "pos": 100, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Summary", + "javascriptReference": "CCR.xdmod.ui.tgSummaryViewer", + "tooltip": "Displays summary information", + "userManualSectionName": "Summary Tab" + }, + { + "tab": "tg_usage", + "isDefault": false, + "title": "Usage", + "pos": 200, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Usage", + "javascriptReference": "CCR.xdmod.ui.chartViewerTGUsage", + "tooltip": "Displays usage", + "userManualSectionName": "Usage Tab" + }, + { + "tab": "metric_explorer", + "isDefault": false, + "title": "Metric Explorer", + "pos": 300, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.MetricExplorer", + "javascriptReference": "CCR.xdmod.ui.metricExplorer", + "tooltip": "", + "userManualSectionName": "Metric Explorer" + }, + { + "tab": "report_generator", + "isDefault": false, + "title": "Report Generator", + "pos": 1000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.ReportGenerator", + "javascriptReference": "CCR.xdmod.ui.reportGenerator", + "tooltip": "", + "userManualSectionName": "Report Generator" + }, + { + "tab": "job_viewer", + "isDefault": false, + "title": "Job Viewer", + "pos": 5000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.JobViewer", + "javascriptReference": "CCR.xdmod.ui.jobViewer", + "tooltip": "View detailed job-level metrics", + "userManualSectionName": "Job Viewer" + }, + { + "tab": "about_xdmod", + "isDefault": false, + "title": "About", + "pos": 10000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.About", + "javascriptReference": "CCR.xdmod.ui.aboutXD", + "tooltip": "", + "userManualSectionName": "About" } - ] -} +] diff --git a/tests/artifacts/xdmod/user_admin/output/get_tabs-principal.json b/tests/artifacts/xdmod/user_admin/output/get_tabs-principal.json index f01ad9bca9..ddc6d36311 100644 --- a/tests/artifacts/xdmod/user_admin/output/get_tabs-principal.json +++ b/tests/artifacts/xdmod/user_admin/output/get_tabs-principal.json @@ -1,10 +1,68 @@ -{ - "success": true, - "totalCount": 1, - "message": "", - "data": [ +[ { - "tabs": "[{\"tab\":\"tg_summary\",\"isDefault\":true,\"title\":\"Summary\",\"pos\":100,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Summary\",\"javascriptReference\":\"CCR.xdmod.ui.tgSummaryViewer\",\"tooltip\":\"Displays summary information\",\"userManualSectionName\":\"Summary Tab\"},{\"tab\":\"tg_usage\",\"isDefault\":false,\"title\":\"Usage\",\"pos\":200,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Usage\",\"javascriptReference\":\"CCR.xdmod.ui.chartViewerTGUsage\",\"tooltip\":\"Displays usage\",\"userManualSectionName\":\"Usage Tab\"},{\"tab\":\"metric_explorer\",\"isDefault\":false,\"title\":\"Metric Explorer\",\"pos\":300,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.MetricExplorer\",\"javascriptReference\":\"CCR.xdmod.ui.metricExplorer\",\"tooltip\":\"\",\"userManualSectionName\":\"Metric Explorer\"},{\"tab\":\"report_generator\",\"isDefault\":false,\"title\":\"Report Generator\",\"pos\":1000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.ReportGenerator\",\"javascriptReference\":\"CCR.xdmod.ui.reportGenerator\",\"tooltip\":\"\",\"userManualSectionName\":\"Report Generator\"},{\"tab\":\"job_viewer\",\"isDefault\":false,\"title\":\"Job Viewer\",\"pos\":5000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.JobViewer\",\"javascriptReference\":\"CCR.xdmod.ui.jobViewer\",\"tooltip\":\"View detailed job-level metrics\",\"userManualSectionName\":\"Job Viewer\"},{\"tab\":\"about_xdmod\",\"isDefault\":false,\"title\":\"About\",\"pos\":10000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.About\",\"javascriptReference\":\"CCR.xdmod.ui.aboutXD\",\"tooltip\":\"\",\"userManualSectionName\":\"About\"}]" + "tab": "tg_summary", + "isDefault": true, + "title": "Summary", + "pos": 100, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Summary", + "javascriptReference": "CCR.xdmod.ui.tgSummaryViewer", + "tooltip": "Displays summary information", + "userManualSectionName": "Summary Tab" + }, + { + "tab": "tg_usage", + "isDefault": false, + "title": "Usage", + "pos": 200, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Usage", + "javascriptReference": "CCR.xdmod.ui.chartViewerTGUsage", + "tooltip": "Displays usage", + "userManualSectionName": "Usage Tab" + }, + { + "tab": "metric_explorer", + "isDefault": false, + "title": "Metric Explorer", + "pos": 300, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.MetricExplorer", + "javascriptReference": "CCR.xdmod.ui.metricExplorer", + "tooltip": "", + "userManualSectionName": "Metric Explorer" + }, + { + "tab": "report_generator", + "isDefault": false, + "title": "Report Generator", + "pos": 1000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.ReportGenerator", + "javascriptReference": "CCR.xdmod.ui.reportGenerator", + "tooltip": "", + "userManualSectionName": "Report Generator" + }, + { + "tab": "job_viewer", + "isDefault": false, + "title": "Job Viewer", + "pos": 5000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.JobViewer", + "javascriptReference": "CCR.xdmod.ui.jobViewer", + "tooltip": "View detailed job-level metrics", + "userManualSectionName": "Job Viewer" + }, + { + "tab": "about_xdmod", + "isDefault": false, + "title": "About", + "pos": 10000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.About", + "javascriptReference": "CCR.xdmod.ui.aboutXD", + "tooltip": "", + "userManualSectionName": "About" } - ] -} +] diff --git a/tests/artifacts/xdmod/user_admin/output/get_tabs-public_user.json b/tests/artifacts/xdmod/user_admin/output/get_tabs-public_user.json index fe67c514d6..ff7b3dc38f 100644 --- a/tests/artifacts/xdmod/user_admin/output/get_tabs-public_user.json +++ b/tests/artifacts/xdmod/user_admin/output/get_tabs-public_user.json @@ -1,10 +1,35 @@ -{ - "success": true, - "totalCount": 1, - "message": "", - "data": [ +[ { - "tabs": "[{\"tab\":\"tg_summary\",\"isDefault\":true,\"title\":\"Summary\",\"pos\":100,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Summary\",\"javascriptReference\":\"CCR.xdmod.ui.tgSummaryViewer\",\"tooltip\":\"Displays summary information\",\"userManualSectionName\":\"Summary Tab\"},{\"tab\":\"tg_usage\",\"isDefault\":false,\"title\":\"Usage\",\"pos\":200,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Usage\",\"javascriptReference\":\"CCR.xdmod.ui.chartViewerTGUsage\",\"tooltip\":\"Displays usage\",\"userManualSectionName\":\"Usage Tab\"},{\"tab\":\"about_xdmod\",\"isDefault\":false,\"title\":\"About\",\"pos\":10000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.About\",\"javascriptReference\":\"CCR.xdmod.ui.aboutXD\",\"tooltip\":\"\",\"userManualSectionName\":\"About\"}]" + "tab": "tg_summary", + "isDefault": true, + "title": "Summary", + "pos": 100, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Summary", + "javascriptReference": "CCR.xdmod.ui.tgSummaryViewer", + "tooltip": "Displays summary information", + "userManualSectionName": "Summary Tab" + }, + { + "tab": "tg_usage", + "isDefault": false, + "title": "Usage", + "pos": 200, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Usage", + "javascriptReference": "CCR.xdmod.ui.chartViewerTGUsage", + "tooltip": "Displays usage", + "userManualSectionName": "Usage Tab" + }, + { + "tab": "about_xdmod", + "isDefault": false, + "title": "About", + "pos": 10000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.About", + "javascriptReference": "CCR.xdmod.ui.aboutXD", + "tooltip": "", + "userManualSectionName": "About" } - ] -} +] diff --git a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.cd.one-center.json b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.cd.one-center.json index f01ad9bca9..ddc6d36311 100644 --- a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.cd.one-center.json +++ b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.cd.one-center.json @@ -1,10 +1,68 @@ -{ - "success": true, - "totalCount": 1, - "message": "", - "data": [ +[ { - "tabs": "[{\"tab\":\"tg_summary\",\"isDefault\":true,\"title\":\"Summary\",\"pos\":100,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Summary\",\"javascriptReference\":\"CCR.xdmod.ui.tgSummaryViewer\",\"tooltip\":\"Displays summary information\",\"userManualSectionName\":\"Summary Tab\"},{\"tab\":\"tg_usage\",\"isDefault\":false,\"title\":\"Usage\",\"pos\":200,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Usage\",\"javascriptReference\":\"CCR.xdmod.ui.chartViewerTGUsage\",\"tooltip\":\"Displays usage\",\"userManualSectionName\":\"Usage Tab\"},{\"tab\":\"metric_explorer\",\"isDefault\":false,\"title\":\"Metric Explorer\",\"pos\":300,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.MetricExplorer\",\"javascriptReference\":\"CCR.xdmod.ui.metricExplorer\",\"tooltip\":\"\",\"userManualSectionName\":\"Metric Explorer\"},{\"tab\":\"report_generator\",\"isDefault\":false,\"title\":\"Report Generator\",\"pos\":1000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.ReportGenerator\",\"javascriptReference\":\"CCR.xdmod.ui.reportGenerator\",\"tooltip\":\"\",\"userManualSectionName\":\"Report Generator\"},{\"tab\":\"job_viewer\",\"isDefault\":false,\"title\":\"Job Viewer\",\"pos\":5000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.JobViewer\",\"javascriptReference\":\"CCR.xdmod.ui.jobViewer\",\"tooltip\":\"View detailed job-level metrics\",\"userManualSectionName\":\"Job Viewer\"},{\"tab\":\"about_xdmod\",\"isDefault\":false,\"title\":\"About\",\"pos\":10000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.About\",\"javascriptReference\":\"CCR.xdmod.ui.aboutXD\",\"tooltip\":\"\",\"userManualSectionName\":\"About\"}]" + "tab": "tg_summary", + "isDefault": true, + "title": "Summary", + "pos": 100, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Summary", + "javascriptReference": "CCR.xdmod.ui.tgSummaryViewer", + "tooltip": "Displays summary information", + "userManualSectionName": "Summary Tab" + }, + { + "tab": "tg_usage", + "isDefault": false, + "title": "Usage", + "pos": 200, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Usage", + "javascriptReference": "CCR.xdmod.ui.chartViewerTGUsage", + "tooltip": "Displays usage", + "userManualSectionName": "Usage Tab" + }, + { + "tab": "metric_explorer", + "isDefault": false, + "title": "Metric Explorer", + "pos": 300, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.MetricExplorer", + "javascriptReference": "CCR.xdmod.ui.metricExplorer", + "tooltip": "", + "userManualSectionName": "Metric Explorer" + }, + { + "tab": "report_generator", + "isDefault": false, + "title": "Report Generator", + "pos": 1000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.ReportGenerator", + "javascriptReference": "CCR.xdmod.ui.reportGenerator", + "tooltip": "", + "userManualSectionName": "Report Generator" + }, + { + "tab": "job_viewer", + "isDefault": false, + "title": "Job Viewer", + "pos": 5000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.JobViewer", + "javascriptReference": "CCR.xdmod.ui.jobViewer", + "tooltip": "View detailed job-level metrics", + "userManualSectionName": "Job Viewer" + }, + { + "tab": "about_xdmod", + "isDefault": false, + "title": "About", + "pos": 10000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.About", + "javascriptReference": "CCR.xdmod.ui.aboutXD", + "tooltip": "", + "userManualSectionName": "About" } - ] -} +] diff --git a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.cs.one-center.json b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.cs.one-center.json index f01ad9bca9..ddc6d36311 100644 --- a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.cs.one-center.json +++ b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.cs.one-center.json @@ -1,10 +1,68 @@ -{ - "success": true, - "totalCount": 1, - "message": "", - "data": [ +[ { - "tabs": "[{\"tab\":\"tg_summary\",\"isDefault\":true,\"title\":\"Summary\",\"pos\":100,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Summary\",\"javascriptReference\":\"CCR.xdmod.ui.tgSummaryViewer\",\"tooltip\":\"Displays summary information\",\"userManualSectionName\":\"Summary Tab\"},{\"tab\":\"tg_usage\",\"isDefault\":false,\"title\":\"Usage\",\"pos\":200,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Usage\",\"javascriptReference\":\"CCR.xdmod.ui.chartViewerTGUsage\",\"tooltip\":\"Displays usage\",\"userManualSectionName\":\"Usage Tab\"},{\"tab\":\"metric_explorer\",\"isDefault\":false,\"title\":\"Metric Explorer\",\"pos\":300,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.MetricExplorer\",\"javascriptReference\":\"CCR.xdmod.ui.metricExplorer\",\"tooltip\":\"\",\"userManualSectionName\":\"Metric Explorer\"},{\"tab\":\"report_generator\",\"isDefault\":false,\"title\":\"Report Generator\",\"pos\":1000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.ReportGenerator\",\"javascriptReference\":\"CCR.xdmod.ui.reportGenerator\",\"tooltip\":\"\",\"userManualSectionName\":\"Report Generator\"},{\"tab\":\"job_viewer\",\"isDefault\":false,\"title\":\"Job Viewer\",\"pos\":5000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.JobViewer\",\"javascriptReference\":\"CCR.xdmod.ui.jobViewer\",\"tooltip\":\"View detailed job-level metrics\",\"userManualSectionName\":\"Job Viewer\"},{\"tab\":\"about_xdmod\",\"isDefault\":false,\"title\":\"About\",\"pos\":10000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.About\",\"javascriptReference\":\"CCR.xdmod.ui.aboutXD\",\"tooltip\":\"\",\"userManualSectionName\":\"About\"}]" + "tab": "tg_summary", + "isDefault": true, + "title": "Summary", + "pos": 100, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Summary", + "javascriptReference": "CCR.xdmod.ui.tgSummaryViewer", + "tooltip": "Displays summary information", + "userManualSectionName": "Summary Tab" + }, + { + "tab": "tg_usage", + "isDefault": false, + "title": "Usage", + "pos": 200, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Usage", + "javascriptReference": "CCR.xdmod.ui.chartViewerTGUsage", + "tooltip": "Displays usage", + "userManualSectionName": "Usage Tab" + }, + { + "tab": "metric_explorer", + "isDefault": false, + "title": "Metric Explorer", + "pos": 300, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.MetricExplorer", + "javascriptReference": "CCR.xdmod.ui.metricExplorer", + "tooltip": "", + "userManualSectionName": "Metric Explorer" + }, + { + "tab": "report_generator", + "isDefault": false, + "title": "Report Generator", + "pos": 1000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.ReportGenerator", + "javascriptReference": "CCR.xdmod.ui.reportGenerator", + "tooltip": "", + "userManualSectionName": "Report Generator" + }, + { + "tab": "job_viewer", + "isDefault": false, + "title": "Job Viewer", + "pos": 5000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.JobViewer", + "javascriptReference": "CCR.xdmod.ui.jobViewer", + "tooltip": "View detailed job-level metrics", + "userManualSectionName": "Job Viewer" + }, + { + "tab": "about_xdmod", + "isDefault": false, + "title": "About", + "pos": 10000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.About", + "javascriptReference": "CCR.xdmod.ui.aboutXD", + "tooltip": "", + "userManualSectionName": "About" } - ] -} +] diff --git a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.normal-user.json b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.normal-user.json index f01ad9bca9..ddc6d36311 100644 --- a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.normal-user.json +++ b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.normal-user.json @@ -1,10 +1,68 @@ -{ - "success": true, - "totalCount": 1, - "message": "", - "data": [ +[ { - "tabs": "[{\"tab\":\"tg_summary\",\"isDefault\":true,\"title\":\"Summary\",\"pos\":100,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Summary\",\"javascriptReference\":\"CCR.xdmod.ui.tgSummaryViewer\",\"tooltip\":\"Displays summary information\",\"userManualSectionName\":\"Summary Tab\"},{\"tab\":\"tg_usage\",\"isDefault\":false,\"title\":\"Usage\",\"pos\":200,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Usage\",\"javascriptReference\":\"CCR.xdmod.ui.chartViewerTGUsage\",\"tooltip\":\"Displays usage\",\"userManualSectionName\":\"Usage Tab\"},{\"tab\":\"metric_explorer\",\"isDefault\":false,\"title\":\"Metric Explorer\",\"pos\":300,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.MetricExplorer\",\"javascriptReference\":\"CCR.xdmod.ui.metricExplorer\",\"tooltip\":\"\",\"userManualSectionName\":\"Metric Explorer\"},{\"tab\":\"report_generator\",\"isDefault\":false,\"title\":\"Report Generator\",\"pos\":1000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.ReportGenerator\",\"javascriptReference\":\"CCR.xdmod.ui.reportGenerator\",\"tooltip\":\"\",\"userManualSectionName\":\"Report Generator\"},{\"tab\":\"job_viewer\",\"isDefault\":false,\"title\":\"Job Viewer\",\"pos\":5000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.JobViewer\",\"javascriptReference\":\"CCR.xdmod.ui.jobViewer\",\"tooltip\":\"View detailed job-level metrics\",\"userManualSectionName\":\"Job Viewer\"},{\"tab\":\"about_xdmod\",\"isDefault\":false,\"title\":\"About\",\"pos\":10000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.About\",\"javascriptReference\":\"CCR.xdmod.ui.aboutXD\",\"tooltip\":\"\",\"userManualSectionName\":\"About\"}]" + "tab": "tg_summary", + "isDefault": true, + "title": "Summary", + "pos": 100, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Summary", + "javascriptReference": "CCR.xdmod.ui.tgSummaryViewer", + "tooltip": "Displays summary information", + "userManualSectionName": "Summary Tab" + }, + { + "tab": "tg_usage", + "isDefault": false, + "title": "Usage", + "pos": 200, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Usage", + "javascriptReference": "CCR.xdmod.ui.chartViewerTGUsage", + "tooltip": "Displays usage", + "userManualSectionName": "Usage Tab" + }, + { + "tab": "metric_explorer", + "isDefault": false, + "title": "Metric Explorer", + "pos": 300, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.MetricExplorer", + "javascriptReference": "CCR.xdmod.ui.metricExplorer", + "tooltip": "", + "userManualSectionName": "Metric Explorer" + }, + { + "tab": "report_generator", + "isDefault": false, + "title": "Report Generator", + "pos": 1000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.ReportGenerator", + "javascriptReference": "CCR.xdmod.ui.reportGenerator", + "tooltip": "", + "userManualSectionName": "Report Generator" + }, + { + "tab": "job_viewer", + "isDefault": false, + "title": "Job Viewer", + "pos": 5000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.JobViewer", + "javascriptReference": "CCR.xdmod.ui.jobViewer", + "tooltip": "View detailed job-level metrics", + "userManualSectionName": "Job Viewer" + }, + { + "tab": "about_xdmod", + "isDefault": false, + "title": "About", + "pos": 10000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.About", + "javascriptReference": "CCR.xdmod.ui.aboutXD", + "tooltip": "", + "userManualSectionName": "About" } - ] -} +] diff --git a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.pi.json b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.pi.json index f01ad9bca9..ddc6d36311 100644 --- a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.pi.json +++ b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.pi.json @@ -1,10 +1,68 @@ -{ - "success": true, - "totalCount": 1, - "message": "", - "data": [ +[ { - "tabs": "[{\"tab\":\"tg_summary\",\"isDefault\":true,\"title\":\"Summary\",\"pos\":100,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Summary\",\"javascriptReference\":\"CCR.xdmod.ui.tgSummaryViewer\",\"tooltip\":\"Displays summary information\",\"userManualSectionName\":\"Summary Tab\"},{\"tab\":\"tg_usage\",\"isDefault\":false,\"title\":\"Usage\",\"pos\":200,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Usage\",\"javascriptReference\":\"CCR.xdmod.ui.chartViewerTGUsage\",\"tooltip\":\"Displays usage\",\"userManualSectionName\":\"Usage Tab\"},{\"tab\":\"metric_explorer\",\"isDefault\":false,\"title\":\"Metric Explorer\",\"pos\":300,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.MetricExplorer\",\"javascriptReference\":\"CCR.xdmod.ui.metricExplorer\",\"tooltip\":\"\",\"userManualSectionName\":\"Metric Explorer\"},{\"tab\":\"report_generator\",\"isDefault\":false,\"title\":\"Report Generator\",\"pos\":1000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.ReportGenerator\",\"javascriptReference\":\"CCR.xdmod.ui.reportGenerator\",\"tooltip\":\"\",\"userManualSectionName\":\"Report Generator\"},{\"tab\":\"job_viewer\",\"isDefault\":false,\"title\":\"Job Viewer\",\"pos\":5000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.JobViewer\",\"javascriptReference\":\"CCR.xdmod.ui.jobViewer\",\"tooltip\":\"View detailed job-level metrics\",\"userManualSectionName\":\"Job Viewer\"},{\"tab\":\"about_xdmod\",\"isDefault\":false,\"title\":\"About\",\"pos\":10000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.About\",\"javascriptReference\":\"CCR.xdmod.ui.aboutXD\",\"tooltip\":\"\",\"userManualSectionName\":\"About\"}]" + "tab": "tg_summary", + "isDefault": true, + "title": "Summary", + "pos": 100, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Summary", + "javascriptReference": "CCR.xdmod.ui.tgSummaryViewer", + "tooltip": "Displays summary information", + "userManualSectionName": "Summary Tab" + }, + { + "tab": "tg_usage", + "isDefault": false, + "title": "Usage", + "pos": 200, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Usage", + "javascriptReference": "CCR.xdmod.ui.chartViewerTGUsage", + "tooltip": "Displays usage", + "userManualSectionName": "Usage Tab" + }, + { + "tab": "metric_explorer", + "isDefault": false, + "title": "Metric Explorer", + "pos": 300, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.MetricExplorer", + "javascriptReference": "CCR.xdmod.ui.metricExplorer", + "tooltip": "", + "userManualSectionName": "Metric Explorer" + }, + { + "tab": "report_generator", + "isDefault": false, + "title": "Report Generator", + "pos": 1000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.ReportGenerator", + "javascriptReference": "CCR.xdmod.ui.reportGenerator", + "tooltip": "", + "userManualSectionName": "Report Generator" + }, + { + "tab": "job_viewer", + "isDefault": false, + "title": "Job Viewer", + "pos": 5000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.JobViewer", + "javascriptReference": "CCR.xdmod.ui.jobViewer", + "tooltip": "View detailed job-level metrics", + "userManualSectionName": "Job Viewer" + }, + { + "tab": "about_xdmod", + "isDefault": false, + "title": "About", + "pos": 10000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.About", + "javascriptReference": "CCR.xdmod.ui.aboutXD", + "tooltip": "", + "userManualSectionName": "About" } - ] -} +] diff --git a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.usr_dev.json b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.usr_dev.json index f01ad9bca9..ddc6d36311 100644 --- a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.usr_dev.json +++ b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.usr_dev.json @@ -1,10 +1,68 @@ -{ - "success": true, - "totalCount": 1, - "message": "", - "data": [ +[ { - "tabs": "[{\"tab\":\"tg_summary\",\"isDefault\":true,\"title\":\"Summary\",\"pos\":100,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Summary\",\"javascriptReference\":\"CCR.xdmod.ui.tgSummaryViewer\",\"tooltip\":\"Displays summary information\",\"userManualSectionName\":\"Summary Tab\"},{\"tab\":\"tg_usage\",\"isDefault\":false,\"title\":\"Usage\",\"pos\":200,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Usage\",\"javascriptReference\":\"CCR.xdmod.ui.chartViewerTGUsage\",\"tooltip\":\"Displays usage\",\"userManualSectionName\":\"Usage Tab\"},{\"tab\":\"metric_explorer\",\"isDefault\":false,\"title\":\"Metric Explorer\",\"pos\":300,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.MetricExplorer\",\"javascriptReference\":\"CCR.xdmod.ui.metricExplorer\",\"tooltip\":\"\",\"userManualSectionName\":\"Metric Explorer\"},{\"tab\":\"report_generator\",\"isDefault\":false,\"title\":\"Report Generator\",\"pos\":1000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.ReportGenerator\",\"javascriptReference\":\"CCR.xdmod.ui.reportGenerator\",\"tooltip\":\"\",\"userManualSectionName\":\"Report Generator\"},{\"tab\":\"job_viewer\",\"isDefault\":false,\"title\":\"Job Viewer\",\"pos\":5000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.JobViewer\",\"javascriptReference\":\"CCR.xdmod.ui.jobViewer\",\"tooltip\":\"View detailed job-level metrics\",\"userManualSectionName\":\"Job Viewer\"},{\"tab\":\"about_xdmod\",\"isDefault\":false,\"title\":\"About\",\"pos\":10000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.About\",\"javascriptReference\":\"CCR.xdmod.ui.aboutXD\",\"tooltip\":\"\",\"userManualSectionName\":\"About\"}]" + "tab": "tg_summary", + "isDefault": true, + "title": "Summary", + "pos": 100, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Summary", + "javascriptReference": "CCR.xdmod.ui.tgSummaryViewer", + "tooltip": "Displays summary information", + "userManualSectionName": "Summary Tab" + }, + { + "tab": "tg_usage", + "isDefault": false, + "title": "Usage", + "pos": 200, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Usage", + "javascriptReference": "CCR.xdmod.ui.chartViewerTGUsage", + "tooltip": "Displays usage", + "userManualSectionName": "Usage Tab" + }, + { + "tab": "metric_explorer", + "isDefault": false, + "title": "Metric Explorer", + "pos": 300, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.MetricExplorer", + "javascriptReference": "CCR.xdmod.ui.metricExplorer", + "tooltip": "", + "userManualSectionName": "Metric Explorer" + }, + { + "tab": "report_generator", + "isDefault": false, + "title": "Report Generator", + "pos": 1000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.ReportGenerator", + "javascriptReference": "CCR.xdmod.ui.reportGenerator", + "tooltip": "", + "userManualSectionName": "Report Generator" + }, + { + "tab": "job_viewer", + "isDefault": false, + "title": "Job Viewer", + "pos": 5000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.JobViewer", + "javascriptReference": "CCR.xdmod.ui.jobViewer", + "tooltip": "View detailed job-level metrics", + "userManualSectionName": "Job Viewer" + }, + { + "tab": "about_xdmod", + "isDefault": false, + "title": "About", + "pos": 10000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.About", + "javascriptReference": "CCR.xdmod.ui.aboutXD", + "tooltip": "", + "userManualSectionName": "About" } - ] -} +] diff --git a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.usr_mgr.json b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.usr_mgr.json index f01ad9bca9..ddc6d36311 100644 --- a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.usr_mgr.json +++ b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.usr_mgr.json @@ -1,10 +1,68 @@ -{ - "success": true, - "totalCount": 1, - "message": "", - "data": [ +[ { - "tabs": "[{\"tab\":\"tg_summary\",\"isDefault\":true,\"title\":\"Summary\",\"pos\":100,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Summary\",\"javascriptReference\":\"CCR.xdmod.ui.tgSummaryViewer\",\"tooltip\":\"Displays summary information\",\"userManualSectionName\":\"Summary Tab\"},{\"tab\":\"tg_usage\",\"isDefault\":false,\"title\":\"Usage\",\"pos\":200,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Usage\",\"javascriptReference\":\"CCR.xdmod.ui.chartViewerTGUsage\",\"tooltip\":\"Displays usage\",\"userManualSectionName\":\"Usage Tab\"},{\"tab\":\"metric_explorer\",\"isDefault\":false,\"title\":\"Metric Explorer\",\"pos\":300,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.MetricExplorer\",\"javascriptReference\":\"CCR.xdmod.ui.metricExplorer\",\"tooltip\":\"\",\"userManualSectionName\":\"Metric Explorer\"},{\"tab\":\"report_generator\",\"isDefault\":false,\"title\":\"Report Generator\",\"pos\":1000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.ReportGenerator\",\"javascriptReference\":\"CCR.xdmod.ui.reportGenerator\",\"tooltip\":\"\",\"userManualSectionName\":\"Report Generator\"},{\"tab\":\"job_viewer\",\"isDefault\":false,\"title\":\"Job Viewer\",\"pos\":5000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.JobViewer\",\"javascriptReference\":\"CCR.xdmod.ui.jobViewer\",\"tooltip\":\"View detailed job-level metrics\",\"userManualSectionName\":\"Job Viewer\"},{\"tab\":\"about_xdmod\",\"isDefault\":false,\"title\":\"About\",\"pos\":10000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.About\",\"javascriptReference\":\"CCR.xdmod.ui.aboutXD\",\"tooltip\":\"\",\"userManualSectionName\":\"About\"}]" + "tab": "tg_summary", + "isDefault": true, + "title": "Summary", + "pos": 100, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Summary", + "javascriptReference": "CCR.xdmod.ui.tgSummaryViewer", + "tooltip": "Displays summary information", + "userManualSectionName": "Summary Tab" + }, + { + "tab": "tg_usage", + "isDefault": false, + "title": "Usage", + "pos": 200, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Usage", + "javascriptReference": "CCR.xdmod.ui.chartViewerTGUsage", + "tooltip": "Displays usage", + "userManualSectionName": "Usage Tab" + }, + { + "tab": "metric_explorer", + "isDefault": false, + "title": "Metric Explorer", + "pos": 300, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.MetricExplorer", + "javascriptReference": "CCR.xdmod.ui.metricExplorer", + "tooltip": "", + "userManualSectionName": "Metric Explorer" + }, + { + "tab": "report_generator", + "isDefault": false, + "title": "Report Generator", + "pos": 1000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.ReportGenerator", + "javascriptReference": "CCR.xdmod.ui.reportGenerator", + "tooltip": "", + "userManualSectionName": "Report Generator" + }, + { + "tab": "job_viewer", + "isDefault": false, + "title": "Job Viewer", + "pos": 5000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.JobViewer", + "javascriptReference": "CCR.xdmod.ui.jobViewer", + "tooltip": "View detailed job-level metrics", + "userManualSectionName": "Job Viewer" + }, + { + "tab": "about_xdmod", + "isDefault": false, + "title": "About", + "pos": 10000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.About", + "javascriptReference": "CCR.xdmod.ui.aboutXD", + "tooltip": "", + "userManualSectionName": "About" } - ] -} +] diff --git a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.usr_mgr_dev.json b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.usr_mgr_dev.json index f01ad9bca9..ddc6d36311 100644 --- a/tests/artifacts/xdmod/user_admin/output/get_tabs-test.usr_mgr_dev.json +++ b/tests/artifacts/xdmod/user_admin/output/get_tabs-test.usr_mgr_dev.json @@ -1,10 +1,68 @@ -{ - "success": true, - "totalCount": 1, - "message": "", - "data": [ +[ { - "tabs": "[{\"tab\":\"tg_summary\",\"isDefault\":true,\"title\":\"Summary\",\"pos\":100,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Summary\",\"javascriptReference\":\"CCR.xdmod.ui.tgSummaryViewer\",\"tooltip\":\"Displays summary information\",\"userManualSectionName\":\"Summary Tab\"},{\"tab\":\"tg_usage\",\"isDefault\":false,\"title\":\"Usage\",\"pos\":200,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.Usage\",\"javascriptReference\":\"CCR.xdmod.ui.chartViewerTGUsage\",\"tooltip\":\"Displays usage\",\"userManualSectionName\":\"Usage Tab\"},{\"tab\":\"metric_explorer\",\"isDefault\":false,\"title\":\"Metric Explorer\",\"pos\":300,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.MetricExplorer\",\"javascriptReference\":\"CCR.xdmod.ui.metricExplorer\",\"tooltip\":\"\",\"userManualSectionName\":\"Metric Explorer\"},{\"tab\":\"report_generator\",\"isDefault\":false,\"title\":\"Report Generator\",\"pos\":1000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.ReportGenerator\",\"javascriptReference\":\"CCR.xdmod.ui.reportGenerator\",\"tooltip\":\"\",\"userManualSectionName\":\"Report Generator\"},{\"tab\":\"job_viewer\",\"isDefault\":false,\"title\":\"Job Viewer\",\"pos\":5000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.JobViewer\",\"javascriptReference\":\"CCR.xdmod.ui.jobViewer\",\"tooltip\":\"View detailed job-level metrics\",\"userManualSectionName\":\"Job Viewer\"},{\"tab\":\"about_xdmod\",\"isDefault\":false,\"title\":\"About\",\"pos\":10000,\"permitted_modules\":null,\"javascriptClass\":\"XDMoD.Module.About\",\"javascriptReference\":\"CCR.xdmod.ui.aboutXD\",\"tooltip\":\"\",\"userManualSectionName\":\"About\"}]" + "tab": "tg_summary", + "isDefault": true, + "title": "Summary", + "pos": 100, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Summary", + "javascriptReference": "CCR.xdmod.ui.tgSummaryViewer", + "tooltip": "Displays summary information", + "userManualSectionName": "Summary Tab" + }, + { + "tab": "tg_usage", + "isDefault": false, + "title": "Usage", + "pos": 200, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.Usage", + "javascriptReference": "CCR.xdmod.ui.chartViewerTGUsage", + "tooltip": "Displays usage", + "userManualSectionName": "Usage Tab" + }, + { + "tab": "metric_explorer", + "isDefault": false, + "title": "Metric Explorer", + "pos": 300, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.MetricExplorer", + "javascriptReference": "CCR.xdmod.ui.metricExplorer", + "tooltip": "", + "userManualSectionName": "Metric Explorer" + }, + { + "tab": "report_generator", + "isDefault": false, + "title": "Report Generator", + "pos": 1000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.ReportGenerator", + "javascriptReference": "CCR.xdmod.ui.reportGenerator", + "tooltip": "", + "userManualSectionName": "Report Generator" + }, + { + "tab": "job_viewer", + "isDefault": false, + "title": "Job Viewer", + "pos": 5000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.JobViewer", + "javascriptReference": "CCR.xdmod.ui.jobViewer", + "tooltip": "View detailed job-level metrics", + "userManualSectionName": "Job Viewer" + }, + { + "tab": "about_xdmod", + "isDefault": false, + "title": "About", + "pos": 10000, + "permitted_modules": null, + "javascriptClass": "XDMoD.Module.About", + "javascriptReference": "CCR.xdmod.ui.aboutXD", + "tooltip": "", + "userManualSectionName": "About" } - ] -} +] diff --git a/tests/integration/lib/Controllers/UserAdminTest.php b/tests/integration/lib/Controllers/UserAdminTest.php index 06aa18f3e1..287726a040 100644 --- a/tests/integration/lib/Controllers/UserAdminTest.php +++ b/tests/integration/lib/Controllers/UserAdminTest.php @@ -372,13 +372,16 @@ public function testGetTabs(array $user) $this->assertArrayHasKey('success', $actual); $this->assertArrayHasKey('totalCount', $actual); $this->assertArrayHasKey('message', $actual); + $this->assertTrue($actual['success'], '"success" is true'); + $this->assertEquals(1, $actual['totalCount'], '"totalCount" is 1'); + $this->assertEquals('', $actual['message'], '"message" is ""'); + $this->assertCount(1, $actual['data'], '"data" has one element'); + $this->assertArrayHasKey('tabs', $actual['data'][0], '"data" has one element with "tabs"'); - $expectedFileName = $user['output']; - $expected = JSON::loadFile( - $this->getTestFiles()->getFile('user_admin', $expectedFileName, 'output') - ); + $expectedFileName = $this->getTestFiles()->getFile('user_admin', $user['output'], 'output'); + $expected = file_get_contents($expectedFileName); - $this->assertEquals($expected, $actual); + $this->assertJsonStringEqualsJsonString($expected, $actual['data'][0]['tabs']); if (!$isPublicUser) { $this->helper->logout();