diff options
author | Neeraj Kumar | 2010-08-09 21:18:27 +0000 |
---|---|---|
committer | Neeraj Kumar | 2010-08-09 21:18:27 +0000 |
commit | acb32580ce440aa687309999ed11ee6e5ca1fa72 (patch) | |
tree | c275cad28bf995fb7d63e4931b7ddc66a03db8e0 /engines/testbed/graphics.cpp | |
parent | 4e92b3a17ea963d3c006c93abd28287e0fac153a (diff) | |
download | scummvm-rg350-acb32580ce440aa687309999ed11ee6e5ca1fa72.tar.gz scummvm-rg350-acb32580ce440aa687309999ed11ee6e5ca1fa72.tar.bz2 scummvm-rg350-acb32580ce440aa687309999ed11ee6e5ca1fa72.zip |
TESTBED: Some more refinements to the GUI and mouse event tests
svn-id: r51946
Diffstat (limited to 'engines/testbed/graphics.cpp')
-rw-r--r-- | engines/testbed/graphics.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/engines/testbed/graphics.cpp b/engines/testbed/graphics.cpp index 22b453a763..40f77a98c1 100644 --- a/engines/testbed/graphics.cpp +++ b/engines/testbed/graphics.cpp @@ -584,7 +584,7 @@ TestExitStatus GFXtests::palettizedCursors() { passed = kTestFailed; } - if (!Testsuite::handleInteractiveInput("Did test run as was described?")) { + if (!Testsuite::handleInteractiveInput(" Did test run as was described? ")) { passed = kTestFailed; } @@ -635,7 +635,7 @@ TestExitStatus GFXtests::mouseMovements() { g_system->delayMillis(1500); CursorMan.showMouse(false); - if (Testsuite::handleInteractiveInput("Was the cursor symmetrically contained in the rectangle at (100, 100)?", "Yes", "No", kOptionRight)) { + if (Testsuite::handleInteractiveInput("Was the cursor centred in the rectangle at (100, 100)?", "Yes", "No", kOptionRight)) { return kTestFailed; } @@ -670,7 +670,7 @@ TestExitStatus GFXtests::copyRectToScreen() { g_system->updateScreen(); g_system->delayMillis(1000); - if (Testsuite::handleInteractiveInput("Did you see yellow rectangle?", "Yes", "No", kOptionRight)) { + if (Testsuite::handleInteractiveInput(" Did you see yellow rectangle ? ", "Yes", "No", kOptionRight)) { return kTestFailed; } @@ -718,7 +718,7 @@ TestExitStatus GFXtests::iconifyWindow() { Testsuite::displayMessage("feature not supported"); } - if (Testsuite::handleInteractiveInput("Did you see window minimized?", "Yes", "No", kOptionRight)) { + if (Testsuite::handleInteractiveInput(" Did you see the window minimized? ", "Yes", "No", kOptionRight)) { return kTestFailed; } @@ -733,7 +733,7 @@ TestExitStatus GFXtests::scaledCursors() { Testsuite::clearScreen(); Common::String info = "Testing : Scaled cursors\n" "Here every graphics mode is tried with a cursorTargetScale of 1, 2 and 3.\n" - "The expected cursor size is drawn as a rectangle, the cursor should entirely cover that rectangle.\n" + "The expected cursor size is drawn as a rectangle.\n The cursor should approximately match that rectangle.\n" "This may take time, You may skip the later scalers and just examine the first three i.e 1x, 2x and 3x"; if (Testsuite::handleInteractiveInput(info, "OK", "Skip", kOptionRight)) { @@ -909,7 +909,8 @@ TestExitStatus GFXtests::paletteRotation() { Common::String info = "Palette rotation. Here we draw a full 256 colored rainbow and then rotate it.\n" "Note that the screen graphics change without having to draw anything.\n" - "The palette should appear to rotate, Click the mouse button to exit."; + "The palette should appear to rotate, as a result, the background will change its color too.\n" + "Click the mouse button to exit."; if (Testsuite::handleInteractiveInput(info, "OK", "Skip", kOptionRight)) { Testsuite::logPrintf("Info! Skipping test : palette Rotation\n"); @@ -980,7 +981,7 @@ TestExitStatus GFXtests::paletteRotation() { GFXTestSuite::setCustomColor(255, 0, 0); Testsuite::clearScreen(); - if(Testsuite::handleInteractiveInput("Did you saw a rotation in colors of rectangles displayed on screen?", "Yes", "No", kOptionRight)) { + if(Testsuite::handleInteractiveInput("Did you see a rotation in colors of rectangles displayed on screen?", "Yes", "No", kOptionRight)) { return kTestFailed; } |