| @@ -1207,1212 +1207,1212 @@ has_ic_body() | | | @@ -1207,1212 +1207,1212 @@ has_ic_body() |
1207 | h_run has_ic | | 1207 | h_run has_ic |
1208 | } | | 1208 | } |
1209 | | | 1209 | |
1210 | atf_test_case killchar | | 1210 | atf_test_case killchar |
1211 | killchar_head() | | 1211 | killchar_head() |
1212 | { | | 1212 | { |
1213 | atf_set "descr" "Get the value of the terminals kill character" | | 1213 | atf_set "descr" "Get the value of the terminals kill character" |
1214 | } | | 1214 | } |
1215 | killchar_body() | | 1215 | killchar_body() |
1216 | { | | 1216 | { |
1217 | h_run killchar | | 1217 | h_run killchar |
1218 | } | | 1218 | } |
1219 | | | 1219 | |
1220 | atf_test_case killwchar | | 1220 | atf_test_case killwchar |
1221 | killwchar_head() | | 1221 | killwchar_head() |
1222 | { | | 1222 | { |
1223 | atf_set "descr" "Get the value of the terminals wide kill character" | | 1223 | atf_set "descr" "Get the value of the terminals wide kill character" |
1224 | } | | 1224 | } |
1225 | killwchar_body() | | 1225 | killwchar_body() |
1226 | { | | 1226 | { |
1227 | h_run killwchar en_US.UTF-8 | | 1227 | h_run killwchar en_US.UTF-8 |
1228 | } | | 1228 | } |
1229 | | | 1229 | |
1230 | atf_test_case meta | | 1230 | atf_test_case meta |
1231 | meta_head() | | 1231 | meta_head() |
1232 | { | | 1232 | { |
1233 | atf_set "descr" "Check setting and clearing the meta flag on a window" | | 1233 | atf_set "descr" "Check setting and clearing the meta flag on a window" |
1234 | } | | 1234 | } |
1235 | meta_body() | | 1235 | meta_body() |
1236 | { | | 1236 | { |
1237 | h_run meta | | 1237 | h_run meta |
1238 | } | | 1238 | } |
1239 | | | 1239 | |
1240 | atf_test_case cbreak | | 1240 | atf_test_case cbreak |
1241 | cbreak_head() | | 1241 | cbreak_head() |
1242 | { | | 1242 | { |
1243 | atf_set "descr" "Check cbreak mode works" | | 1243 | atf_set "descr" "Check cbreak mode works" |
1244 | } | | 1244 | } |
1245 | cbreak_body() | | 1245 | cbreak_body() |
1246 | { | | 1246 | { |
1247 | h_run cbreak | | 1247 | h_run cbreak |
1248 | } | | 1248 | } |
1249 | | | 1249 | |
1250 | atf_test_case nocbreak | | 1250 | atf_test_case nocbreak |
1251 | nocbreak_head() | | 1251 | nocbreak_head() |
1252 | { | | 1252 | { |
1253 | atf_set "descr" "Test that the nocbreak call returns the terminal to canonical character processing" | | 1253 | atf_set "descr" "Test that the nocbreak call returns the terminal to canonical character processing" |
1254 | } | | 1254 | } |
1255 | nocbreak_body() | | 1255 | nocbreak_body() |
1256 | { | | 1256 | { |
1257 | h_run nocbreak | | 1257 | h_run nocbreak |
1258 | } | | 1258 | } |
1259 | | | 1259 | |
1260 | ########################################## | | 1260 | ########################################## |
1261 | # curses general attribute manipulation routines | | 1261 | # curses general attribute manipulation routines |
1262 | ########################################## | | 1262 | ########################################## |
1263 | | | 1263 | |
1264 | atf_test_case attributes | | 1264 | atf_test_case attributes |
1265 | attributes_head() | | 1265 | attributes_head() |
1266 | { | | 1266 | { |
1267 | atf_set "descr" "Check setting, clearing and getting of attributes of stdscr" | | 1267 | atf_set "descr" "Check setting, clearing and getting of attributes of stdscr" |
1268 | } | | 1268 | } |
1269 | attributes_body() | | 1269 | attributes_body() |
1270 | { | | 1270 | { |
1271 | h_run attributes | | 1271 | h_run attributes |
1272 | } | | 1272 | } |
1273 | | | 1273 | |
1274 | atf_test_case wattributes | | 1274 | atf_test_case wattributes |
1275 | wattributes_head() | | 1275 | wattributes_head() |
1276 | { | | 1276 | { |
1277 | atf_set "descr" "Check setting, clearing and getting of attributes of window" | | 1277 | atf_set "descr" "Check setting, clearing and getting of attributes of window" |
1278 | } | | 1278 | } |
1279 | wattributes_body() | | 1279 | wattributes_body() |
1280 | { | | 1280 | { |
1281 | h_run wattributes | | 1281 | h_run wattributes |
1282 | } | | 1282 | } |
1283 | | | 1283 | |
1284 | atf_test_case getattrs | | 1284 | atf_test_case getattrs |
1285 | getattrs_head() | | 1285 | getattrs_head() |
1286 | { | | 1286 | { |
1287 | atf_set "descr" "Validate curses can get and set attributes on a window" | | 1287 | atf_set "descr" "Validate curses can get and set attributes on a window" |
1288 | } | | 1288 | } |
1289 | getattrs_body() | | 1289 | getattrs_body() |
1290 | { | | 1290 | { |
1291 | h_run getattrs | | 1291 | h_run getattrs |
1292 | } | | 1292 | } |
1293 | | | 1293 | |
1294 | atf_test_case color_set | | 1294 | atf_test_case color_set |
1295 | color_set_head() | | 1295 | color_set_head() |
1296 | { | | 1296 | { |
1297 | atf_set "descr" "Validate curses can set the color pair for stdscr" | | 1297 | atf_set "descr" "Validate curses can set the color pair for stdscr" |
1298 | } | | 1298 | } |
1299 | color_set_body() | | 1299 | color_set_body() |
1300 | { | | 1300 | { |
1301 | h_run color_set | | 1301 | h_run color_set |
1302 | } | | 1302 | } |
1303 | | | 1303 | |
1304 | atf_test_case wcolor_set | | 1304 | atf_test_case wcolor_set |
1305 | wcolor_set_head() | | 1305 | wcolor_set_head() |
1306 | { | | 1306 | { |
1307 | atf_set "descr" "Validate curses can set the color pair for window" | | 1307 | atf_set "descr" "Validate curses can set the color pair for window" |
1308 | } | | 1308 | } |
1309 | wcolor_set_body() | | 1309 | wcolor_set_body() |
1310 | { | | 1310 | { |
1311 | h_run wcolor_set | | 1311 | h_run wcolor_set |
1312 | } | | 1312 | } |
1313 | | | 1313 | |
1314 | atf_test_case termattrs | | 1314 | atf_test_case termattrs |
1315 | termattrs_head() | | 1315 | termattrs_head() |
1316 | { | | 1316 | { |
1317 | atf_set "descr" "Check the terminal attributes" | | 1317 | atf_set "descr" "Check the terminal attributes" |
1318 | } | | 1318 | } |
1319 | termattrs_body() | | 1319 | termattrs_body() |
1320 | { | | 1320 | { |
1321 | h_run termattrs | | 1321 | h_run termattrs |
1322 | } | | 1322 | } |
1323 | | | 1323 | |
1324 | ########################################## | | 1324 | ########################################## |
1325 | # curses on-screen attribute manipulation routines | | 1325 | # curses on-screen attribute manipulation routines |
1326 | ########################################## | | 1326 | ########################################## |
1327 | | | 1327 | |
1328 | atf_test_case chgat | | 1328 | atf_test_case chgat |
1329 | chgat_head() | | 1329 | chgat_head() |
1330 | { | | 1330 | { |
1331 | atf_set "descr" "Check changing attributes works on stdscr" | | 1331 | atf_set "descr" "Check changing attributes works on stdscr" |
1332 | } | | 1332 | } |
1333 | chgat_body() | | 1333 | chgat_body() |
1334 | { | | 1334 | { |
1335 | h_run chgat | | 1335 | h_run chgat |
1336 | } | | 1336 | } |
1337 | | | 1337 | |
1338 | atf_test_case wchgat | | 1338 | atf_test_case wchgat |
1339 | wchgat_head() | | 1339 | wchgat_head() |
1340 | { | | 1340 | { |
1341 | atf_set "descr" "Check changing attributes works on window" | | 1341 | atf_set "descr" "Check changing attributes works on window" |
1342 | } | | 1342 | } |
1343 | wchgat_body() | | 1343 | wchgat_body() |
1344 | { | | 1344 | { |
1345 | h_run wchgat | | 1345 | h_run wchgat |
1346 | } | | 1346 | } |
1347 | | | 1347 | |
1348 | atf_test_case mvchgat | | 1348 | atf_test_case mvchgat |
1349 | mvchgat_head() | | 1349 | mvchgat_head() |
1350 | { | | 1350 | { |
1351 | atf_set "descr" "Move the cursor and change the attributes on the screen" | | 1351 | atf_set "descr" "Move the cursor and change the attributes on the screen" |
1352 | } | | 1352 | } |
1353 | mvchgat_body() | | 1353 | mvchgat_body() |
1354 | { | | 1354 | { |
1355 | h_run mvchgat | | 1355 | h_run mvchgat |
1356 | } | | 1356 | } |
1357 | | | 1357 | |
1358 | atf_test_case mvwchgat | | 1358 | atf_test_case mvwchgat |
1359 | mvwchgat_head() | | 1359 | mvwchgat_head() |
1360 | { | | 1360 | { |
1361 | atf_set "descr" "Move the cursor and change the attributes on the window" | | 1361 | atf_set "descr" "Move the cursor and change the attributes on the window" |
1362 | } | | 1362 | } |
1363 | mvwchgat_body() | | 1363 | mvwchgat_body() |
1364 | { | | 1364 | { |
1365 | h_run mvwchgat | | 1365 | h_run mvwchgat |
1366 | } | | 1366 | } |
1367 | | | 1367 | |
1368 | ########################################## | | 1368 | ########################################## |
1369 | # curses standout attribute manipulation routines | | 1369 | # curses standout attribute manipulation routines |
1370 | ########################################## | | 1370 | ########################################## |
1371 | | | 1371 | |
1372 | atf_test_case standout | | 1372 | atf_test_case standout |
1373 | standout_head() | | 1373 | standout_head() |
1374 | { | | 1374 | { |
1375 | atf_set "descr" "Checks tuning on/off of standard attribute on stdscr" | | 1375 | atf_set "descr" "Checks tuning on/off of standard attribute on stdscr" |
1376 | } | | 1376 | } |
1377 | standout_body() | | 1377 | standout_body() |
1378 | { | | 1378 | { |
1379 | h_run standout | | 1379 | h_run standout |
1380 | } | | 1380 | } |
1381 | | | 1381 | |
1382 | atf_test_case wstandout | | 1382 | atf_test_case wstandout |
1383 | wstandout_head() | | 1383 | wstandout_head() |
1384 | { | | 1384 | { |
1385 | atf_set "descr" "Checks tuning on/off of standard attribute on window" | | 1385 | atf_set "descr" "Checks tuning on/off of standard attribute on window" |
1386 | } | | 1386 | } |
1387 | wstandout_body() | | 1387 | wstandout_body() |
1388 | { | | 1388 | { |
1389 | h_run wstandout | | 1389 | h_run wstandout |
1390 | } | | 1390 | } |
1391 | | | 1391 | |
1392 | ########################################## | | 1392 | ########################################## |
1393 | # curses color manipulation routines | | 1393 | # curses color manipulation routines |
1394 | ########################################## | | 1394 | ########################################## |
1395 | | | 1395 | |
1396 | atf_test_case has_colors | | 1396 | atf_test_case has_colors |
1397 | has_colors_head() | | 1397 | has_colors_head() |
1398 | { | | 1398 | { |
1399 | atf_set "descr" "Check if the terminal can support colours" | | 1399 | atf_set "descr" "Check if the terminal can support colours" |
1400 | } | | 1400 | } |
1401 | has_colors_body() | | 1401 | has_colors_body() |
1402 | { | | 1402 | { |
1403 | h_run has_colors | | 1403 | h_run has_colors |
1404 | } | | 1404 | } |
1405 | | | 1405 | |
1406 | atf_test_case can_change_color | | 1406 | atf_test_case can_change_color |
1407 | can_change_color_head() | | 1407 | can_change_color_head() |
1408 | { | | 1408 | { |
1409 | atf_set "descr" "Check if the terminal can change colours" | | 1409 | atf_set "descr" "Check if the terminal can change colours" |
1410 | } | | 1410 | } |
1411 | can_change_color_body() | | 1411 | can_change_color_body() |
1412 | { | | 1412 | { |
1413 | h_run can_change_color | | 1413 | h_run can_change_color |
1414 | } | | 1414 | } |
1415 | | | 1415 | |
1416 | atf_test_case start_color | | 1416 | atf_test_case start_color |
1417 | start_color_head() | | 1417 | start_color_head() |
1418 | { | | 1418 | { |
1419 | atf_set "descr" "Check if curses can enable use of colours" | | 1419 | atf_set "descr" "Check if curses can enable use of colours" |
1420 | } | | 1420 | } |
1421 | start_color_body() | | 1421 | start_color_body() |
1422 | { | | 1422 | { |
1423 | h_run start_color | | 1423 | h_run start_color |
1424 | } | | 1424 | } |
1425 | | | 1425 | |
1426 | atf_test_case pair_content | | 1426 | atf_test_case pair_content |
1427 | pair_content_head() | | 1427 | pair_content_head() |
1428 | { | | 1428 | { |
1429 | atf_set "descr" "Checks color pair initialization and retrieval" | | 1429 | atf_set "descr" "Checks color pair initialization and retrieval" |
1430 | } | | 1430 | } |
1431 | pair_content_body() | | 1431 | pair_content_body() |
1432 | { | | 1432 | { |
1433 | h_run pair_content | | 1433 | h_run pair_content |
1434 | } | | 1434 | } |
1435 | | | 1435 | |
1436 | atf_test_case init_color | | 1436 | atf_test_case init_color |
1437 | init_color_head() | | 1437 | init_color_head() |
1438 | { | | 1438 | { |
1439 | atf_set "descr" "Set a custom color entry" | | 1439 | atf_set "descr" "Set a custom color entry" |
1440 | } | | 1440 | } |
1441 | init_color_body() | | 1441 | init_color_body() |
1442 | { | | 1442 | { |
1443 | h_run init_color | | 1443 | h_run init_color |
1444 | } | | 1444 | } |
1445 | | | 1445 | |
1446 | atf_test_case color_content | | 1446 | atf_test_case color_content |
1447 | color_content_head() | | 1447 | color_content_head() |
1448 | { | | 1448 | { |
1449 | atf_set "descr" "Check if curses can extract the color intensity from colors" | | 1449 | atf_set "descr" "Check if curses can extract the color intensity from colors" |
1450 | } | | 1450 | } |
1451 | color_content_body() | | 1451 | color_content_body() |
1452 | { | | 1452 | { |
1453 | h_run color_content | | 1453 | h_run color_content |
1454 | } | | 1454 | } |
1455 | | | 1455 | |
1456 | atf_test_case assume_default_colors | | 1456 | atf_test_case assume_default_colors |
1457 | assume_default_colors_head() | | 1457 | assume_default_colors_head() |
1458 | { | | 1458 | { |
1459 | atf_set "descr" "Check setting the default color pair" | | 1459 | atf_set "descr" "Check setting the default color pair" |
1460 | } | | 1460 | } |
1461 | assume_default_colors_body() | | 1461 | assume_default_colors_body() |
1462 | { | | 1462 | { |
1463 | h_run assume_default_colors | | 1463 | h_run assume_default_colors |
1464 | } | | 1464 | } |
1465 | | | 1465 | |
1466 | ########################################## | | 1466 | ########################################## |
1467 | # curses clear window routines | | 1467 | # curses clear window routines |
1468 | ########################################## | | 1468 | ########################################## |
1469 | | | 1469 | |
1470 | atf_test_case clear | | 1470 | atf_test_case clear |
1471 | clear_head() | | 1471 | clear_head() |
1472 | { | | 1472 | { |
1473 | atf_set "descr" "Check clear,erase,clrtobot,clrtoeol work - tests window routines too" | | 1473 | atf_set "descr" "Check clear,erase,clrtobot,clrtoeol work - tests window routines too" |
1474 | } | | 1474 | } |
1475 | clear_body() | | 1475 | clear_body() |
1476 | { | | 1476 | { |
1477 | h_run clear | | 1477 | h_run clear |
1478 | } | | 1478 | } |
1479 | | | 1479 | |
1480 | atf_test_case clearok | | 1480 | atf_test_case clearok |
1481 | clearok_head() | | 1481 | clearok_head() |
1482 | { | | 1482 | { |
1483 | atf_set "descr" "Check clearing of screen during a refresh if correspnding flag is set" | | 1483 | atf_set "descr" "Check clearing of screen during a refresh if correspnding flag is set" |
1484 | } | | 1484 | } |
1485 | clearok_body() | | 1485 | clearok_body() |
1486 | { | | 1486 | { |
1487 | h_run clearok | | 1487 | h_run clearok |
1488 | } | | 1488 | } |
1489 | | | 1489 | |
1490 | ########################################## | | 1490 | ########################################## |
1491 | # curses terminal update routines | | 1491 | # curses terminal update routines |
1492 | ########################################## | | 1492 | ########################################## |
1493 | | | 1493 | |
1494 | atf_test_case doupdate | | 1494 | atf_test_case doupdate |
1495 | doupdate_head() | | 1495 | doupdate_head() |
1496 | { | | 1496 | { |
1497 | atf_set "descr" "Check doupdate performs an update - test wnoutrefresh too" | | 1497 | atf_set "descr" "Check doupdate performs an update - test wnoutrefresh too" |
1498 | } | | 1498 | } |
1499 | doupdate_body() | | 1499 | doupdate_body() |
1500 | { | | 1500 | { |
1501 | h_run doupdate | | 1501 | h_run doupdate |
1502 | } | | 1502 | } |
1503 | | | 1503 | |
1504 | atf_test_case immedok | | 1504 | atf_test_case immedok |
1505 | immedok_head() | | 1505 | immedok_head() |
1506 | { | | 1506 | { |
1507 | atf_set "descr" "Checks if the screen is refreshed whenever window is changed" | | 1507 | atf_set "descr" "Checks if the screen is refreshed whenever window is changed" |
1508 | } | | 1508 | } |
1509 | immedok_body() | | 1509 | immedok_body() |
1510 | { | | 1510 | { |
1511 | h_run immedok | | 1511 | h_run immedok |
1512 | } | | 1512 | } |
1513 | | | 1513 | |
1514 | atf_test_case leaveok | | 1514 | atf_test_case leaveok |
1515 | leaveok_head() | | 1515 | leaveok_head() |
1516 | { | | 1516 | { |
1517 | atf_set "descr" "Checks cursor positioning from refresh operations - tests is_leaveok too" | | 1517 | atf_set "descr" "Checks cursor positioning from refresh operations - tests is_leaveok too" |
1518 | } | | 1518 | } |
1519 | leaveok_body() | | 1519 | leaveok_body() |
1520 | { | | 1520 | { |
1521 | h_run leaveok | | 1521 | h_run leaveok |
1522 | } | | 1522 | } |
1523 | | | 1523 | |
1524 | ########################################## | | 1524 | ########################################## |
1525 | # curses window scrolling routines | | 1525 | # curses window scrolling routines |
1526 | ########################################## | | 1526 | ########################################## |
1527 | | | 1527 | |
1528 | atf_test_case wscrl | | 1528 | atf_test_case wscrl |
1529 | wscrl_head() | | 1529 | wscrl_head() |
1530 | { | | 1530 | { |
1531 | atf_set "descr" "Check window scrolling" | | 1531 | atf_set "descr" "Check window scrolling" |
1532 | } | | 1532 | } |
1533 | wscrl_body() | | 1533 | wscrl_body() |
1534 | { | | 1534 | { |
1535 | h_run wscrl | | 1535 | h_run wscrl |
1536 | } | | 1536 | } |
1537 | | | 1537 | |
1538 | atf_test_case scroll | | 1538 | atf_test_case scroll |
1539 | scroll_head() | | 1539 | scroll_head() |
1540 | { | | 1540 | { |
1541 | atf_set "descr" "Checks scrolling" | | 1541 | atf_set "descr" "Checks scrolling" |
1542 | } | | 1542 | } |
1543 | scroll_body() | | 1543 | scroll_body() |
1544 | { | | 1544 | { |
1545 | h_run scroll | | 1545 | h_run scroll |
1546 | } | | 1546 | } |
1547 | | | 1547 | |
1548 | atf_test_case setscrreg | | 1548 | atf_test_case setscrreg |
1549 | setscrreg_head() | | 1549 | setscrreg_head() |
1550 | { | | 1550 | { |
1551 | atf_set "descr" "Checks if setting the scrolling region works for stdscr" | | 1551 | atf_set "descr" "Checks if setting the scrolling region works for stdscr" |
1552 | } | | 1552 | } |
1553 | setscrreg_body() | | 1553 | setscrreg_body() |
1554 | { | | 1554 | { |
1555 | h_run setscrreg | | 1555 | h_run setscrreg |
1556 | } | | 1556 | } |
1557 | | | 1557 | |
1558 | atf_test_case wsetscrreg | | 1558 | atf_test_case wsetscrreg |
1559 | wsetscrreg_head() | | 1559 | wsetscrreg_head() |
1560 | { | | 1560 | { |
1561 | atf_set "descr" "Checks if setting the scrolling region works for window" | | 1561 | atf_set "descr" "Checks if setting the scrolling region works for window" |
1562 | } | | 1562 | } |
1563 | wsetscrreg_body() | | 1563 | wsetscrreg_body() |
1564 | { | | 1564 | { |
1565 | h_run wsetscrreg | | 1565 | h_run wsetscrreg |
1566 | } | | 1566 | } |
1567 | | | 1567 | |
1568 | ########################################## | | 1568 | ########################################## |
1569 | # curses window modification routines | | 1569 | # curses window modification routines |
1570 | ########################################## | | 1570 | ########################################## |
1571 | | | 1571 | |
1572 | atf_test_case touchline | | 1572 | atf_test_case touchline |
1573 | touchline_head() | | 1573 | touchline_head() |
1574 | { | | 1574 | { |
1575 | atf_set "descr" "Checks touchline to touch lines" | | 1575 | atf_set "descr" "Checks touchline to touch lines" |
1576 | } | | 1576 | } |
1577 | touchline_body() | | 1577 | touchline_body() |
1578 | { | | 1578 | { |
1579 | h_run touchline | | 1579 | h_run touchline |
1580 | } | | 1580 | } |
1581 | | | 1581 | |
1582 | atf_test_case touchoverlap | | 1582 | atf_test_case touchoverlap |
1583 | touchoverlap_head() | | 1583 | touchoverlap_head() |
1584 | { | | 1584 | { |
1585 | atf_set "descr" "Check touching of partial and full overlap of windows" | | 1585 | atf_set "descr" "Check touching of partial and full overlap of windows" |
1586 | } | | 1586 | } |
1587 | touchoverlap_body() | | 1587 | touchoverlap_body() |
1588 | { | | 1588 | { |
1589 | h_run touchoverlap | | 1589 | h_run touchoverlap |
1590 | } | | 1590 | } |
1591 | | | 1591 | |
1592 | atf_test_case touchwin | | 1592 | atf_test_case touchwin |
1593 | touchwin_head() | | 1593 | touchwin_head() |
1594 | { | | 1594 | { |
1595 | atf_set "descr" "Tests touching of window to completely refresh it" | | 1595 | atf_set "descr" "Tests touching of window to completely refresh it" |
1596 | } | | 1596 | } |
1597 | touchwin_body() | | 1597 | touchwin_body() |
1598 | { | | 1598 | { |
1599 | h_run touchwin | | 1599 | h_run touchwin |
1600 | } | | 1600 | } |
1601 | | | 1601 | |
1602 | atf_test_case untouchwin | | 1602 | atf_test_case untouchwin |
1603 | untouchwin_head() | | 1603 | untouchwin_head() |
1604 | { | | 1604 | { |
1605 | atf_set "descr" "Tests untouching the changes made to window so they are not reflected in refresh" | | 1605 | atf_set "descr" "Tests untouching the changes made to window so they are not reflected in refresh" |
1606 | } | | 1606 | } |
1607 | untouchwin_body() | | 1607 | untouchwin_body() |
1608 | { | | 1608 | { |
1609 | h_run untouchwin | | 1609 | h_run untouchwin |
1610 | } | | 1610 | } |
1611 | | | 1611 | |
1612 | atf_test_case wtouchln | | 1612 | atf_test_case wtouchln |
1613 | wtouchln_head() | | 1613 | wtouchln_head() |
1614 | { | | 1614 | { |
1615 | atf_set "descr" "Tests touching of mulitple lines in window" | | 1615 | atf_set "descr" "Tests touching of mulitple lines in window" |
1616 | } | | 1616 | } |
1617 | wtouchln_body() | | 1617 | wtouchln_body() |
1618 | { | | 1618 | { |
1619 | h_run wtouchln | | 1619 | h_run wtouchln |
1620 | } | | 1620 | } |
1621 | | | 1621 | |
1622 | atf_test_case is_linetouched | | 1622 | atf_test_case is_linetouched |
1623 | is_linetouched_head() | | 1623 | is_linetouched_head() |
1624 | { | | 1624 | { |
1625 | atf_set "descr" "Check if a line has been modified in a window" | | 1625 | atf_set "descr" "Check if a line has been modified in a window" |
1626 | } | | 1626 | } |
1627 | is_linetouched_body() | | 1627 | is_linetouched_body() |
1628 | { | | 1628 | { |
1629 | h_run is_linetouched | | 1629 | h_run is_linetouched |
1630 | } | | 1630 | } |
1631 | | | 1631 | |
1632 | atf_test_case is_wintouched | | 1632 | atf_test_case is_wintouched |
1633 | is_wintouched_head() | | 1633 | is_wintouched_head() |
1634 | { | | 1634 | { |
1635 | atf_set "descr" "Check if a window has been modified" | | 1635 | atf_set "descr" "Check if a window has been modified" |
1636 | } | | 1636 | } |
1637 | is_wintouched_body() | | 1637 | is_wintouched_body() |
1638 | { | | 1638 | { |
1639 | h_run is_wintouched | | 1639 | h_run is_wintouched |
1640 | } | | 1640 | } |
1641 | | | 1641 | |
1642 | atf_test_case redrawwin | | 1642 | atf_test_case redrawwin |
1643 | redrawwin_head() | | 1643 | redrawwin_head() |
1644 | { | | 1644 | { |
1645 | atf_set "descr" "Tests marking whole window as touched and redraw it" | | 1645 | atf_set "descr" "Tests marking whole window as touched and redraw it" |
1646 | } | | 1646 | } |
1647 | redrawwin_body() | | 1647 | redrawwin_body() |
1648 | { | | 1648 | { |
1649 | h_run redrawwin | | 1649 | h_run redrawwin |
1650 | } | | 1650 | } |
1651 | | | 1651 | |
1652 | atf_test_case wredrawln | | 1652 | atf_test_case wredrawln |
1653 | wredrawln_head() | | 1653 | wredrawln_head() |
1654 | { | | 1654 | { |
1655 | atf_set "descr" "Tests marking line in window as touched and redraw it" | | 1655 | atf_set "descr" "Tests marking line in window as touched and redraw it" |
1656 | } | | 1656 | } |
1657 | wredrawln_body() | | 1657 | wredrawln_body() |
1658 | { | | 1658 | { |
1659 | h_run wredrawln | | 1659 | h_run wredrawln |
1660 | } | | 1660 | } |
1661 | | | 1661 | |
1662 | ########################################## | | 1662 | ########################################## |
1663 | # curses soft label key routines | | 1663 | # curses soft label key routines |
1664 | ########################################## | | 1664 | ########################################## |
1665 | | | 1665 | |
1666 | atf_test_case slk | | 1666 | atf_test_case slk |
1667 | slk_head() | | 1667 | slk_head() |
1668 | { | | 1668 | { |
1669 | atf_set "descr" "Tests routines related to soft key labels" | | 1669 | atf_set "descr" "Tests routines related to soft key labels" |
1670 | } | | 1670 | } |
1671 | slk_body() | | 1671 | slk_body() |
1672 | { | | 1672 | { |
1673 | h_run slk en_US.UTF-8 | | 1673 | h_run slk en_US.UTF-8 |
1674 | } | | 1674 | } |
1675 | | | 1675 | |
1676 | ########################################## | | 1676 | ########################################## |
1677 | # curses draw lines on windows routines | | 1677 | # curses draw lines on windows routines |
1678 | ########################################## | | 1678 | ########################################## |
1679 | | | 1679 | |
1680 | atf_test_case hline | | 1680 | atf_test_case hline |
1681 | hline_head() | | 1681 | hline_head() |
1682 | { | | 1682 | { |
1683 | atf_set "descr" "Draw a horizontal line on stdscr" | | 1683 | atf_set "descr" "Draw a horizontal line on stdscr" |
1684 | } | | 1684 | } |
1685 | hline_body() | | 1685 | hline_body() |
1686 | { | | 1686 | { |
1687 | h_run hline | | 1687 | h_run hline |
1688 | } | | 1688 | } |
1689 | | | 1689 | |
1690 | atf_test_case whline | | 1690 | atf_test_case whline |
1691 | whline_head() | | 1691 | whline_head() |
1692 | { | | 1692 | { |
1693 | atf_set "descr" "Draw a horizontal line on window - tests mvwhline too" | | 1693 | atf_set "descr" "Draw a horizontal line on window - tests mvwhline too" |
1694 | } | | 1694 | } |
1695 | whline_body() | | 1695 | whline_body() |
1696 | { | | 1696 | { |
1697 | h_run whline | | 1697 | h_run whline |
1698 | } | | 1698 | } |
1699 | | | 1699 | |
1700 | atf_test_case mvhline | | 1700 | atf_test_case mvhline |
1701 | mvhline_head() | | 1701 | mvhline_head() |
1702 | { | | 1702 | { |
1703 | atf_set "descr" "Move the cursor and draw a horizontal line" | | 1703 | atf_set "descr" "Move the cursor and draw a horizontal line" |
1704 | } | | 1704 | } |
1705 | mvhline_body() | | 1705 | mvhline_body() |
1706 | { | | 1706 | { |
1707 | h_run mvhline | | 1707 | h_run mvhline |
1708 | } | | 1708 | } |
1709 | | | 1709 | |
1710 | atf_test_case wvline | | 1710 | atf_test_case wvline |
1711 | wvline_head() | | 1711 | wvline_head() |
1712 | { | | 1712 | { |
1713 | atf_set "descr" "Draw a vertical line on window - tests mvwvline too" | | 1713 | atf_set "descr" "Draw a vertical line on window - tests mvwvline too" |
1714 | } | | 1714 | } |
1715 | wvline_body() | | 1715 | wvline_body() |
1716 | { | | 1716 | { |
1717 | h_run wvline | | 1717 | h_run wvline |
1718 | } | | 1718 | } |
1719 | | | 1719 | |
1720 | atf_test_case mvvline | | 1720 | atf_test_case mvvline |
1721 | mvvline_head() | | 1721 | mvvline_head() |
1722 | { | | 1722 | { |
1723 | atf_set "descr" "Move the cursor and draw a vertical line - tests vline too" | | 1723 | atf_set "descr" "Move the cursor and draw a vertical line - tests vline too" |
1724 | } | | 1724 | } |
1725 | mvvline_body() | | 1725 | mvvline_body() |
1726 | { | | 1726 | { |
1727 | h_run mvvline | | 1727 | h_run mvvline |
1728 | } | | 1728 | } |
1729 | | | 1729 | |
1730 | atf_test_case hline_set | | 1730 | atf_test_case hline_set |
1731 | hline_set_head() | | 1731 | hline_set_head() |
1732 | { | | 1732 | { |
1733 | atf_set "descr" "Draws a horizontal line on stdscr using complex character" | | 1733 | atf_set "descr" "Draws a horizontal line on stdscr using complex character" |
1734 | } | | 1734 | } |
1735 | hline_set_body() | | 1735 | hline_set_body() |
1736 | { | | 1736 | { |
1737 | h_run hline_set en_US.UTF-8 | | 1737 | h_run hline_set en_US.UTF-8 |
1738 | } | | 1738 | } |
1739 | | | 1739 | |
1740 | atf_test_case whline_set | | 1740 | atf_test_case whline_set |
1741 | whline_set_head() | | 1741 | whline_set_head() |
1742 | { | | 1742 | { |
1743 | atf_set "descr" "Draws a horizontal line on window using complex character" | | 1743 | atf_set "descr" "Draws a horizontal line on window using complex character" |
1744 | } | | 1744 | } |
1745 | whline_set_body() | | 1745 | whline_set_body() |
1746 | { | | 1746 | { |
1747 | h_run whline_set en_US.UTF-8 | | 1747 | h_run whline_set en_US.UTF-8 |
1748 | } | | 1748 | } |
1749 | | | 1749 | |
1750 | atf_test_case vline_set | | 1750 | atf_test_case vline_set |
1751 | vline_set_head() | | 1751 | vline_set_head() |
1752 | { | | 1752 | { |
1753 | atf_set "descr" "Draws a vertical line on stdscr using complex character" | | 1753 | atf_set "descr" "Draws a vertical line on stdscr using complex character" |
1754 | } | | 1754 | } |
1755 | vline_set_body() | | 1755 | vline_set_body() |
1756 | { | | 1756 | { |
1757 | h_run vline_set en_US.UTF-8 | | 1757 | h_run vline_set en_US.UTF-8 |
1758 | } | | 1758 | } |
1759 | | | 1759 | |
1760 | atf_test_case wvline_set | | 1760 | atf_test_case wvline_set |
1761 | wvline_set_head() | | 1761 | wvline_set_head() |
1762 | { | | 1762 | { |
1763 | atf_set "descr" "Draws a vertical line on window using complex character" | | 1763 | atf_set "descr" "Draws a vertical line on window using complex character" |
1764 | } | | 1764 | } |
1765 | wvline_set_body() | | 1765 | wvline_set_body() |
1766 | { | | 1766 | { |
1767 | h_run wvline_set en_US.UTF-8 | | 1767 | h_run wvline_set en_US.UTF-8 |
1768 | } | | 1768 | } |
1769 | | | 1769 | |
1770 | ########################################## | | 1770 | ########################################## |
1771 | # curses pad routines | | 1771 | # curses pad routines |
1772 | ########################################## | | 1772 | ########################################## |
1773 | | | 1773 | |
1774 | atf_test_case pad | | 1774 | atf_test_case pad |
1775 | pad_head() | | 1775 | pad_head() |
1776 | { | | 1776 | { |
1777 | atf_set "descr" "Test the newpad, subpad, pnoutrefresh and prefresh functions" | | 1777 | atf_set "descr" "Test the newpad, subpad, pnoutrefresh and prefresh functions" |
1778 | } | | 1778 | } |
1779 | pad_body() | | 1779 | pad_body() |
1780 | { | | 1780 | { |
1781 | h_run pad | | 1781 | h_run pad |
1782 | } | | 1782 | } |
1783 | | | 1783 | |
1784 | atf_test_case pechochar | | 1784 | atf_test_case pechochar |
1785 | pechochar_head() | | 1785 | pechochar_head() |
1786 | { | | 1786 | { |
1787 | atf_set "descr" "Tests pechochar and pecho_wchar functions" | | 1787 | atf_set "descr" "Tests pechochar and pecho_wchar functions" |
1788 | } | | 1788 | } |
1789 | pechochar_body() | | 1789 | pechochar_body() |
1790 | { | | 1790 | { |
1791 | h_run pechochar en_US.UTF-8 | | 1791 | h_run pechochar en_US.UTF-8 |
1792 | } | | 1792 | } |
1793 | | | 1793 | |
1794 | ########################################## | | 1794 | ########################################## |
1795 | # curses cursor and window location and positioning routines | | 1795 | # curses cursor and window location and positioning routines |
1796 | ########################################## | | 1796 | ########################################## |
1797 | | | 1797 | |
1798 | atf_test_case cursor | | 1798 | atf_test_case cursor |
1799 | cursor_head() | | 1799 | cursor_head() |
1800 | { | | 1800 | { |
1801 | atf_set "descr" "Tests cursor positioning and window location routines" | | 1801 | atf_set "descr" "Tests cursor positioning and window location routines" |
1802 | } | | 1802 | } |
1803 | cursor_body() | | 1803 | cursor_body() |
1804 | { | | 1804 | { |
1805 | h_run cursor | | 1805 | h_run cursor |
1806 | } | | 1806 | } |
1807 | | | 1807 | |
1808 | atf_test_case getcurx | | 1808 | atf_test_case getcurx |
1809 | getcurx_head() | | 1809 | getcurx_head() |
1810 | { | | 1810 | { |
1811 | atf_set "descr" "Validate curses getting cursor locations in a window" | | 1811 | atf_set "descr" "Validate curses getting cursor locations in a window" |
1812 | } | | 1812 | } |
1813 | getcurx_body() | | 1813 | getcurx_body() |
1814 | { | | 1814 | { |
1815 | h_run getcurx | | 1815 | h_run getcurx |
1816 | } | | 1816 | } |
1817 | | | 1817 | |
1818 | atf_test_case getmaxx | | 1818 | atf_test_case getmaxx |
1819 | getmaxx_head() | | 1819 | getmaxx_head() |
1820 | { | | 1820 | { |
1821 | atf_set "descr" "Validate curses getting the maximum x value of a window" | | 1821 | atf_set "descr" "Validate curses getting the maximum x value of a window" |
1822 | } | | 1822 | } |
1823 | getmaxx_body() | | 1823 | getmaxx_body() |
1824 | { | | 1824 | { |
1825 | h_run getmaxx | | 1825 | h_run getmaxx |
1826 | } | | 1826 | } |
1827 | | | 1827 | |
1828 | atf_test_case getmaxy | | 1828 | atf_test_case getmaxy |
1829 | getmaxy_head() | | 1829 | getmaxy_head() |
1830 | { | | 1830 | { |
1831 | atf_set "descr" "Validate curses getting the maximum y value of a window" | | 1831 | atf_set "descr" "Validate curses getting the maximum y value of a window" |
1832 | } | | 1832 | } |
1833 | getmaxy_body() | | 1833 | getmaxy_body() |
1834 | { | | 1834 | { |
1835 | h_run getmaxy | | 1835 | h_run getmaxy |
1836 | } | | 1836 | } |
1837 | | | 1837 | |
1838 | atf_test_case getparx | | 1838 | atf_test_case getparx |
1839 | getparx_head() | | 1839 | getparx_head() |
1840 | { | | 1840 | { |
1841 | atf_set "descr" "Check getting the location of a window relative to its parent" | | 1841 | atf_set "descr" "Check getting the location of a window relative to its parent" |
1842 | } | | 1842 | } |
1843 | getparx_body() | | 1843 | getparx_body() |
1844 | { | | 1844 | { |
1845 | h_run getparx | | 1845 | h_run getparx |
1846 | } | | 1846 | } |
1847 | | | 1847 | |
1848 | atf_test_case getbegy | | 1848 | atf_test_case getbegy |
1849 | getbegy_head() | | 1849 | getbegy_head() |
1850 | { | | 1850 | { |
1851 | atf_set "descr" "Validate curses getting the maximum y value of a window" | | 1851 | atf_set "descr" "Validate curses getting the maximum y value of a window" |
1852 | } | | 1852 | } |
1853 | getbegy_body() | | 1853 | getbegy_body() |
1854 | { | | 1854 | { |
1855 | h_run getbegy | | 1855 | h_run getbegy |
1856 | } | | 1856 | } |
1857 | | | 1857 | |
1858 | atf_test_case getbegx | | 1858 | atf_test_case getbegx |
1859 | getbegx_head() | | 1859 | getbegx_head() |
1860 | { | | 1860 | { |
1861 | atf_set "descr" "Validate curses getting the maximum y value of a window" | | 1861 | atf_set "descr" "Validate curses getting the maximum y value of a window" |
1862 | } | | 1862 | } |
1863 | getbegx_body() | | 1863 | getbegx_body() |
1864 | { | | 1864 | { |
1865 | h_run getbegx | | 1865 | h_run getbegx |
1866 | } | | 1866 | } |
1867 | | | 1867 | |
1868 | atf_test_case mvcur | | 1868 | atf_test_case mvcur |
1869 | mvcur_head() | | 1869 | mvcur_head() |
1870 | { | | 1870 | { |
1871 | atf_set "descr" "Move the cursor on the screen" | | 1871 | atf_set "descr" "Move the cursor on the screen" |
1872 | } | | 1872 | } |
1873 | mvcur_body() | | 1873 | mvcur_body() |
1874 | { | | 1874 | { |
1875 | h_run mvcur | | 1875 | h_run mvcur |
1876 | } | | 1876 | } |
1877 | | | 1877 | |
1878 | | | 1878 | |
1879 | ########################################## | | 1879 | ########################################## |
1880 | # curses window routines | | 1880 | # curses window routines |
1881 | ########################################## | | 1881 | ########################################## |
1882 | | | 1882 | |
1883 | atf_test_case copywin | | 1883 | atf_test_case copywin |
1884 | copywin_head() | | 1884 | copywin_head() |
1885 | { | | 1885 | { |
1886 | atf_set "descr" "Check all the modes of copying a window work" | | 1886 | atf_set "descr" "Check all the modes of copying a window work" |
1887 | } | | 1887 | } |
1888 | copywin_body() | | 1888 | copywin_body() |
1889 | { | | 1889 | { |
1890 | h_run copywin | | 1890 | h_run copywin |
1891 | } | | 1891 | } |
1892 | | | 1892 | |
1893 | atf_test_case dupwin | | 1893 | atf_test_case dupwin |
1894 | dupwin_head() | | 1894 | dupwin_head() |
1895 | { | | 1895 | { |
1896 | atf_set "descr" "Check duplicating a window works" | | 1896 | atf_set "descr" "Check duplicating a window works" |
1897 | } | | 1897 | } |
1898 | dupwin_body() | | 1898 | dupwin_body() |
1899 | { | | 1899 | { |
1900 | h_run dupwin | | 1900 | h_run dupwin |
1901 | } | | 1901 | } |
1902 | | | 1902 | |
1903 | atf_test_case delwin | | 1903 | atf_test_case delwin |
1904 | delwin_head() | | 1904 | delwin_head() |
1905 | { | | 1905 | { |
1906 | atf_set "descr" "Tests deleting a window" | | 1906 | atf_set "descr" "Tests deleting a window" |
1907 | } | | 1907 | } |
1908 | delwin_body() | | 1908 | delwin_body() |
1909 | { | | 1909 | { |
1910 | h_run delwin | | 1910 | h_run delwin |
1911 | } | | 1911 | } |
1912 | | | 1912 | |
1913 | atf_test_case derwin | | 1913 | atf_test_case derwin |
1914 | derwin_head() | | 1914 | derwin_head() |
1915 | { | | 1915 | { |
1916 | atf_set "descr" "Check derived subwindow creation behaves correctly." | | 1916 | atf_set "descr" "Check derived subwindow creation behaves correctly." |
1917 | } | | 1917 | } |
1918 | derwin_body() | | 1918 | derwin_body() |
1919 | { | | 1919 | { |
1920 | h_run derwin | | 1920 | h_run derwin |
1921 | } | | 1921 | } |
1922 | | | 1922 | |
1923 | atf_test_case mvwin | | 1923 | atf_test_case mvwin |
1924 | mvwin_head() | | 1924 | mvwin_head() |
1925 | { | | 1925 | { |
1926 | atf_set "descr" "Check moving a window" | | 1926 | atf_set "descr" "Check moving a window" |
1927 | } | | 1927 | } |
1928 | mvwin_body() | | 1928 | mvwin_body() |
1929 | { | | 1929 | { |
1930 | h_run mvwin | | 1930 | h_run mvwin |
1931 | } | | 1931 | } |
1932 | | | 1932 | |
1933 | atf_test_case mvderwin | | 1933 | atf_test_case mvderwin |
1934 | mvderwin_head() | | 1934 | mvderwin_head() |
1935 | { | | 1935 | { |
1936 | atf_set "descr" "Move the mapping of a region relative to the parent" | | 1936 | atf_set "descr" "Move the mapping of a region relative to the parent" |
1937 | } | | 1937 | } |
1938 | mvderwin_body() | | 1938 | mvderwin_body() |
1939 | { | | 1939 | { |
1940 | h_run mvderwin | | 1940 | h_run mvderwin |
1941 | } | | 1941 | } |
1942 | | | 1942 | |
1943 | atf_test_case newwin | | 1943 | atf_test_case newwin |
1944 | newwin_head() | | 1944 | newwin_head() |
1945 | { | | 1945 | { |
1946 | atf_set "descr" "Check creating a new window" | | 1946 | atf_set "descr" "Check creating a new window" |
1947 | } | | 1947 | } |
1948 | newwin_body() | | 1948 | newwin_body() |
1949 | { | | 1949 | { |
1950 | h_run newwin | | 1950 | h_run newwin |
1951 | } | | 1951 | } |
1952 | | | 1952 | |
1953 | atf_test_case overlay | | 1953 | atf_test_case overlay |
1954 | overlay_head() | | 1954 | overlay_head() |
1955 | { | | 1955 | { |
1956 | atf_set "descr" "Checks overlaying the overlapping portion of two windows" | | 1956 | atf_set "descr" "Checks overlaying the overlapping portion of two windows" |
1957 | } | | 1957 | } |
1958 | overlay_body() | | 1958 | overlay_body() |
1959 | { | | 1959 | { |
1960 | h_run overlay | | 1960 | h_run overlay |
1961 | } | | 1961 | } |
1962 | | | 1962 | |
1963 | atf_test_case overwrite | | 1963 | atf_test_case overwrite |
1964 | overwrite_head() | | 1964 | overwrite_head() |
1965 | { | | 1965 | { |
1966 | atf_set "descr" "Checks overwriting the overlapping portion of two windows" | | 1966 | atf_set "descr" "Checks overwriting the overlapping portion of two windows" |
1967 | } | | 1967 | } |
1968 | overwrite_body() | | 1968 | overwrite_body() |
1969 | { | | 1969 | { |
1970 | h_run overwrite en_US.UTF-8 | | 1970 | h_run overwrite en_US.UTF-8 |
1971 | } | | 1971 | } |
1972 | | | 1972 | |
1973 | atf_test_case getwin | | 1973 | atf_test_case getwin |
1974 | getwin_head() | | 1974 | getwin_head() |
1975 | { | | 1975 | { |
1976 | atf_set "descr" "Tests dumping window to, and reloading window from, a file" | | 1976 | atf_set "descr" "Tests dumping window to, and reloading window from, a file" |
1977 | } | | 1977 | } |
1978 | getwin_body() | | 1978 | getwin_body() |
1979 | { | | 1979 | { |
1980 | h_run getwin | | 1980 | h_run getwin |
1981 | } | | 1981 | } |
1982 | | | 1982 | |
1983 | ########################################## | | 1983 | ########################################## |
1984 | # curses background attribute manipulation routines | | 1984 | # curses background attribute manipulation routines |
1985 | ########################################## | | 1985 | ########################################## |
1986 | | | 1986 | |
1987 | atf_test_case background | | 1987 | atf_test_case background |
1988 | background_head() | | 1988 | background_head() |
1989 | { | | 1989 | { |
1990 | atf_set "descr" "Check setting background character and attributes for both stdscr and a window." | | 1990 | atf_set "descr" "Check setting background character and attributes for both stdscr and a window." |
1991 | } | | 1991 | } |
1992 | background_body() | | 1992 | background_body() |
1993 | { | | 1993 | { |
1994 | h_run background | | 1994 | h_run background |
1995 | } | | 1995 | } |
1996 | | | 1996 | |
1997 | atf_test_case bkgdset | | 1997 | atf_test_case bkgdset |
1998 | bkgdset_head() | | 1998 | bkgdset_head() |
1999 | { | | 1999 | { |
2000 | atf_set "descr" "Validate curses set the background attributes on stdscr" | | 2000 | atf_set "descr" "Validate curses set the background attributes on stdscr" |
2001 | } | | 2001 | } |
2002 | bkgdset_body() | | 2002 | bkgdset_body() |
2003 | { | | 2003 | { |
2004 | h_run bkgdset | | 2004 | h_run bkgdset |
2005 | } | | 2005 | } |
2006 | | | 2006 | |
2007 | atf_test_case getbkgd | | 2007 | atf_test_case getbkgd |
2008 | getbkgd_head() | | 2008 | getbkgd_head() |
2009 | { | | 2009 | { |
2010 | atf_set "descr" "Validate curses getting the background attributes on stdscr" | | 2010 | atf_set "descr" "Validate curses getting the background attributes on stdscr" |
2011 | } | | 2011 | } |
2012 | getbkgd_body() | | 2012 | getbkgd_body() |
2013 | { | | 2013 | { |
2014 | h_run getbkgd | | 2014 | h_run getbkgd |
2015 | } | | 2015 | } |
2016 | | | 2016 | |
2017 | ########################################## | | 2017 | ########################################## |
2018 | # curses border drawing routines | | 2018 | # curses border drawing routines |
2019 | ########################################## | | 2019 | ########################################## |
2020 | | | 2020 | |
2021 | atf_test_case box | | 2021 | atf_test_case box |
2022 | box_head() | | 2022 | box_head() |
2023 | { | | 2023 | { |
2024 | atf_set "descr" "Checks drawing a box around a window" | | 2024 | atf_set "descr" "Checks drawing a box around a window" |
2025 | } | | 2025 | } |
2026 | box_body() | | 2026 | box_body() |
2027 | { | | 2027 | { |
2028 | h_run box | | 2028 | h_run box |
2029 | } | | 2029 | } |
2030 | | | 2030 | |
2031 | atf_test_case box_set | | 2031 | atf_test_case box_set |
2032 | box_set_head() | | 2032 | box_set_head() |
2033 | { | | 2033 | { |
2034 | atf_set "descr" "Checks drawing the box from complex character" | | 2034 | atf_set "descr" "Checks drawing the box from complex character" |
2035 | } | | 2035 | } |
2036 | box_set_body() | | 2036 | box_set_body() |
2037 | { | | 2037 | { |
2038 | h_run box_set en_US.UTF-8 | | 2038 | h_run box_set en_US.UTF-8 |
2039 | } | | 2039 | } |
2040 | | | 2040 | |
2041 | atf_test_case wborder | | 2041 | atf_test_case wborder |
2042 | wborder_head() | | 2042 | wborder_head() |
2043 | { | | 2043 | { |
2044 | atf_set "descr" "Checks drawing a border around a window" | | 2044 | atf_set "descr" "Checks drawing a border around a window" |
2045 | } | | 2045 | } |
2046 | wborder_body() | | 2046 | wborder_body() |
2047 | { | | 2047 | { |
2048 | h_run wborder | | 2048 | h_run wborder |
2049 | } | | 2049 | } |
2050 | | | 2050 | |
2051 | atf_test_case border_set | | 2051 | atf_test_case border_set |
2052 | border_set_head() | | 2052 | border_set_head() |
2053 | { | | 2053 | { |
2054 | atf_set "descr" "Checks drawing borders from complex characters and renditions on stdscr" | | 2054 | atf_set "descr" "Checks drawing borders from complex characters and renditions on stdscr" |
2055 | } | | 2055 | } |
2056 | border_set_body() | | 2056 | border_set_body() |
2057 | { | | 2057 | { |
2058 | h_run border_set en_US.UTF-8 | | 2058 | h_run border_set en_US.UTF-8 |
2059 | } | | 2059 | } |
2060 | | | 2060 | |
2061 | atf_test_case wborder_set | | 2061 | atf_test_case wborder_set |
2062 | wborder_set_head() | | 2062 | wborder_set_head() |
2063 | { | | 2063 | { |
2064 | atf_set "descr" "Checks drawing borders from complex characters and renditions on window" | | 2064 | atf_set "descr" "Checks drawing borders from complex characters and renditions on window" |
2065 | } | | 2065 | } |
2066 | wborder_set_body() | | 2066 | wborder_set_body() |
2067 | { | | 2067 | { |
2068 | h_run wborder_set en_US.UTF-8 | | 2068 | h_run wborder_set en_US.UTF-8 |
2069 | } | | 2069 | } |
2070 | | | 2070 | |
2071 | ########################################## | | 2071 | ########################################## |
2072 | # curses insert or delete lines routines | | 2072 | # curses insert or delete lines routines |
2073 | ########################################## | | 2073 | ########################################## |
2074 | | | 2074 | |
2075 | atf_test_case deleteln | | 2075 | atf_test_case deleteln |
2076 | deleteln_head() | | 2076 | deleteln_head() |
2077 | { | | 2077 | { |
2078 | atf_set "descr" "Checks curses can delete lines from stdscr and window both" | | 2078 | atf_set "descr" "Checks curses can delete lines from stdscr and window both" |
2079 | } | | 2079 | } |
2080 | deleteln_body() | | 2080 | deleteln_body() |
2081 | { | | 2081 | { |
2082 | h_run deleteln | | 2082 | h_run deleteln |
2083 | } | | 2083 | } |
2084 | | | 2084 | |
2085 | atf_test_case insertln | | 2085 | atf_test_case insertln |
2086 | insertln_head() | | 2086 | insertln_head() |
2087 | { | | 2087 | { |
2088 | atf_set "descr" "Checks curses can insert lines from stdscr and window both" | | 2088 | atf_set "descr" "Checks curses can insert lines from stdscr and window both" |
2089 | } | | 2089 | } |
2090 | insertln_body() | | 2090 | insertln_body() |
2091 | { | | 2091 | { |
2092 | h_run insertln | | 2092 | h_run insertln |
2093 | } | | 2093 | } |
2094 | | | 2094 | |
2095 | atf_test_case insdelln | | 2095 | atf_test_case insdelln |
2096 | insdelln_head() | | 2096 | insdelln_head() |
2097 | { | | 2097 | { |
2098 | atf_set "descr" "Checks curses can insert/delete lines from stdscr and window both based on argument" | | 2098 | atf_set "descr" "Checks curses can insert/delete lines from stdscr and window both based on argument" |
2099 | } | | 2099 | } |
2100 | insdelln_body() | | 2100 | insdelln_body() |
2101 | { | | 2101 | { |
2102 | h_run insdelln | | 2102 | h_run insdelln |
2103 | } | | 2103 | } |
2104 | | | 2104 | |
2105 | ########################################## | | 2105 | ########################################## |
2106 | # curses print formatted strings on windows routines | | 2106 | # curses print formatted strings on windows routines |
2107 | ########################################## | | 2107 | ########################################## |
2108 | | | 2108 | |
2109 | atf_test_case wprintw | | 2109 | atf_test_case wprintw |
2110 | wprintw_head() | | 2110 | wprintw_head() |
2111 | { | | 2111 | { |
2112 | atf_set "descr" "Checks printing to a window" | | 2112 | atf_set "descr" "Checks printing to a window" |
2113 | } | | 2113 | } |
2114 | wprintw_body() | | 2114 | wprintw_body() |
2115 | { | | 2115 | { |
2116 | h_run wprintw | | 2116 | h_run wprintw |
2117 | } | | 2117 | } |
2118 | | | 2118 | |
2119 | atf_test_case mvprintw | | 2119 | atf_test_case mvprintw |
2120 | mvprintw_head() | | 2120 | mvprintw_head() |
2121 | { | | 2121 | { |
2122 | atf_set "descr" "Move the cursor and print a string" | | 2122 | atf_set "descr" "Move the cursor and print a string" |
2123 | } | | 2123 | } |
2124 | mvprintw_body() | | 2124 | mvprintw_body() |
2125 | { | | 2125 | { |
2126 | h_run mvprintw | | 2126 | h_run mvprintw |
2127 | } | | 2127 | } |
2128 | | | 2128 | |
2129 | atf_test_case mvscanw | | 2129 | atf_test_case mvscanw |
2130 | mvscanw_head() | | 2130 | mvscanw_head() |
2131 | { | | 2131 | { |
2132 | atf_set "descr" "Move the cursor and scan for input patterns" | | 2132 | atf_set "descr" "Move the cursor and scan for input patterns" |
2133 | } | | 2133 | } |
2134 | mvscanw_body() | | 2134 | mvscanw_body() |
2135 | { | | 2135 | { |
2136 | h_run mvscanw | | 2136 | h_run mvscanw |
2137 | } | | 2137 | } |
2138 | | | 2138 | |
2139 | ########################################## | | 2139 | ########################################## |
2140 | # curses underscore attribute manipulation routines | | 2140 | # curses underscore attribute manipulation routines |
2141 | ########################################## | | 2141 | ########################################## |
2142 | | | 2142 | |
2143 | atf_test_case underscore | | 2143 | atf_test_case underscore |
2144 | underscore_head() | | 2144 | underscore_head() |
2145 | { | | 2145 | { |
2146 | atf_set "descr" "Manipulate underscore attribute on stdscr" | | 2146 | atf_set "descr" "Manipulate underscore attribute on stdscr" |
2147 | } | | 2147 | } |
2148 | underscore_body() | | 2148 | underscore_body() |
2149 | { | | 2149 | { |
2150 | h_run underscore | | 2150 | h_run underscore |
2151 | } | | 2151 | } |
2152 | | | 2152 | |
2153 | atf_test_case wunderscore | | 2153 | atf_test_case wunderscore |
2154 | wunderscore_head() | | 2154 | wunderscore_head() |
2155 | { | | 2155 | { |
2156 | atf_set "descr" "Manipulate underscore attribute on window" | | 2156 | atf_set "descr" "Manipulate underscore attribute on window" |
2157 | } | | 2157 | } |
2158 | wunderscore_body() | | 2158 | wunderscore_body() |
2159 | { | | 2159 | { |
2160 | h_run wunderscore | | 2160 | h_run wunderscore |
2161 | } | | 2161 | } |
2162 | | | 2162 | |
2163 | atf_init_test_cases() | | 2163 | atf_init_test_cases() |
2164 | { | | 2164 | { |
2165 | # testframe utility functions | | 2165 | # testframe utility functions |
2166 | atf_add_test_case startup | | 2166 | atf_add_test_case startup |
2167 | atf_add_test_case window | | 2167 | atf_add_test_case window |
2168 | atf_add_test_case start_slk | | 2168 | atf_add_test_case start_slk |
2169 | atf_add_test_case window_hierarchy | | 2169 | atf_add_test_case window_hierarchy |
2170 | atf_add_test_case two_window | | 2170 | atf_add_test_case two_window |
2171 | atf_add_test_case varcheck | | 2171 | atf_add_test_case varcheck |
2172 | | | 2172 | |
2173 | # curses add characters to window routines | | 2173 | # curses add characters to window routines |
2174 | atf_add_test_case addch | | 2174 | atf_add_test_case addch |
2175 | atf_add_test_case waddch | | 2175 | atf_add_test_case waddch |
2176 | atf_add_test_case mvaddch | | 2176 | atf_add_test_case mvaddch |
2177 | atf_add_test_case addchstr | | 2177 | atf_add_test_case addchstr |
2178 | atf_add_test_case waddchstr | | 2178 | atf_add_test_case waddchstr |
2179 | atf_add_test_case addchnstr | | 2179 | atf_add_test_case addchnstr |
2180 | atf_add_test_case waddchnstr | | 2180 | atf_add_test_case waddchnstr |
2181 | atf_add_test_case mvaddchstr | | 2181 | atf_add_test_case mvaddchstr |
2182 | atf_add_test_case mvwaddchstr | | 2182 | atf_add_test_case mvwaddchstr |
2183 | atf_add_test_case mvaddchnstr | | 2183 | atf_add_test_case mvaddchnstr |
2184 | atf_add_test_case mvwaddchnstr | | 2184 | atf_add_test_case mvwaddchnstr |
2185 | atf_add_test_case addstr | | 2185 | atf_add_test_case addstr |
2186 | atf_add_test_case addwstr | | 2186 | atf_add_test_case addwstr |
2187 | atf_add_test_case waddstr | | 2187 | atf_add_test_case waddstr |
2188 | atf_add_test_case waddwstr | | 2188 | atf_add_test_case waddwstr |
2189 | atf_add_test_case addnstr | | 2189 | atf_add_test_case addnstr |
2190 | atf_add_test_case addnwstr | | 2190 | atf_add_test_case addnwstr |
2191 | atf_add_test_case waddnstr | | 2191 | atf_add_test_case waddnstr |
2192 | atf_add_test_case waddnwstr | | 2192 | atf_add_test_case waddnwstr |
2193 | atf_add_test_case mvwaddnwstr | | 2193 | atf_add_test_case mvwaddnwstr |
2194 | atf_add_test_case mvaddstr | | 2194 | atf_add_test_case mvaddstr |
2195 | atf_add_test_case mvaddwstr | | 2195 | atf_add_test_case mvaddwstr |
2196 | atf_add_test_case mvwaddwstr | | 2196 | atf_add_test_case mvwaddwstr |
2197 | atf_add_test_case mvwaddstr | | 2197 | atf_add_test_case mvwaddstr |
2198 | atf_add_test_case mvaddnstr | | 2198 | atf_add_test_case mvaddnstr |
2199 | atf_add_test_case mvaddnwstr | | 2199 | atf_add_test_case mvaddnwstr |
2200 | atf_add_test_case mvwaddnstr | | 2200 | atf_add_test_case mvwaddnstr |
2201 | atf_add_test_case add_wch | | 2201 | atf_add_test_case add_wch |
2202 | atf_add_test_case wadd_wch | | 2202 | atf_add_test_case wadd_wch |
2203 | | | 2203 | |
2204 | # curses input stream routines | | 2204 | # curses input stream routines |
2205 | atf_add_test_case getch | | 2205 | atf_add_test_case getch |
2206 | atf_add_test_case wgetch | | 2206 | #atf_add_test_case wgetch [test is missing] |
2207 | atf_add_test_case define_key | | 2207 | atf_add_test_case define_key |
2208 | atf_add_test_case keyok | | 2208 | atf_add_test_case keyok |
2209 | atf_add_test_case getnstr | | 2209 | atf_add_test_case getnstr |
2210 | atf_add_test_case wgetnstr | | 2210 | atf_add_test_case wgetnstr |
2211 | atf_add_test_case mvgetnstr | | 2211 | atf_add_test_case mvgetnstr |
2212 | atf_add_test_case mvwgetnstr | | 2212 | atf_add_test_case mvwgetnstr |
2213 | atf_add_test_case getstr | | 2213 | atf_add_test_case getstr |
2214 | atf_add_test_case wgetstr | | 2214 | atf_add_test_case wgetstr |
2215 | atf_add_test_case mvgetstr | | 2215 | atf_add_test_case mvgetstr |
2216 | atf_add_test_case mvwgetstr | | 2216 | atf_add_test_case mvwgetstr |
2217 | atf_add_test_case keyname | | 2217 | atf_add_test_case keyname |
2218 | atf_add_test_case key_name | | 2218 | atf_add_test_case key_name |
2219 | atf_add_test_case keypad | | 2219 | atf_add_test_case keypad |
2220 | atf_add_test_case notimeout | | 2220 | atf_add_test_case notimeout |
2221 | atf_add_test_case timeout | | 2221 | atf_add_test_case timeout |
2222 | atf_add_test_case wtimeout | | 2222 | atf_add_test_case wtimeout |
2223 | atf_add_test_case nodelay | | 2223 | atf_add_test_case nodelay |
2224 | atf_add_test_case unget_wch | | 2224 | atf_add_test_case unget_wch |
2225 | atf_add_test_case getn_wstr | | 2225 | atf_add_test_case getn_wstr |
2226 | atf_add_test_case wgetn_wstr | | 2226 | atf_add_test_case wgetn_wstr |
2227 | atf_add_test_case get_wstr | | 2227 | atf_add_test_case get_wstr |
2228 | atf_add_test_case wget_wstr | | 2228 | atf_add_test_case wget_wstr |
2229 | atf_add_test_case mvgetn_wstr | | 2229 | atf_add_test_case mvgetn_wstr |
2230 | atf_add_test_case mvwgetn_wstr | | 2230 | atf_add_test_case mvwgetn_wstr |
2231 | atf_add_test_case mvget_wstr | | 2231 | atf_add_test_case mvget_wstr |
2232 | atf_add_test_case mvwget_wstr | | 2232 | atf_add_test_case mvwget_wstr |
2233 | atf_add_test_case get_wch | | 2233 | atf_add_test_case get_wch |
2234 | | | 2234 | |
2235 | # curses read screen contents routines | | 2235 | # curses read screen contents routines |
2236 | atf_add_test_case inch | | 2236 | atf_add_test_case inch |
2237 | atf_add_test_case winch | | 2237 | atf_add_test_case winch |
2238 | atf_add_test_case mvinch | | 2238 | atf_add_test_case mvinch |
2239 | atf_add_test_case mvwinch | | 2239 | atf_add_test_case mvwinch |
2240 | atf_add_test_case inchnstr | | 2240 | atf_add_test_case inchnstr |
2241 | atf_add_test_case winchnstr | | 2241 | atf_add_test_case winchnstr |
2242 | atf_add_test_case mvinchnstr | | 2242 | atf_add_test_case mvinchnstr |
2243 | atf_add_test_case mvwinchnstr | | 2243 | atf_add_test_case mvwinchnstr |
2244 | atf_add_test_case innstr | | 2244 | atf_add_test_case innstr |
2245 | atf_add_test_case winnstr | | 2245 | atf_add_test_case winnstr |
2246 | atf_add_test_case mvinnstr | | 2246 | atf_add_test_case mvinnstr |
2247 | atf_add_test_case mvwinnstr | | 2247 | atf_add_test_case mvwinnstr |
2248 | atf_add_test_case in_wch | | 2248 | atf_add_test_case in_wch |
2249 | atf_add_test_case win_wch | | 2249 | atf_add_test_case win_wch |
2250 | atf_add_test_case innwstr | | 2250 | atf_add_test_case innwstr |
2251 | atf_add_test_case winnwstr | | 2251 | atf_add_test_case winnwstr |
2252 | atf_add_test_case inwstr | | 2252 | atf_add_test_case inwstr |
2253 | atf_add_test_case winwstr | | 2253 | atf_add_test_case winwstr |
2254 | atf_add_test_case mvinnwstr | | 2254 | atf_add_test_case mvinnwstr |
2255 | atf_add_test_case mvwinnwstr | | 2255 | atf_add_test_case mvwinnwstr |
2256 | atf_add_test_case mvinwstr | | 2256 | atf_add_test_case mvinwstr |
2257 | atf_add_test_case mvwinwstr | | 2257 | atf_add_test_case mvwinwstr |
2258 | | | 2258 | |
2259 | # curses insert character to window routines | | 2259 | # curses insert character to window routines |
2260 | atf_add_test_case insch | | 2260 | atf_add_test_case insch |
2261 | atf_add_test_case winsch | | 2261 | atf_add_test_case winsch |
2262 | atf_add_test_case mvinsch | | 2262 | atf_add_test_case mvinsch |
2263 | atf_add_test_case mvwinsch | | 2263 | atf_add_test_case mvwinsch |
2264 | atf_add_test_case ins_wch | | 2264 | atf_add_test_case ins_wch |
2265 | atf_add_test_case wins_wch | | 2265 | atf_add_test_case wins_wch |
2266 | atf_add_test_case mvins_wch | | 2266 | atf_add_test_case mvins_wch |
2267 | atf_add_test_case mvwins_wch | | 2267 | atf_add_test_case mvwins_wch |
2268 | atf_add_test_case ins_nwstr | | 2268 | atf_add_test_case ins_nwstr |
2269 | atf_add_test_case wins_nwstr | | 2269 | atf_add_test_case wins_nwstr |
2270 | atf_add_test_case ins_wstr | | 2270 | atf_add_test_case ins_wstr |
2271 | atf_add_test_case wins_wstr | | 2271 | atf_add_test_case wins_wstr |
2272 | atf_add_test_case mvins_nwstr | | 2272 | atf_add_test_case mvins_nwstr |
2273 | atf_add_test_case mvwins_nwstr | | 2273 | atf_add_test_case mvwins_nwstr |
2274 | atf_add_test_case mvins_wstr | | 2274 | atf_add_test_case mvins_wstr |
2275 | atf_add_test_case mvwins_wstr | | 2275 | atf_add_test_case mvwins_wstr |
2276 | | | 2276 | |
2277 | # curses delete characters routines | | 2277 | # curses delete characters routines |
2278 | atf_add_test_case delch | | 2278 | atf_add_test_case delch |
2279 | atf_add_test_case mvdelch | | 2279 | atf_add_test_case mvdelch |
2280 | | | 2280 | |
2281 | # curses terminal manipulation routines | | 2281 | # curses terminal manipulation routines |
2282 | atf_add_test_case beep | | 2282 | atf_add_test_case beep |
2283 | atf_add_test_case flash | | 2283 | atf_add_test_case flash |
2284 | atf_add_test_case curs_set | | 2284 | atf_add_test_case curs_set |
2285 | # atf_add_test_case delay_output [WORKS CORRECTLY BUT FAILS IN TESTFRAME] | | 2285 | # atf_add_test_case delay_output [WORKS CORRECTLY BUT FAILS IN TESTFRAME] |
2286 | atf_add_test_case erasechar | | 2286 | atf_add_test_case erasechar |
2287 | atf_add_test_case erasewchar | | 2287 | atf_add_test_case erasewchar |
2288 | atf_add_test_case echochar | | 2288 | atf_add_test_case echochar |
2289 | atf_add_test_case echo_wchar | | 2289 | atf_add_test_case echo_wchar |
2290 | atf_add_test_case wecho_wchar | | 2290 | atf_add_test_case wecho_wchar |
2291 | atf_add_test_case halfdelay | | 2291 | atf_add_test_case halfdelay |
2292 | atf_add_test_case has_ic | | 2292 | atf_add_test_case has_ic |
2293 | atf_add_test_case killchar | | 2293 | atf_add_test_case killchar |
2294 | atf_add_test_case killwchar | | 2294 | atf_add_test_case killwchar |
2295 | atf_add_test_case meta | | 2295 | atf_add_test_case meta |
2296 | atf_add_test_case cbreak | | 2296 | atf_add_test_case cbreak |
2297 | atf_add_test_case nocbreak | | 2297 | atf_add_test_case nocbreak |
2298 | | | 2298 | |
2299 | # curses general attribute manipulation routines | | 2299 | # curses general attribute manipulation routines |
2300 | atf_add_test_case attributes | | 2300 | atf_add_test_case attributes |
2301 | atf_add_test_case wattributes | | 2301 | atf_add_test_case wattributes |
2302 | atf_add_test_case getattrs | | 2302 | atf_add_test_case getattrs |
2303 | atf_add_test_case color_set | | 2303 | atf_add_test_case color_set |
2304 | atf_add_test_case wcolor_set | | 2304 | atf_add_test_case wcolor_set |
2305 | atf_add_test_case termattrs | | 2305 | atf_add_test_case termattrs |
2306 | | | 2306 | |
2307 | # curses on-screen attribute manipulation routines | | 2307 | # curses on-screen attribute manipulation routines |
2308 | atf_add_test_case chgat | | 2308 | atf_add_test_case chgat |
2309 | atf_add_test_case wchgat | | 2309 | atf_add_test_case wchgat |
2310 | atf_add_test_case mvchgat | | 2310 | atf_add_test_case mvchgat |
2311 | atf_add_test_case mvwchgat | | 2311 | atf_add_test_case mvwchgat |
2312 | | | 2312 | |
2313 | # curses standout attribute manipulation routines | | 2313 | # curses standout attribute manipulation routines |
2314 | atf_add_test_case standout | | 2314 | atf_add_test_case standout |
2315 | atf_add_test_case wstandout | | 2315 | atf_add_test_case wstandout |
2316 | | | 2316 | |
2317 | # curses color manipulation routines | | 2317 | # curses color manipulation routines |
2318 | atf_add_test_case has_colors | | 2318 | atf_add_test_case has_colors |
2319 | atf_add_test_case can_change_color | | 2319 | atf_add_test_case can_change_color |
2320 | atf_add_test_case start_color | | 2320 | atf_add_test_case start_color |
2321 | atf_add_test_case pair_content | | 2321 | atf_add_test_case pair_content |
2322 | atf_add_test_case init_color | | 2322 | atf_add_test_case init_color |
2323 | atf_add_test_case color_content | | 2323 | atf_add_test_case color_content |
2324 | atf_add_test_case assume_default_colors | | 2324 | atf_add_test_case assume_default_colors |
2325 | | | 2325 | |
2326 | # curses clear window routines | | 2326 | # curses clear window routines |
2327 | atf_add_test_case clear | | 2327 | atf_add_test_case clear |
2328 | atf_add_test_case clearok | | 2328 | atf_add_test_case clearok |
2329 | | | 2329 | |
2330 | # curses terminal update routines | | 2330 | # curses terminal update routines |
2331 | atf_add_test_case doupdate | | 2331 | atf_add_test_case doupdate |
2332 | atf_add_test_case immedok | | 2332 | atf_add_test_case immedok |
2333 | atf_add_test_case leaveok | | 2333 | atf_add_test_case leaveok |
2334 | | | 2334 | |
2335 | # curses window scrolling routines | | 2335 | # curses window scrolling routines |
2336 | atf_add_test_case wscrl | | 2336 | atf_add_test_case wscrl |
2337 | atf_add_test_case scroll | | 2337 | atf_add_test_case scroll |
2338 | atf_add_test_case setscrreg | | 2338 | atf_add_test_case setscrreg |
2339 | atf_add_test_case wsetscrreg | | 2339 | atf_add_test_case wsetscrreg |
2340 | | | 2340 | |
2341 | # curses window modification routines | | 2341 | # curses window modification routines |
2342 | atf_add_test_case touchline | | 2342 | atf_add_test_case touchline |
2343 | atf_add_test_case touchoverlap | | 2343 | atf_add_test_case touchoverlap |
2344 | atf_add_test_case touchwin | | 2344 | atf_add_test_case touchwin |
2345 | atf_add_test_case untouchwin | | 2345 | atf_add_test_case untouchwin |
2346 | atf_add_test_case wtouchln | | 2346 | atf_add_test_case wtouchln |
2347 | atf_add_test_case is_linetouched | | 2347 | atf_add_test_case is_linetouched |
2348 | atf_add_test_case is_wintouched | | 2348 | atf_add_test_case is_wintouched |
2349 | atf_add_test_case redrawwin | | 2349 | atf_add_test_case redrawwin |
2350 | atf_add_test_case wredrawln | | 2350 | atf_add_test_case wredrawln |
2351 | | | 2351 | |
2352 | # curses soft label key routines | | 2352 | # curses soft label key routines |
2353 | atf_add_test_case slk | | 2353 | atf_add_test_case slk |
2354 | | | 2354 | |
2355 | # curses draw lines on windows routines | | 2355 | # curses draw lines on windows routines |
2356 | atf_add_test_case hline | | 2356 | atf_add_test_case hline |
2357 | atf_add_test_case whline | | 2357 | atf_add_test_case whline |
2358 | atf_add_test_case mvhline | | 2358 | atf_add_test_case mvhline |
2359 | atf_add_test_case wvline | | 2359 | atf_add_test_case wvline |
2360 | atf_add_test_case mvvline | | 2360 | atf_add_test_case mvvline |
2361 | atf_add_test_case hline_set | | 2361 | atf_add_test_case hline_set |
2362 | atf_add_test_case whline_set | | 2362 | atf_add_test_case whline_set |
2363 | atf_add_test_case vline_set | | 2363 | atf_add_test_case vline_set |
2364 | atf_add_test_case wvline_set | | 2364 | atf_add_test_case wvline_set |
2365 | | | 2365 | |
2366 | # curses pad routines | | 2366 | # curses pad routines |
2367 | atf_add_test_case pad | | 2367 | atf_add_test_case pad |
2368 | atf_add_test_case pechochar | | 2368 | atf_add_test_case pechochar |
2369 | | | 2369 | |
2370 | # curses cursor and window location and positioning routines | | 2370 | # curses cursor and window location and positioning routines |
2371 | atf_add_test_case cursor | | 2371 | atf_add_test_case cursor |
2372 | atf_add_test_case getcurx | | 2372 | atf_add_test_case getcurx |
2373 | atf_add_test_case getmaxx | | 2373 | atf_add_test_case getmaxx |
2374 | atf_add_test_case getmaxy | | 2374 | atf_add_test_case getmaxy |
2375 | atf_add_test_case getparx | | 2375 | atf_add_test_case getparx |
2376 | atf_add_test_case getbegy | | 2376 | atf_add_test_case getbegy |
2377 | atf_add_test_case getbegx | | 2377 | atf_add_test_case getbegx |
2378 | atf_add_test_case mvcur | | 2378 | atf_add_test_case mvcur |
2379 | | | 2379 | |
2380 | # curses window routines | | 2380 | # curses window routines |
2381 | atf_add_test_case copywin | | 2381 | atf_add_test_case copywin |
2382 | atf_add_test_case dupwin | | 2382 | atf_add_test_case dupwin |
2383 | # atf_add_test_case delwin [FAILING] | | 2383 | # atf_add_test_case delwin [FAILING] |
2384 | atf_add_test_case derwin | | 2384 | atf_add_test_case derwin |
2385 | atf_add_test_case mvwin | | 2385 | atf_add_test_case mvwin |
2386 | atf_add_test_case mvderwin | | 2386 | atf_add_test_case mvderwin |
2387 | atf_add_test_case newwin | | 2387 | atf_add_test_case newwin |
2388 | atf_add_test_case overlay | | 2388 | atf_add_test_case overlay |
2389 | atf_add_test_case overwrite | | 2389 | atf_add_test_case overwrite |
2390 | atf_add_test_case getwin | | 2390 | atf_add_test_case getwin |
2391 | | | 2391 | |
2392 | # curses background attribute manipulation routines | | 2392 | # curses background attribute manipulation routines |
2393 | atf_add_test_case background | | 2393 | atf_add_test_case background |
2394 | atf_add_test_case bkgdset | | 2394 | atf_add_test_case bkgdset |
2395 | atf_add_test_case getbkgd | | 2395 | atf_add_test_case getbkgd |
2396 | | | 2396 | |
2397 | # curses border drawing routines | | 2397 | # curses border drawing routines |
2398 | atf_add_test_case box | | 2398 | atf_add_test_case box |
2399 | atf_add_test_case box_set | | 2399 | atf_add_test_case box_set |
2400 | atf_add_test_case wborder | | 2400 | atf_add_test_case wborder |
2401 | atf_add_test_case border_set | | 2401 | atf_add_test_case border_set |
2402 | atf_add_test_case wborder_set | | 2402 | atf_add_test_case wborder_set |
2403 | | | 2403 | |
2404 | # curses insert or delete lines routines | | 2404 | # curses insert or delete lines routines |
2405 | atf_add_test_case deleteln | | 2405 | atf_add_test_case deleteln |
2406 | atf_add_test_case insertln | | 2406 | atf_add_test_case insertln |
2407 | atf_add_test_case insdelln | | 2407 | atf_add_test_case insdelln |
2408 | | | 2408 | |
2409 | # curses print formatted strings on windows routines | | 2409 | # curses print formatted strings on windows routines |
2410 | atf_add_test_case wprintw | | 2410 | atf_add_test_case wprintw |
2411 | atf_add_test_case mvprintw | | 2411 | atf_add_test_case mvprintw |
2412 | atf_add_test_case mvscanw | | 2412 | atf_add_test_case mvscanw |
2413 | | | 2413 | |
2414 | # curses underscore attribute manipulation routines | | 2414 | # curses underscore attribute manipulation routines |
2415 | atf_add_test_case underscore | | 2415 | atf_add_test_case underscore |
2416 | atf_add_test_case wunderscore | | 2416 | atf_add_test_case wunderscore |
2417 | } | | 2417 | } |
2418 | | | 2418 | |