VirtualBox

Ignore:
Timestamp:
Jun 3, 2016 2:22:30 AM (9 years ago)
Author:
vboxsync
Message:

vsheriff: Some progress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuimain.py

    r61422 r61424  
    6868    ksActionTestResultFailureEdit       = 'TestResultFailureEdit'
    6969    ksActionTestResultFailureEditPost   = 'TestResultFailureEditPost'
     70    ksActionTestResultFailureDoRemove   = 'TestResultFailureDoRemove'
    7071    ksActionViewLog                     = 'ViewLog'
    7172    ksActionGetFile                     = 'GetFile'
     
    208209        self._dDispatch[self.ksActionTestResultFailureAddPost]      = self._actionTestResultFailureAddPost;
    209210        self._dDispatch[self.ksActionTestResultFailureDetails]      = self._actionTestResultFailureDetails;
     211        self._dDispatch[self.ksActionTestResultFailureDoRemove]     = self._actionTestResultFailureDoRemove;
    210212        self._dDispatch[self.ksActionTestResultFailureEdit]         = self._actionTestResultFailureEdit;
    211213        self._dDispatch[self.ksActionTestResultFailureEditPost]     = self._actionTestResultFailureEditPost;
     
    969971                                              WuiTestResultFailure, self.ksActionResultsUnGrouped);
    970972
     973    def _actionTestResultFailureDoRemove(self):
     974        """ Action wrapper. """
     975        from testmanager.core.testresultfailures import TestResultFailureData, TestResultFailureLogic;
     976        from testmanager.webui.wuitestresultfailure import WuiTestResultFailure;
     977        return self._actionGenericDoRemove(TestResultFailureLogic, TestResultFailureData.ksParam_idTestResult,
     978                                           self.ksActionResultsUnGrouped);
     979
    971980    def _actionTestResultFailureDetails(self):
    972981        """ Pro forma. """
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette