Home | History | Annotate | Download | only in test

Lines Matching refs:desiredH

1088   int desiredW, desiredH;
1138 desiredH = 1;
1142 desiredH = SDLTest_RandomIntegerInRange(1, 100);
1146 desiredH = display.h - 1;
1150 desiredH = display.h;
1154 desiredH = display.h + 1;
1159 SDL_SetWindowSize(window, desiredW, desiredH);
1160 SDLTest_AssertPass("Call to SDL_SetWindowSize(...,%d,%d)", desiredW, desiredH);
1164 currentH = desiredH + 1;
1168 SDLTest_AssertCheck(desiredH == currentH, "Verify returned height; expected: %d, got: %d", desiredH, currentH);
1177 currentH = desiredH + 1;
1180 SDLTest_AssertCheck(desiredH == currentH, "Verify returned height; expected: %d, got: %d", desiredH, currentH);
1191 for (desiredH = -2; desiredH < 2; desiredH++) {
1193 if (desiredW <= 0 || desiredH <= 0) {
1194 SDL_SetWindowSize(window, desiredW, desiredH);
1195 SDLTest_AssertPass("Call to SDL_SetWindowSize(...,%d,%d)", desiredW, desiredH);
1210 desiredH = SDLTest_RandomSint32();
1228 SDL_SetWindowSize(NULL, desiredW, desiredH);
1249 int desiredW, desiredH;
1281 desiredH = 1;
1285 desiredH = SDLTest_RandomIntegerInRange(2, display.h - 1);
1289 desiredH = display.h;
1293 desiredH = display.h + 1;
1298 SDL_SetWindowMinimumSize(window, desiredW, desiredH);
1299 SDLTest_AssertPass("Call to SDL_SetWindowMinimumSize(...,%d,%d)", desiredW, desiredH);
1303 currentH = desiredH + 1;
1307 SDLTest_AssertCheck(desiredH == currentH, "Verify returned height; expected: %d, got: %d", desiredH, currentH);
1316 currentH = desiredH + 1;
1319 SDLTest_AssertCheck(desiredH == currentH, "Verify returned height; expected: %d, got: %d", desiredW, currentH);
1330 for (desiredH = -2; desiredH < 2; desiredH++) {
1332 if (desiredW <= 0 || desiredH <= 0) {
1333 SDL_SetWindowMinimumSize(window, desiredW, desiredH);
1334 SDLTest_AssertPass("Call to SDL_SetWindowMinimumSize(...,%d,%d)", desiredW, desiredH);
1349 desiredH = SDLTest_RandomSint32();
1367 SDL_SetWindowMinimumSize(NULL, desiredW, desiredH);
1388 int desiredW, desiredH;
1420 desiredH = 1;
1424 desiredH = SDLTest_RandomIntegerInRange(2, display.h - 1);
1428 desiredH = display.h;
1433 SDL_SetWindowMaximumSize(window, desiredW, desiredH);
1434 SDLTest_AssertPass("Call to SDL_SetWindowMaximumSize(...,%d,%d)", desiredW, desiredH);
1438 currentH = desiredH + 1;
1442 SDLTest_AssertCheck(desiredH == currentH, "Verify returned height; expected: %d, got: %d", desiredH, currentH);
1451 currentH = desiredH + 1;
1454 SDLTest_AssertCheck(desiredH == currentH, "Verify returned height; expected: %d, got: %d", desiredW, currentH);
1465 for (desiredH = -2; desiredH < 2; desiredH++) {
1467 if (desiredW <= 0 || desiredH <= 0) {
1468 SDL_SetWindowMaximumSize(window, desiredW, desiredH);
1469 SDLTest_AssertPass("Call to SDL_SetWindowMaximumSize(...,%d,%d)", desiredW, desiredH);
1484 desiredH = SDLTest_RandomSint32();
1502 SDL_SetWindowMaximumSize(NULL, desiredW, desiredH);