Commit Graph

54 Commits

Author SHA1 Message Date
Luke Campagnola
81dac22c69 style fix 2016-09-07 23:08:31 -07:00
Luke Campagnola
152c5d393f Fixed bool / monochrome image display, added more unit tests 2016-09-07 17:56:00 -07:00
Luke Campagnola
db07a16913 Test update and more bugfixes 2016-08-31 15:15:44 -07:00
Luke Campagnola
67bff6b9ca bugfix in polylineroi.getarrayregion 2016-08-27 15:51:54 -07:00
Luke Campagnola
f49bfbf5a4 add transposed roi tests 2016-08-23 09:12:39 -07:00
Luke Campagnola
a76fc37112 imageAxisOrder config option now accepts "row-major" and "col-major" instead of "normal" and "legacy"
ImageItems can individually control their axis order
image tests pass with axis order check
2016-08-23 09:10:26 -07:00
Luke Campagnola
e36fca8f49 Update test data tag 2016-07-18 17:22:17 -07:00
Luke Campagnola
08b93dce82 minor corrections 2016-07-18 09:13:06 -07:00
Luke Campagnola
0d131e4be4 Remove axes in ROI tests (these cause travis failures) 2016-07-18 08:13:25 -07:00
Luke Campagnola
637eab8359 Add debugging output for image testing 2016-06-14 21:56:25 -07:00
Luke Campagnola
2e59cd63cb Fix image test makePng function 2016-06-05 00:15:51 -07:00
Luke Campagnola
49d5543fa5 travis fix 2016-05-30 20:28:59 -07:00
Luke Campagnola
8f7b55302f Added PolyLineROI unit tests, fixed several bugs in mouse interaction with PolyLineROI. 2016-05-30 18:00:19 -07:00
Luke Campagnola
b4e41012d8 Correct color handling in test images 2016-05-09 08:56:21 -07:00
Luke Campagnola
c65ca6d243 Merge branch 'develop' into image-testing
Conflicts:
	pyqtgraph/tests/__init__.py
2016-03-17 22:29:06 -07:00
Luke Campagnola
926fe1ec26 image tester corrections 2016-02-17 08:38:22 -08:00
Luke Campagnola
5171e1f1c7 Remove axes from plotcurveitem test--fonts differ across platforms. 2016-02-14 13:13:56 -08:00
Luke Campagnola
e0a5dae1d5 Made default image comparison more strict. 2016-02-14 12:56:11 -08:00
Luke Campagnola
ebe422969e fix py3 imports 2016-02-13 19:49:50 -08:00
Luke Campagnola
879f341913 fix: no check_output in py 2.6 2016-02-12 17:51:34 -08:00
Luke Campagnola
f2a72bf780 Image tester is working 2016-02-12 03:03:52 -08:00
Luke Campagnola
2b9f613eab Added unit tests checking infiniteline interactivity 2016-02-03 23:13:58 -08:00
Luke Campagnola
89cb6e4108 Import image testing code from vispy 2016-02-02 21:58:47 -08:00
Luke Campagnola
2a80205dd4 ImageItem bugfix 2016-01-30 09:52:37 -08:00
Luke Campagnola
4be2869773 corrections and cleanups for functions.makeARGB
added unit test coverage
2016-01-29 23:11:01 -08:00
Luke Campagnola
99aa4cfdd3 Performance improvements for makeARGB. Also adding unit tests.. 2016-01-10 23:08:19 -08:00
Eric Dill
21c79d1c4a MNT: Should use the actual widget not 'widget' 2015-12-24 10:41:17 -05:00
Eric Dill
51e06c31a7 MNT: Switch to WeakKeyDict 2015-12-24 10:38:31 -05:00
Eric Dill
c3cfdfd528 TST: Tests are passing on pyside, but many are skipped
Commenting out failing tests

TST: use -sv flag on travis
2015-07-31 10:23:00 -04:00
Eric Dill
c02dbe7679 TST: use pyqtgraph.Qt to import Qt stuff 2015-07-31 10:22:41 -04:00
Eric Dill
e5c903ad42 MNT: Test examples too
MNT: I think travis is going to pass now!

This time it will pass
2015-07-28 12:57:05 -04:00
Eric Dill
0b929d3551 MNT: First travis attempt
MNT: travis times out because no --yes, yay!

MNT: Remove sudo installs

MNT: another --yes

WIP: ??
2015-07-28 12:57:03 -04:00
Eric Dill
5bfb903dac TST: python 3 generator compat
.keys() in python2 returns a list, .keys() in python3 returns a
generator. Wrap .keys() in a list so that you can index on it in python3
2015-07-11 11:20:29 -05:00
Eric Dill
934c2e437f MNT: Print function -> Print statement 2015-07-11 11:17:48 -05:00
Luke Campagnola
4066c7c76e tests working 2015-02-16 11:23:52 -05:00
Luke Campagnola
accafcce36 WIP: adding new tests and fixing bugs in pg.interpolateArray 2015-02-16 11:04:58 -05:00
Luke Campagnola
f6ded808ef Fixed a few exit crashes, added unit tests to cover them 2014-11-26 21:25:17 -05:00
Luke Campagnola
753ac9b4c4 Squashed commit of the following:
commit ca3fbe2ff9
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Thu Aug 7 08:41:30 2014 -0400

    Merged numerous updates from acq4:
    * Added HDF5 exporter
    * CSV exporter gets (x,y,y,y) export mode
    * Updates to SVG, Matplotlib exporter
    * Console can filter exceptions by string
    * Added tick context menu to GradientEditorItem
    * Added export feature to imageview
    * Parameter trees:
        - Option to save only user-editable values
        - Option to set visible title of parameters separately from name
        - Added experimental ParameterSystem for handling large systems of
            interdependent parameters
        - Auto-select editable portion of spinbox when editing
    * Added Vector.__abs__
    * Added replacement garbage collector for avoiding crashes on multithreaded Qt
    * Fixed "illegal instruction" caused by closing file handle 7 on OSX
    * configfile now reloads QtCore objects, Point, ColorMap, numpy arrays
    * Avoid triggering recursion issues in exception handler
    * Various bugfies and performance enhancements
2014-08-07 09:03:26 -04:00
Luke Campagnola
9dbdeaa1e0 Added missing .ui file needed for uic unit test 2014-05-19 18:25:05 -04:00
Luke Campagnola
24c25b604a disabled stability test (because it is expected to crash) 2014-04-27 14:02:55 -04:00
Luke Campagnola
13cca1d9ca Add GraphicsWindow ref check 2014-04-27 13:44:58 -04:00
Luke Campagnola
27f24d1a6a Expand ref cycle check to include all child QObjects 2014-04-27 13:27:25 -04:00
Luke Campagnola
0479507dbb Expanded ref checks
Fixed ref cycle in ImageItem -> HistogramLutItem
2014-04-27 13:07:31 -04:00
Luke Campagnola
d45eadc9a5 update stability test 2014-04-27 12:25:11 -04:00
Luke Campagnola
ef7949a35e Fixed ref cycle in SignalProxy 2014-04-27 12:25:11 -04:00
Luke Campagnola
82bd5ef584 stability test is successfully crashing, ref_cycle test exposes cycles! 2014-04-27 12:25:11 -04:00
Luke Campagnola
8dd7f07158 Start stability tests:
- randomly add / remove widgets and graphicsitems to provoke a crash
 - create and delete various objects and ensure that nothing is left in memory
2014-04-27 12:25:11 -04:00
Luke Campagnola
5a8d77d6f2 Fixed unicode issues with PySide loadUiType
Added unit test for loadUiType
2014-04-26 13:45:34 -04:00
Luke Campagnola
6b66edfd46 Added Travis CI support
Fixed bugs / style issues to please Lord Travis

Squashed commit of the following:

commit f25048a1e1
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Sun Mar 30 02:40:47 2014 -0400

    syntax

commit cc8b69695a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Sun Mar 30 02:36:49 2014 -0400

    add size check, diff style check

commit 5d5ea065a4
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Sun Mar 30 02:16:05 2014 -0400

    travis fix

commit b154c6d997
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Sun Mar 30 02:09:41 2014 -0400

    travis, flake colored output

commit 46921dcd87
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Wed Mar 26 12:37:54 2014 -0400

    fix pyside+py3 bugs to satisfy CI

commit 1d30f3c5c7
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Wed Mar 26 11:13:18 2014 -0400

    fix py3 tests

commit 426578fa4c
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Wed Mar 26 07:39:19 2014 -0400

    fix pytest install

commit 88a13c1a71
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Wed Mar 26 00:29:29 2014 -0400

    qt5 updates

commit 51995488cc
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Wed Mar 26 00:16:04 2014 -0400

    correct py.test command for py3

commit e2b02fbcbd
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Tue Mar 25 23:50:38 2014 -0400

    fix 2nd install test

commit 4b3e3ee04a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Tue Mar 25 23:31:31 2014 -0400

    syntax error

commit 250eabdb34
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Tue Mar 25 23:13:42 2014 -0400

    look for py.test3

commit 9f9bca47c1
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Tue Mar 25 22:54:19 2014 -0400

    fix syntax

commit 0a871c6f36
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Tue Mar 25 22:47:58 2014 -0400

    output pip build log

commit dbce58d8cd
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Tue Mar 25 22:38:55 2014 -0400

    no comments allowed between shall lines

commit b79c06121d
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Tue Mar 25 20:56:35 2014 -0400

    another pip try

commit 09f4f5d82a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Tue Mar 25 13:36:09 2014 -0400

    pip correction

commit 0eedb5c18e
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Tue Mar 25 13:29:00 2014 -0400

    correct py version output

commit d9fd039be2
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Tue Mar 25 11:55:43 2014 -0400

    apt checks

commit cf95ccef86
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Tue Mar 25 10:23:10 2014 -0400

    alternate pip install method

commit bee0bcddfe
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 23:51:45 2014 -0400

    correct deps install

commit 963a4211fc
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 23:47:30 2014 -0400

    fixes

commit 0c86cd1dc2
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 23:31:06 2014 -0400

    permission fix

commit 5d04ef53b8
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 23:30:19 2014 -0400

    Fix py.test version selection

commit b0e6c7cb94
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 23:25:34 2014 -0400

    try another pyqt5 install method

commit 422a792866
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 23:12:36 2014 -0400

    syntax error

commit 533133905a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 23:04:37 2014 -0400

    fixes

commit 8d65211ba4
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 22:40:18 2014 -0400

    Add Qt5 test
    minor fixes

commit 4484efaefe
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 22:31:56 2014 -0400

    use correct py.test for python version

commit 5d2441a29b
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 22:24:27 2014 -0400

    add setup tests

commit 9291db64f2
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 21:48:43 2014 -0400

    fix py3-pyqt install

commit a7aa675c5a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 21:31:33 2014 -0400

    travis tests

commit e71cd2b23a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 21:17:15 2014 -0400

    more corrections

commit 527df3bca8
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 20:56:01 2014 -0400

    travis corrections

commit 87d65cac4a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 20:48:02 2014 -0400

    Add flake tests
    Correct style in a few files to please Lord Travis

commit 537028f88f
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 17:36:24 2014 -0400

    minimize pyside package install
    correct line endings to satisfy Lord Travis

commit 1e3cc95e37
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 17:23:03 2014 -0400

    enable pyside, line ending check
    fix test

commit d7df4517f9
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 17:12:06 2014 -0400

    syntax fix

commit 1ad77a2155
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 17:00:30 2014 -0400

    alt. pytest install

commit 5edcc02072
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date:   Mon Mar 24 16:52:33 2014 -0400

    Added initial travis.yml
2014-03-30 02:51:32 -04:00
Luke Campagnola
25e7d12f09 Cleanup / fixes:
- Corrected isQObjectAlive for PyQt and older PySide
  - Warning messages are opt-in using pg.setConfigOptions(crashWarning=True)
2014-03-24 15:47:32 -04:00