Changeset 61270 in vbox for trunk/src/VBox/ValidationKit/testmanager/webui/wuimain.py
- Timestamp:
- May 29, 2016 12:34:45 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/webui/wuimain.py
r61267 r61270 80 80 ksActionReportSummary = 'ReportSummary'; 81 81 ksActionReportRate = 'ReportRate'; 82 ksActionReportTestCaseFailures = 'ReportTestCaseFailures'; 82 83 ksActionReportFailureReasons = 'ReportFailureReasons'; 83 84 ksActionGraphWiz = 'GraphWiz'; … … 248 249 d[self.ksActionViewLog] = self.actionViewLog; 249 250 d[self.ksActionGetFile] = self.actionGetFile; 250 from testmanager.webui.wuireport import WuiReportSummary, WuiReportSuccessRate, WuiReportFailureReasons; 251 d[self.ksActionReportSummary] = lambda: self._actionGenericReport(ReportLazyModel, WuiReportSummary); 252 d[self.ksActionReportRate] = lambda: self._actionGenericReport(ReportLazyModel, WuiReportSuccessRate); 253 d[self.ksActionReportFailureReasons] = lambda: self._actionGenericReport(ReportLazyModel, WuiReportFailureReasons); 254 d[self.ksActionGraphWiz] = self._actionGraphWiz; 255 d[self.ksActionVcsHistoryTooltip] = self._actionVcsHistoryTooltip; 251 252 from testmanager.webui.wuireport import WuiReportSummary, WuiReportSuccessRate, WuiReportTestCaseFailures, \ 253 WuiReportFailureReasons; 254 d[self.ksActionReportSummary] = lambda: self._actionGenericReport(ReportLazyModel, WuiReportSummary); 255 d[self.ksActionReportRate] = lambda: self._actionGenericReport(ReportLazyModel, WuiReportSuccessRate); 256 d[self.ksActionReportTestCaseFailures] = lambda: self._actionGenericReport(ReportLazyModel, WuiReportTestCaseFailures); 257 d[self.ksActionReportFailureReasons] = lambda: self._actionGenericReport(ReportLazyModel, WuiReportFailureReasons); 258 d[self.ksActionGraphWiz] = self._actionGraphWiz; 259 260 d[self.ksActionVcsHistoryTooltip] = self._actionVcsHistoryTooltip; 256 261 257 262 # Legacy. 258 d['TestResultDetails'] 263 d['TestResultDetails'] = d[self.ksActionTestSetDetails]; 259 264 260 265 … … 295 300 [ 'Summary', sActUrlBase + self.ksActionReportSummary ], 296 301 [ 'Success Rate', sActUrlBase + self.ksActionReportRate ], 302 [ 'Test Case Failures', sActUrlBase + self.ksActionReportTestCaseFailures ], 297 303 [ 'Failure Reasons', sActUrlBase + self.ksActionReportFailureReasons ], 298 304 ]
Note:
See TracChangeset
for help on using the changeset viewer.