Commit Graph

166 Commits

Author SHA1 Message Date
Neeraj Kumar
07a9a03587 a few more modifications in the testsuite selection widget
svn-id: r50983
2010-07-18 07:53:05 +00:00
Neeraj Kumar
fd157b47a3 Implemented scrollable checkbox like behaviour using ListWidget
svn-id: r50971
2010-07-17 22:32:31 +00:00
Neeraj Kumar
407d65068a separated testsuite configuration to another class
svn-id: r50918
2010-07-15 18:51:56 +00:00
Max Horn
12ebe8065e Fix warnings
svn-id: r50899
2010-07-14 22:43:59 +00:00
Jordi Vilalta Prat
555acf4ba1 Some code formatting fixes
svn-id: r50893
2010-07-14 19:44:51 +00:00
Jordi Vilalta Prat
0b3201e5e3 Whitespace cleanup (mainly spaces and tabs at the end of line)
svn-id: r50885
2010-07-14 14:12:42 +00:00
Neeraj Kumar
85958744a2 Added code to enable testsuite selection using checkboxes
svn-id: r50850
2010-07-13 19:26:45 +00:00
Neeraj Kumar
570560e9b5 improved the scaling test to have a rectangle of estimated size of scaled cursor the scaled cursor should entirely cover that estimated rectangle
svn-id: r50802
2010-07-11 16:50:18 +00:00
Neeraj Kumar
f9c03dc8db a correction in palette rotations
svn-id: r50797
2010-07-11 06:48:28 +00:00
Neeraj Kumar
424c13e9f4 switched testbed detection code to advance detector, doesn't bails out when game data not found
svn-id: r50789
2010-07-10 19:24:12 +00:00
Neeraj Kumar
d3c42b71ba restore initial palettes when done with rotation
svn-id: r50749
2010-07-08 20:35:05 +00:00
Neeraj Kumar
333f704513 implemented rainbow palette rotation
svn-id: r50748
2010-07-08 20:30:11 +00:00
Neeraj Kumar
71f0f1b251 commented out rotation as of now, avoids 6s delay which shows blank
svn-id: r50740
2010-07-07 20:40:54 +00:00
Neeraj Kumar
00fc80b8d5 Added code to draw rainbow palette using HSV and converting it to RGB
svn-id: r50739
2010-07-07 20:31:28 +00:00
Neeraj Kumar
f145391abb some minor fixes in cursor handling
svn-id: r50726
2010-07-06 16:30:42 +00:00
Neeraj Kumar
deb2c189c7 added code to revert back to 8bpp from other formats
svn-id: r50714
2010-07-05 23:02:43 +00:00
Neeraj Kumar
9241e47e9a Added couple of checks in Event handling
svn-id: r50713
2010-07-05 21:49:15 +00:00
Neeraj Kumar
f470baa314 made Quit and RTL features working
svn-id: r50711
2010-07-05 21:29:15 +00:00
Neeraj Kumar
96dad5be41 fixed a typo in keyborad events
svn-id: r50658
2010-07-04 22:27:06 +00:00
Neeraj Kumar
9aae29b8d3 added code for mouse and kbd events
svn-id: r50633
2010-07-03 21:14:44 +00:00
Neeraj Kumar
5457144f13 added processing of quit event
svn-id: r50590
2010-07-02 07:51:44 +00:00
Neeraj Kumar
9a4bd4220f testbed now keeps a list of executed testsuites
svn-id: r50545
2010-07-01 12:30:56 +00:00
Neeraj Kumar
68d691bc3e removed all printfs, added logging feature in form of logPrintf
svn-id: r50512
2010-06-29 22:46:56 +00:00
Neeraj Kumar
e022dd7013 added template code for testing events
svn-id: r50459
2010-06-28 20:55:28 +00:00
Neeraj Kumar
e3806003ed completed the datetime/timer/mutex tests
svn-id: r50455
2010-06-28 18:14:16 +00:00
Neeraj Kumar
ef1ba0ea15 added code to test timers and mutexes, some issues with mutexes present although
svn-id: r50444
2010-06-28 12:58:14 +00:00
Neeraj Kumar
cf3d5c2774 added files for misc tests, implemented the datetime test
svn-id: r50400
2010-06-27 21:09:57 +00:00
Neeraj Kumar
cea663adb6 renamed the guards in header files
svn-id: r50344
2010-06-26 21:28:50 +00:00
Neeraj Kumar
e537ce48bb split testsuite.h into testsuite.cpp
svn-id: r50322
2010-06-26 14:29:50 +00:00
Neeraj Kumar
3cc204f461 the ScummVM header included to all source files
svn-id: r50320
2010-06-26 13:07:13 +00:00
Neeraj Kumar
ba36675351 completed the savefile tests
svn-id: r50319
2010-06-26 12:30:57 +00:00
Neeraj Kumar
82bfb7b7bf added savegame tests
svn-id: r50290
2010-06-25 21:03:53 +00:00
Neeraj Kumar
6e27ad3b2b some more refinements to FS and GFX tests
svn-id: r50286
2010-06-25 20:26:54 +00:00
Neeraj Kumar
bc3a7ba915 improved the pixel and other gfx tests
svn-id: r50264
2010-06-25 14:49:11 +00:00
Neeraj Kumar
1e22436686 added code to test 16+ bit pixel formats
svn-id: r50257
2010-06-25 03:48:28 +00:00
Neeraj Kumar
b243a93932 added palette rotation test
svn-id: r50220
2010-06-24 15:27:28 +00:00
Neeraj Kumar
f444d45116 some more filesystem related tweaks
svn-id: r50167
2010-06-22 20:49:38 +00:00
Neeraj Kumar
0012b23e84 modified the filesystem test, added a script to directly create the game-data-directory, no zip file required
svn-id: r50140
2010-06-22 14:39:51 +00:00
Neeraj Kumar
e86f732a7b crash with 3x sacling with cursors of odd dimmensions
svn-id: r50123
2010-06-21 21:26:07 +00:00
Neeraj Kumar
6110f16b29 fixed couple of leaks in testbed/fs.cpp, removed some unecesarry code from graphics.cpp/graphics.h
svn-id: r50119
2010-06-21 19:09:19 +00:00
Neeraj Kumar
492f743d47 some more changes with GFX and FS tests
svn-id: r50064
2010-06-19 20:50:10 +00:00
Neeraj Kumar
7b8693757c added testcase for writing files in the filesystem
svn-id: r50009
2010-06-18 08:45:57 +00:00
Neeraj Kumar
fb210bd45f added a FS test to open and read a file from the game-data dir
svn-id: r49948
2010-06-17 20:24:01 +00:00
Neeraj Kumar
f3dcd38c74 few fixes in GFX tests, added template for FS tests
svn-id: r49925
2010-06-17 11:23:51 +00:00
Neeraj Kumar
569caaf14e some changes in scaling and overlay
svn-id: r49904
2010-06-16 13:10:59 +00:00
Neeraj Kumar
46a555d638 some changes in the display texts
svn-id: r49893
2010-06-15 20:57:20 +00:00
Neeraj Kumar
5534caa65d added/fixed some features in palettized cursors/aspect ratio correction etc.
svn-id: r49891
2010-06-15 20:32:46 +00:00
Neeraj Kumar
af60633d68 added some features suggested by jordi, needs more work although
svn-id: r49668
2010-06-14 20:15:15 +00:00
Neeraj Kumar
889013b546 some minor change as per CFC
svn-id: r49645
2010-06-14 05:39:10 +00:00
Neeraj Kumar
3c511eab1a added code for testing shake, focus, overlay, scaling, need to fix more some of these although
svn-id: r49634
2010-06-13 19:19:06 +00:00
Neeraj Kumar
0bd7bf32ca removed obsolete comments
svn-id: r49625
2010-06-13 07:55:50 +00:00
Neeraj Kumar
12b591ed46 improved aspect ratio correction and cursor tests, added test for iconifying and testing mouse movements
svn-id: r49624
2010-06-13 07:49:36 +00:00
Neeraj Kumar
b9ea841b8a added code for ellipse drawing (Aspect ratio correction), fixed some more formatting
svn-id: r49593
2010-06-11 10:44:32 +00:00
Neeraj Kumar
1032b69f51 some minor changes in the testsuite structure, reduced no. of files per testsuite, fixed some formatting
svn-id: r49571
2010-06-10 12:40:58 +00:00
Neeraj Kumar
52cf6e4caa added working test for palettized cursors, tests mouse events as well
svn-id: r49516
2010-06-08 20:24:54 +00:00
Neeraj Kumar
207a5e0779 updated my outdate copy of trunk, added couple of more tests in gfxtests
svn-id: r49510
2010-06-08 17:24:29 +00:00
Neeraj Kumar
e00e94ae18 some minor modifications in function args,use of inline specifier
svn-id: r49461
2010-06-06 16:55:29 +00:00
Neeraj Kumar
1819c8b23b polished the interface to interact with testsuites, added code to report test results
svn-id: r49456
2010-06-06 14:06:51 +00:00
Neeraj Kumar
333989fc6d some code on getting strings printed on the screen
svn-id: r49421
2010-06-04 03:54:17 +00:00
Neeraj Kumar
fababbe205 able to display rectangle on screen using grabPalette() and copyRectToScreen, will use it to test palettes and autocomputeDirtyRects features
svn-id: r49404
2010-06-03 03:55:08 +00:00
Neeraj Kumar
91a8d25cea completed the basic testsuite class
svn-id: r49392
2010-06-02 13:56:04 +00:00
Neeraj Kumar
5df3809d37 enhanced the basic testsuite class
svn-id: r49390
2010-06-02 04:45:44 +00:00
Neeraj Kumar
da1f5ee54c created the basic testsuite class, will use it to create the GFX testsuite in graphics.h
svn-id: r49379
2010-06-01 18:06:31 +00:00
Neeraj Kumar
a8a8ea31df the basic testbed skeleton, removed any trace of quux
svn-id: r49341
2010-05-31 04:58:19 +00:00
Neeraj Kumar
3c629571b2 removed .deps, modified properties, reverted TODO
svn-id: r49207
2010-05-25 03:35:08 +00:00
Neeraj Kumar
cbf491a7b8 adding (missed) testbed to engines/, reverting TODO
svn-id: r49197
2010-05-24 17:43:55 +00:00