Пример #1
0
    def setUp(self):
        """
        Creates a window attached to FilePlugin and GoldDiffPlugin widget.
        """

        self.sleepIfSlow()
        # The file to open
        self._filenames = Testing.get_chigger_input_list('mug_blocks_out.e', 'vector_out.e')
        self._widget, self._window = main(size=[400,400])
        self._widget.FilePlugin.onSetFilenames(self._filenames)
        self._widget.GoldDiffPlugin.onSetFilenames(self._filenames)
Пример #2
0
    def setUp(self):
        """
        Creates a window attached to FilePlugin and GoldDiffPlugin widget.
        """

        self.sleepIfSlow()
        # The file to open
        self._filenames = Testing.get_chigger_input_list(
            'mug_blocks_out.e', 'vector_out.e')
        self._widget, self._window = main(size=[400, 400])
        self._widget.initialize(self._filenames)
Пример #3
0
    def setUp(self):
        """
        Creates a window attached to FilePlugin and GoldDiffPlugin widget.
        """

        self.sleepIfSlow()
        # The file to open
        self._filenames = Testing.get_chigger_input_list('mug_blocks_out.e', 'vector_out.e')
        self._widget, self._window = main(size=[400,400])
        self._widget.FilePlugin.onSetFilenames(self._filenames)
        self._widget.FilePlugin.VariableList.setCurrentIndex(2)
        self._widget.FilePlugin.VariableList.currentIndexChanged.emit(2)