Lines Matching refs:ReportModelBase
35 from testmanager.core.report import ReportModelBase;
98 cSuccess = dStatuses[ReportModelBase.ksTestStatus_Success] + dStatuses[ReportModelBase.ksTestStatus_Skipped];
99 cTotal = cSuccess + dStatuses[ReportModelBase.ksTestStatus_Failure];
102 iPctSuccess = dStatuses[ReportModelBase.ksTestStatus_Success] * 100 / cTotal;
103 iPctSkipped = dStatuses[ReportModelBase.ksTestStatus_Skipped] * 100 / cTotal;
104 iPctFailure = dStatuses[ReportModelBase.ksTestStatus_Failure] * 100 / cTotal;
106 [ '%s%% (%d)' % (iPctSuccess, dStatuses[ReportModelBase.ksTestStatus_Success]),
107 '%s%% (%d)' % (iPctSkipped, dStatuses[ReportModelBase.ksTestStatus_Skipped]),
108 '%s%% (%d)' % (iPctFailure, dStatuses[ReportModelBase.ksTestStatus_Failure]), ]);
112 cTotalNow = adPeriods[0][ReportModelBase.ksTestStatus_Success];
113 cTotalNow += adPeriods[0][ReportModelBase.ksTestStatus_Skipped];
115 cTotalNow += adPeriods[0][ReportModelBase.ksTestStatus_Failure];
119 % ( cSuccessNow * 100 / cTotalNow, adPeriods[0][ReportModelBase.ksTestStatus_Skipped] * 100 / cTotalNow);