0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-13 22:23:10 +01:00

AWSY: update list and shuffle groups (#1919)

So it's more accurate.
This commit is contained in:
kegsay 2021-07-14 10:48:34 +01:00 committed by GitHub
parent e80098e186
commit 2713d1935e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 4 deletions

View file

@ -83,7 +83,7 @@ rst GET /rooms/:room_id/state/m.room.topic gets topic
rst GET /rooms/:room_id/state fetches entire room state rst GET /rooms/:room_id/state fetches entire room state
crm POST /createRoom with creation content crm POST /createRoom with creation content
ali PUT /directory/room/:room_alias creates alias ali PUT /directory/room/:room_alias creates alias
nsp GET /rooms/:room_id/aliases lists aliases ali GET /rooms/:room_id/aliases lists aliases
jon POST /rooms/:room_id/join can join a room jon POST /rooms/:room_id/join can join a room
jon POST /join/:room_alias can join a room jon POST /join/:room_alias can join a room
jon POST /join/:room_id can join a room jon POST /join/:room_id can join a room
@ -183,7 +183,7 @@ ali Users with sufficient power-level can delete other's aliases
ali Can delete canonical alias ali Can delete canonical alias
ali Alias creators can delete alias with no ops ali Alias creators can delete alias with no ops
ali Alias creators can delete canonical alias with no ops ali Alias creators can delete canonical alias with no ops
ali Only room members can list aliases of a room msc Only room members can list aliases of a room
inv Can invite users to invite-only rooms inv Can invite users to invite-only rooms
inv Uninvited users cannot join the room inv Uninvited users cannot join the room
inv Invited user can reject invite inv Invited user can reject invite
@ -606,7 +606,7 @@ fsj Inbound: send_join rejects invalid JSON for room version 6
fed Outbound federation can send events fed Outbound federation can send events
fed Inbound federation can receive events fed Inbound federation can receive events
fed Inbound federation can receive redacted events fed Inbound federation can receive redacted events
fed Ephemeral messages received from servers are correctly expired msc Ephemeral messages received from servers are correctly expired
fed Events whose auth_events are in the wrong room do not mess up the room state fed Events whose auth_events are in the wrong room do not mess up the room state
fed Inbound federation can return events fed Inbound federation can return events
fed Inbound federation redacts events from erased users fed Inbound federation redacts events from erased users
@ -873,8 +873,14 @@ jso Invalid JSON special values
inv Can invite users to invite-only rooms (2 subtests) inv Can invite users to invite-only rooms (2 subtests)
plv setting 'm.room.name' respects room powerlevel (2 subtests) plv setting 'm.room.name' respects room powerlevel (2 subtests)
psh Messages that notify from another user increment notification_count psh Messages that notify from another user increment notification_count
psh Messages that org.matrix.msc2625.mark_unread from another user increment org.matrix.msc2625.unread_count msc Messages that org.matrix.msc2625.mark_unread from another user increment org.matrix.msc2625.unread_count
dvk Can claim one time key using POST (2 subtests) dvk Can claim one time key using POST (2 subtests)
fdk Can query remote device keys using POST (1 subtests) fdk Can query remote device keys using POST (1 subtests)
fdk Can claim remote one time key using POST (2 subtests) fdk Can claim remote one time key using POST (2 subtests)
fmj Inbound /make_join rejects attempts to join rooms where all users have left fmj Inbound /make_join rejects attempts to join rooms where all users have left
msc Local users can peek into world_readable rooms by room ID
msc We can't peek into rooms with shared history_visibility
msc We can't peek into rooms with invited history_visibility
msc We can't peek into rooms with joined history_visibility
msc Local users can peek by room alias
msc Peeked rooms only turn up in the sync for the device who peeked them

View file

@ -35,6 +35,7 @@ test_mappings = {
"nsp": "Non-Spec API", "nsp": "Non-Spec API",
"unk": "Unknown API (no group specified)", "unk": "Unknown API (no group specified)",
"app": "Application Services API", "app": "Application Services API",
"msc": "MSCs",
"f": "Federation", # flag to mark test involves federation "f": "Federation", # flag to mark test involves federation
"federation_apis": { "federation_apis": {
@ -223,6 +224,7 @@ def main(results_tap_path, verbose):
}, },
"nonspec": { "nonspec": {
"nsp": {}, "nsp": {},
"msc": {},
"unk": {} "unk": {}
}, },
} }
@ -237,6 +239,8 @@ def main(results_tap_path, verbose):
summary["nonspec"]["unk"][name] = test_result["ok"] summary["nonspec"]["unk"][name] = test_result["ok"]
if group_id == "nsp": if group_id == "nsp":
summary["nonspec"]["nsp"][name] = test_result["ok"] summary["nonspec"]["nsp"][name] = test_result["ok"]
elif group_id == "msc":
summary["nonspec"]["msc"][name] = test_result["ok"]
elif group_id == "app": elif group_id == "app":
summary["appservice"]["app"][name] = test_result["ok"] summary["appservice"]["app"][name] = test_result["ok"]
elif group_id in test_mappings["federation_apis"]: elif group_id in test_mappings["federation_apis"]: