enthought/enaml — pull request #206 by dpinte (2012-11-21 20:10:31+00:00)
Title: Fix testsuite master

This PR fixes the broken enaml/tests/widgets tests suite.

It currently is a QT only set of tests for the widgets. As soon as posible we should try to resurect the work done by Ioannis and David W. that sits in enaml/tests/old/components to get a decent test suite covering Qt and Wx.

Work done:
* Updted the enaml_test_case.py to use QtApplication. This runs by exposing a process_events() method inside of the test suite to prevent having to start the Qt mainloop.
* I have removed all the tests that where testing removed widgets
* All of the tests that do have a meaning have been fixed. For the abstract class test, I worked based on a concrete implementation and tested the interface of the abstract class in the tests.

We currently have the following results :

Ran 92 tests in 3.377s

FAILED (failures=7, errors=5)

The 5 errors are due to the ImageView implementation that is not finished (see QtImageView).
The 7 failures are due to :
- 2 issues testing the foreground and bacground color
- 2 errors due to a subtle issue in the ComboBox (PR will follow)
- 3 issues that I have to investigate and fix