当前位置: 首页>>代码示例>>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;未经允许,请勿转载。