Lines Matching refs:actual
301 struct captured_screen* actual, in compare_screen() argument
306 ASSERT(actual->text); in compare_screen()
307 ASSERT(actual->attributes); in compare_screen()
310 if (actual->si.length != expect->si.length) { in compare_screen()
313 if (actual->si.width != expect->si.width) { in compare_screen()
316 if (actual->si.height != expect->si.height) { in compare_screen()
319 while (current < actual->si.length) { in compare_screen()
320 if (*(actual->text + current) != *(expect->text + current)) { in compare_screen()
321 line = current / actual->si.width + 1; in compare_screen()
322 col = current - actual->si.width * (line - 1) + 1; in compare_screen()
328 *(actual->text + current)); in compare_screen()
331 if (*(actual->attributes + current) != *(expect->attributes + current)) { in compare_screen()
332 line = current / actual->si.width + 1; in compare_screen()
333 col = current - actual->si.width * (line - 1) + 1; in compare_screen()
339 *(actual->attributes + current)); in compare_screen()
346 free_screen(actual); in compare_screen()
845 struct captured_screen actual = {0}, expect = {0}; in TEST_IMPL() local
862 capture_screen(&tty_out, &actual); in TEST_IMPL()
864 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
874 capture_screen(&tty_out, &actual); in TEST_IMPL()
876 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
887 capture_screen(&tty_out, &actual); in TEST_IMPL()
889 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
900 capture_screen(&tty_out, &actual); in TEST_IMPL()
902 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
919 struct captured_screen actual = {0}, expect = {0}; in TEST_IMPL() local
936 capture_screen(&tty_out, &actual); in TEST_IMPL()
938 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
948 capture_screen(&tty_out, &actual); in TEST_IMPL()
950 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
961 capture_screen(&tty_out, &actual); in TEST_IMPL()
963 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
974 capture_screen(&tty_out, &actual); in TEST_IMPL()
976 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1055 struct captured_screen actual = {0}, expect = {0}; in TEST_IMPL()
1100 capture_screen(&tty_out, &actual); in TEST_IMPL()
1102 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1119 capture_screen(&tty_out, &actual); in TEST_IMPL()
1121 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1146 capture_screen(&tty_out, &actual); in TEST_IMPL()
1148 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1178 capture_screen(&tty_out, &actual); in TEST_IMPL()
1180 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1201 capture_screen(&tty_out, &actual); in TEST_IMPL()
1203 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1232 capture_screen(&tty_out, &actual); in TEST_IMPL()
1234 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1309 struct captured_screen actual = {0}, expect = {0}; in TEST_IMPL() local
1333 capture_screen(&tty_out, &actual); in TEST_IMPL()
1334 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1337 ASSERT_OK(actual.si.csbi.srWindow.Top); in TEST_IMPL()
1358 struct captured_screen actual = {0}, expect = {0}; in TEST_IMPL()
1375 capture_screen(&tty_out, &actual); in TEST_IMPL()
1376 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1388 capture_screen(&tty_out, &actual); in TEST_IMPL()
1389 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1401 capture_screen(&tty_out, &actual); in TEST_IMPL()
1402 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1424 capture_screen(&tty_out, &actual); in TEST_IMPL()
1425 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1437 capture_screen(&tty_out, &actual); in TEST_IMPL()
1438 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1449 capture_screen(&tty_out, &actual); in TEST_IMPL()
1450 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1459 capture_screen(&tty_out, &actual); in TEST_IMPL()
1460 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1476 capture_screen(&tty_out, &actual); in TEST_IMPL()
1477 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1494 capture_screen(&tty_out, &actual); in TEST_IMPL()
1495 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1515 capture_screen(&tty_out, &actual); in TEST_IMPL()
1516 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1544 capture_screen(&tty_out, &actual); in TEST_IMPL()
1545 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1605 capture_screen(&tty_out, &actual); in TEST_IMPL()
1606 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()
1616 capture_screen(&tty_out, &actual); in TEST_IMPL()
1617 ASSERT(compare_screen(&tty_out, &actual, &expect)); in TEST_IMPL()