當前位置: 首頁>>代碼示例>>Python>>正文


Python wuicontentbase.WuiListContentBase類代碼示例

本文整理匯總了Python中testmanager.webui.wuicontentbase.WuiListContentBase的典型用法代碼示例。如果您正苦於以下問題:Python WuiListContentBase類的具體用法?Python WuiListContentBase怎麽用?Python WuiListContentBase使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了WuiListContentBase類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: __init__

 def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
     WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
                                 sTitle = 'Registered User Accounts', sId = 'users', fnDPrint = fnDPrint, oDisp = oDisp,
                                 aiSelectedSortColumns = aiSelectedSortColumns);
     self._asColumnHeaders = ['User ID', 'Name', 'E-mail', 'Full Name', 'Login Name', 'Access', 'Actions'];
     self._asColumnAttribs = ['align="center"', 'align="center"', 'align="center"', 'align="center"', 'align="center"',
                              'align="center"', 'align="center"', ];
開發者ID:mdaniel,項目名稱:virtualbox-org-svn-vbox-trunk,代碼行數:7,代碼來源:wuiadminuseraccount.py

示例2: __init__

    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
        assert len(aoEntries) == 0 or isinstance(aoEntries[0], TestGroupDataEx)

        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
                                    sTitle = 'Test Groups', fnDPrint = fnDPrint, oDisp = oDisp);
        self._asColumnHeaders = [ 'ID', 'Name', 'Description', 'Test Cases', 'Actions' ];
        self._asColumnAttribs = [ 'align="right"', '', '', '', 'align="center"' ];
開發者ID:mcenirm,項目名稱:vbox,代碼行數:7,代碼來源:wuiadmintestgroup.py

示例3: __init__

    def __init__(self, aoEntries, cEntriesCount, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
        """Override initialization"""
        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
                                    sTitle = 'Ungrouped (%d)' % cEntriesCount, sId = 'results',
                                    fnDPrint = fnDPrint, oDisp = oDisp);

        self._cEntriesCount   = cEntriesCount

        self._asColumnHeaders = [
            'Start',
            'Product Build',
            'Validation Kit',
            'TestBox OS',
            'TestBox Name',
            'Test Case',
            'Elapsed',
            'Result',
        ];
        self._asColumnAttribs = ['align="center"', 'align="center"', 'align="center"',
                                 'align="center"', 'align="center"', 'align="center"',
                                 'align="center"', 'align="center"', 'align="center"',
                                 'align="center"', 'align="center"', 'align="center"' ]


        # Prepare parameter lists.
        self._dTestBoxLinkParams = self._oDisp.getParameters();
        self._dTestBoxLinkParams[WuiMain.ksParamAction]  = WuiMain.ksActionResultsGroupedByTestBox;

        self._dTestCaseLinkParams = self._oDisp.getParameters();
        self._dTestCaseLinkParams[WuiMain.ksParamAction] = WuiMain.ksActionResultsGroupedByTestCase;

        self._dRevLinkParams = self._oDisp.getParameters();
        self._dRevLinkParams[WuiMain.ksParamAction]  = WuiMain.ksActionResultsGroupedByBuildRev;
開發者ID:swimming198243,項目名稱:virtualbox,代碼行數:33,代碼來源:wuitestresult.py

示例4: __init__

 def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     WuiListContentBase.__init__(
         self, aoEntries, iPage, cItemsPerPage, tsEffective, sTitle="Test Cases", fnDPrint=fnDPrint, oDisp=oDisp
     )
     self._asColumnHeaders = [
         "Name",
         "Active",
         "Timeout",
         "Base Command / Variations",
         "Validation Kit Files",
         "Test Case Prereqs",
         "Global Rsrces",
         "Note",
         "Actions",
     ]
     self._asColumnAttribs = [
         "",
         "",
         'align="center"',
         "",
         "",
         'valign="top"',
         'valign="top"',
         'align="center"',
         'align="center"',
     ]
開發者ID:miguelinux,項目名稱:vbox,代碼行數:26,代碼來源:wuiadmintestcase.py

示例5: __init__

    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
                                    sTitle = 'Failure Categories', sId = 'failureCategories',
                                    fnDPrint = fnDPrint, oDisp = oDisp);

        self._asColumnHeaders = ['ID', 'Short Description', 'Full Description', 'Actions' ]
        self._asColumnAttribs = ['align="right"', 'align="center"', 'align="center"', 'align="center"']
開發者ID:svn2github,項目名稱:virtualbox,代碼行數:7,代碼來源:wuiadminfailurecategory.py

示例6: __init__

    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
        assert len(aoEntries) == 0 or isinstance(aoEntries[0], TestGroupDataEx)

        WuiListContentBase.__init__(
            self, aoEntries, iPage, cItemsPerPage, tsEffective, sTitle="Test Groups", fnDPrint=fnDPrint, oDisp=oDisp
        )
        self._asColumnHeaders = ["ID", "Name", "Description", "Test Cases", "Actions"]
        self._asColumnAttribs = ['align="right"', "", "", "", 'align="center"']
開發者ID:sobomax,項目名稱:virtualbox_64bit_edd,代碼行數:8,代碼來源:wuiadmintestgroup.py

示例7: __init__

    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
                                    sTitle = 'Global Resources', sId = 'globalResources',
                                    fnDPrint = fnDPrint, oDisp = oDisp)

        self._asColumnHeaders = ['ID', 'Name', 'Description', 'Enabled', 'Actions' ]
        self._asColumnAttribs = ['align="right"', 'align="center"', 'align="center"',
                                 'align="center"', 'align="center"']
開發者ID:swimming198243,項目名稱:virtualbox,代碼行數:8,代碼來源:wuiadminglobalrsrc.py

示例8: __init__

 def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
                                 sTitle = 'Registered Build Sources', sId = 'build sources',
                                 fnDPrint = fnDPrint, oDisp = oDisp);
     self._asColumnHeaders = ['ID', 'Name', 'Description', 'Product',
                              'Branch', 'Build Types', 'OS/ARCH', 'First Revision', 'Last Revision', 'Max Age',
                              'Actions' ];
     self._asColumnAttribs = ['align="center"', 'align="center"', 'align="center"', 'align="center"', 'align="center"',
                              'align="left"', 'align="left"', 'align="center"', 'align="center"', 'align="center"',
                              'align="center"' ];
開發者ID:mcenirm,項目名稱:vbox,代碼行數:10,代碼來源:wuiadminbuildsource.py

示例9: __init__

    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
                                    sTitle = 'Builds', sId = 'builds', fnDPrint = fnDPrint, oDisp = oDisp);

        self._asColumnHeaders = ['ID', 'Product', 'Branch', 'Version',
                                 'Type', 'OS(es)', 'Author', 'Added',
                                 'Files', 'Action' ];
        self._asColumnAttribs = ['align="right"', 'align="center"', 'align="center"', 'align="center"',
                                 'align="center"', 'align="center"', 'align="center"', 'align="center"',
                                 '', 'align="center"'];
開發者ID:swimming198243,項目名稱:virtualbox,代碼行數:10,代碼來源:wuiadminbuild.py

示例10: __init__

    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
                                    sTitle = 'Failure Reasons', sId = 'failureReasons',
                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);

        self._asColumnHeaders = ['ID', 'Category', 'Short Description',
                                 'Full Description', 'Ticket', 'External References', 'Actions' ]

        self._asColumnAttribs = ['align="right"', 'align="center"', 'align="center"',
                                 'align="center"',' align="center"', 'align="center"', 'align="center"']
開發者ID:mdaniel,項目名稱:virtualbox-org-svn-vbox-trunk,代碼行數:10,代碼來源:wuiadminfailurereason.py

示例11: __init__

 def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
                                 sTitle = 'Test Cases', fnDPrint = fnDPrint, oDisp = oDisp);
     self._asColumnHeaders = \
     [
         'Name', 'Active', 'Default Timeout', 'Base Command / Variations', 'Validation Kit Files',
         'Test Case Prereqs', 'Global Resources', 'Actions'
     ];
     self._asColumnAttribs = \
     [
         '', '', '', '', '',
         'valign="top"', 'valign="top"', 'align="center"'
     ];
開發者ID:mcenirm,項目名稱:vbox,代碼行數:13,代碼來源:wuiadmintestcase.py

示例12: __init__

    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
                                    sTitle = 'Build Blacklist', sId = 'buildsBlacklist',
                                    fnDPrint = fnDPrint, oDisp = oDisp);

        self._asColumnHeaders = ['ID', 'Failure Reason',
                                 'Product', 'Branch', 'Type',
                                 'OS(es)', 'First Revision', 'Last Revision',
                                 'Actions' ]
        self._asColumnAttribs = ['align="right"', 'align="center"', 'align="center"', 'align="center"',
                                 'align="center"', 'align="center"', 'align="center"', 'align="center"',
                                 'align="center"', 'align="center"', 'align="center"', 'align="center"',
                                 'align="center"' ]
開發者ID:svn2github,項目名稱:virtualbox,代碼行數:13,代碼來源:wuiadminbuildblacklist.py

示例13: __init__

    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
                                    sTitle = 'Registered Scheduling Groups', sId = 'schedgroups',
                                    fnDPrint = fnDPrint, oDisp = oDisp);

        self._asColumnHeaders = [
            'ID',  'Name', 'Enabled', 'Scheduler Type',
            'Build Source', 'Validation Kit Source', 'Test Groups', 'TestBoxes', 'Actions',
        ];

        self._asColumnAttribs = [
            'align="right"', 'align="center"', 'align="center"', 'align="center"',
            'align="center"', 'align="center"', '', '', 'align="center"',
        ];
開發者ID:sobomax,項目名稱:virtualbox_64bit_edd,代碼行數:14,代碼來源:wuiadminschedgroup.py

示例14: __init__

    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
        WuiListContentBase.__init__(
            self,
            aoEntries,
            iPage,
            cItemsPerPage,
            tsEffective,
            sTitle="Failure Categories",
            sId="failureCategories",
            fnDPrint=fnDPrint,
            oDisp=oDisp,
        )

        self._asColumnHeaders = ["ID", "Short Description", "Full Description", "Actions"]
        self._asColumnAttribs = ['align="right"', 'align="center"', 'align="center"', 'align="center"']
開發者ID:miguelinux,項目名稱:vbox,代碼行數:15,代碼來源:wuiadminfailurecategory.py

示例15: __init__

 def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, cDaysBack, aiSelectedSortColumns = None):
     WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, 'System Changelog',
                                 fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
     self._asColumnHeaders = [ 'When', 'User', 'Event', 'Details' ];
     self._asColumnAttribs = [ 'align="center"', 'align="center"', '', '' ];
     self._oBuildBlacklistLogic  = BuildBlacklistLogic(oDisp.getDb());
     self._oBuildLogic           = BuildLogic(oDisp.getDb());
     self._oBuildSourceLogic     = BuildSourceLogic(oDisp.getDb());
     self._oFailureCategoryLogic = FailureCategoryLogic(oDisp.getDb());
     self._oFailureReasonLogic   = FailureReasonLogic(oDisp.getDb());
     self._oGlobalResourceLogic  = GlobalResourceLogic(oDisp.getDb());
     self._oSchedGroupLogic      = SchedGroupLogic(oDisp.getDb());
     self._oTestBoxLogic         = TestBoxLogic(oDisp.getDb());
     self._oTestCaseLogic        = TestCaseLogic(oDisp.getDb());
     self._oTestGroupLogic       = TestGroupLogic(oDisp.getDb());
     self._oUserAccountLogic     = UserAccountLogic(oDisp.getDb());
     self._sPrevDate             = '';
     _ = cDaysBack;
開發者ID:mdaniel,項目名稱:virtualbox-org-svn-vbox-trunk,代碼行數:18,代碼來源:wuiadminsystemchangelog.py


注:本文中的testmanager.webui.wuicontentbase.WuiListContentBase類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。