def process(self, _edObject=None): EDPluginControl.process(self) EDVerbose.DEBUG("EDPluginControlMatrixInvertFilev1_0.process") xsdin = XSDataInputReadMatrix() xsdin.setInputMatrixFile(self.getDataInput().getInputMatrixFile()) self.__edPluginExecRead.setDataInput(xsdin) self.__edPluginExecRead.connectSUCCESS(self.doSuccessExecRead) self.__edPluginExecRead.connectFAILURE(self.doFailureExecRead) self.__edPluginExecRead.executeSynchronous()
def preProcess(self): """ PreProcess of the execution test: download a set of images from http://www.edna-site.org and delete any output file """ EDTestCasePluginExecute.preProcess(self) xsDataInput = XSDataInputReadMatrix.parseString(self.readAndParseFile(self.getDataInputFile())) self.inputFile = xsDataInput.getInputMatrixFile().getPath().getValue() self.loadTestImage([os.path.basename(self.inputFile) ])
def preProcess(self): """ PreProcess of the execution test: download a set of images from http://www.edna-site.org and delete any output file """ EDTestCasePluginExecute.preProcess(self) xsDataInput = XSDataInputReadMatrix.parseString( self.readAndParseFile(self.getDataInputFile())) self.inputFile = xsDataInput.getInputMatrixFile().getPath().getValue() self.loadTestImage([os.path.basename(self.inputFile)])
def testCheckParameters(self): xsDataInput = XSDataInputReadMatrix() xsDataInput.setInputMatrixFile(XSDataFile()) edPluginExecMatrixRead = self.createPlugin() edPluginExecMatrixRead.setDataInput(xsDataInput) edPluginExecMatrixRead.checkParameters()