-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #4316: cleaning up squish tests
- Loading branch information
Janik Zikovsky
committed
Dec 12, 2011
1 parent
06f9a81
commit 275608e
Showing
5 changed files
with
31 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Code/Mantid/MantidQt/SliceViewer/test/suite_ColorBarWidget/suite.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
AUT=ColorBarWidgetDemo | ||
LANGUAGE=Python | ||
TEST_CASES=tst_min_makes_max_increase tst_startup tst_log_resets_min tst_signals | ||
TEST_CASES=tst_min_makes_max_increase tst_startup tst_log_resets_min | ||
VERSION=2 | ||
WRAPPERS=Qt |
48 changes: 0 additions & 48 deletions
48
Code/Mantid/MantidQt/SliceViewer/test/suite_ColorBarWidget/tst_signals/test.py
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
Code/Mantid/MantidQt/SliceViewer/test/test_python_interface.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import sys | ||
import os | ||
from PyQt4 import Qt | ||
|
||
# We instantiate a QApplication passing the arguments of the script to it: | ||
a = Qt.QApplication(sys.argv) | ||
|
||
sys.path.append( os.getcwd() ) | ||
import MantidFramework | ||
from mantidsimple import * | ||
|
||
# Create a test data set | ||
CreateMDWorkspace(Dimensions='3',Extents='0,10,0,10,0,10',Names='x,y,z', | ||
Units='m,m,m',SplitInto='5',MaxRecursionDepth='20',OutputWorkspace='mdw') | ||
FakeMDEventData("mdw", UniformParams="1e6") | ||
BinMD("mdw", "uniform", AxisAligned=1, AlignedDimX="x,0,10,30", AlignedDimY="y,0,10,30", AlignedDimZ="z,0,10,30", IterateEvents="1", Parallel="0") | ||
|
||
print "CREATED!" | ||
|
||
# Create the widget | ||
import libmantidqtpython | ||
sv = libmantidqtpython.MantidQt.SliceViewer.SliceViewer() | ||
sv.setWorkspace('uniform') | ||
sv.show() | ||
|
||
# Run the app. | ||
a.exec_() |