I've written a unittest for NSRectFillList (see the attached file), but
I'm not sure how this should be merged into the generic unittest
What I've done so far:
- The unittests that require access to the window server are in files
with a 'guitest_' prefix, as opposed to 'test_' for normal unittests.
- The 'if __name__ == "__main__":' part contains a hack to force a
connection to the WindowServer
- I've updated 'Scripts/allTestsTogether.py' to also run 'guitest_'
The last item should be changed a little, the script should check if it
is possible to run these tests.
This all works fine for the current tests, but I'm not sure if this is
the right solution for tests that will have to pop up actual windows.
Get latest updates about Open Source Projects, Conferences and News.