Source

pygame / test / surface_test.py

Author Commit Message Labels Comments Date
akalias
made trunk/test a package, added in python2.5 version of unittest as test.unittest.
illume
Added Surface.set_masks and .set_shifts useful for using data in b,g,r,a mode... and other fun hacks.
akalias
Added in numerous test for pygame.Surface methods.
akalias
removed command line options for individual test_modules, use run_tests.py module --flags to run individual module with options ( fail incomplete etc ). Less conflict with unittest command line parser.
akalias
Added a redirect stderr/stdout mode to test runner. Only output unittest results and not test noise
akalias
Added in many test stubs, hopefully some test faeries will fill some of them out.
brian
surface.get_bounding_rect
illume
Changes from Marcus. Added get_buffer() methods to Surface, and Sound. Added a BufferProxy - which is a buffer interface only class. Remember to change your Setup file - maybe just delete it if you have made no changes to it as there is a new .c file.
illume
surface.set_at((0,0), 0x0000FF) was failing for 24 bit surfaces. Thanks Marcus!
illume
basic test for set_at
illume
added some tests for key word arguments from Brian. thanks.
illume
SRCALPHA with 24bit surface fails.
illume
Changed the docs for surface.fill for SRCALPHA surfaces. Also added a test for SRCALPHA behaviour.
illume
A test for a bug when printing surface.
illume
movie_set_display hangs on movie file-like object. Thanks Martin.
illume
Surface.set_clip(None) was misbehaving. Thanks for the bug report Diego Essaya!