diff --git a/src/tests/kits/app/broster/BRosterCases b/src/tests/kits/app/broster/BRosterCases index 2608298046..b978a79ef3 100644 --- a/src/tests/kits/app/broster/BRosterCases +++ b/src/tests/kits/app/broster/BRosterCases @@ -26,7 +26,7 @@ case 2: signature is not NULL, but no app with this signature is running => Should return B_ERROR. case 3: signature is not NULL and an (two) app(s) with this signature is (are) running; quit one; quit the second one => - Should return the ID of one of the teams; the ID of the second teams; + Should return the ID of one of the teams; the ID of the second team; B_ERROR. team_id TeamFor(entry_ref *ref) const @@ -36,7 +36,7 @@ case 2: ref is not NULL, but no app with this ref is running => Should return B_ERROR. case 3: ref is not NULL and an (two) app(s) with this ref is (are) running; quit one; quit the second one => - Should return the ID of one of the teams; the ID of the second teams; + Should return the ID of one of the teams; the ID of the second team; B_ERROR. status_t GetAppInfo(const char *signature, app_info *info) const @@ -68,23 +68,23 @@ status_t GetRunningAppInfo(team_id team, app_info *info) const case 1: info is NULL => Should return B_BAD_VALUE. case 2: info is not NULL, but no app with the team ID is running => - Should return B_BAD_TEAM_ID. + Should return B_BAD_TEAM_ID, if team >= 0, B_ERROR otherwise. case 3: info is not NULL, and an app with the team ID is running => Should fill the app info and return B_OK. void GetAppList(BList *teamIDList) const case 1: teamIDList is NULL => - Should return B_BAD_VALUE. + Should do nothing. case 2: teamIDList is not NULL and not empty => Should append the team IDs of all running apps to teamIDList. void GetAppList(const char *signature, BList *teamIDList) const case 1: signature or teamIDList are NULL => - Should return B_BAD_VALUE. + Should do nothing/should not modify teamIDList. case 2: teamIDList is not NULL and not empty, signature is not NULL, but no app with this signature is running => Should not modify teamIDList. -case 3: teamIDList is not NULL and not empty, signature is not NULL, but no - app with this signature is running => +case 3: teamIDList is not NULL and not empty, signature is not NULL and + app(s) with this signature is (are) running => Should append the team IDs of all running apps with the supplied signature to teamIDList.