diff --git a/test.sh b/test.sh index 683f6bb..9cf016d 100644 --- a/test.sh +++ b/test.sh @@ -47,8 +47,25 @@ stdall() { } -# Manager Tests -# ------------- +# Global Command Tests +# ----------------------- + +### "msm start" tests + +### "msm stop" tests + +### "msm restart" tests + +### "msm version" tests + + + +# Server Management Tests +# ----------------------- + +### "msm server list" tests + +### "msm server create" tests test_reserved_server_names() { local result @@ -108,6 +125,9 @@ test_create_server_with_jar_groups() { assertTrue "Server jar was not linked." "[ -f \"$SERVER_STORAGE_PATH/example/$DEFAULT_JAR\" ]" } +### "msm server delete" tests + +### "msm server rename" tests test_deleting_server_that_does_not_exist() { local result="$(stdall $SCRIPT server delete example)" @@ -116,16 +136,107 @@ test_deleting_server_that_does_not_exist() { assertTrue "" "[[ \"$result\" =~ $regex ]]" } -# Server Tests -# ------------ +# Individual Server Tests +# ----------------------- +### "msm start" tests + +### "msm stop" tests + +### "msm restart" tests + +### "msm status" tests + +### "msm connected" tests + +### "msm worlds list" tests + +### "msm worlds load" tests + +### "msm worlds ram" tests + +### "msm worlds todisk" tests + +### "msm worlds backup" tests + +### "msm worlds on" tests + +### "msm worlds off" tests + +### "msm worlds off" tests + +### "msm logroll" tests + +### "msm backup" tests + +### "msm jar" tests + +### "msm whitelist on" tests + +### "msm whitelist off" tests + +### "msm whitelist add" tests + +### "msm whitelist remove" tests + +### "msm whitelist list" tests + +### "msm blacklist player add" tests + +### "msm blacklist player remove" tests + +### "msm blacklist ip add" tests + +### "msm blacklist ip remove" tests + +### "msm blacklist list" tests + +### "msm operator add" tests + +### "msm operator remove" tests + +### "msm operator list" tests + +### "msm gamemode" tests + +### "msm kick" tests + +### "msm say" tests + +### "msm time set" tests + +### "msm time add" tests + +### "msm toggledownfall" tests + +### "msm save on" tests + +### "msm save off" tests + +### "msm save all" tests + +### "msm cmd" tests + +### "msm cmdlog" tests + +### "msm console" tests # Jargroup Tests # -------------- +### "msm jargroup list" test +### "msm jargroup create" test + +### "msm jargroup delete" test + +### "msm jargroup rename" test + +### "msm jargroup changetarget" test + +### "msm jargroup getlatest" test # Perform tests