. */ class remove_installed_test implements pts_option_interface { public static function run($r) { $identifier = $r[0]; if(pts_test_installed($identifier)) { if(pts_bool_question("Are you sure you wish to remove the test " . $identifier . " (y/N)?", false)) { pts_remove(TEST_ENV_DIR . $identifier); echo "\nThe " . $identifier . " test has been removed.\n\n"; } else { echo "\n"; } } else { echo "\n" . $identifier . " is not installed.\n\n"; } } } ?>