🤖 - 1 bot
|
WebGroup |
join
|
WebGroup#join |
should change the Signaling state
|
WebGroup#onSignalingStateChange |
should change the WebGroup state
|
WebGroup#onStateChange |
should NOT be notified about new member
|
WebGroup#onMemberJoin |
should NOT be notified about left member
|
WebGroup#onMemberLeave |
should NOT receive any message
|
WebGroup#onMessage |
should be called
|
WebGroup#onMyId |
autoRejoin should be disabled
|
WebGroup#autoRejoin |
signalinServer should not change
|
WebGroup#signalinServer |
topology should not change
|
WebGroup#topology |
should have only me as a member
|
WebGroup#members |
my id should not be 0
|
WebGroup#myId |
WebGroup id should not be 0
|
WebGroup#id |
key should be the one provided to the join method
|
WebGroup#key |
WebGroup state should be JOINED
|
WebGroup#state |
Signaling state should be CHECKED
|
WebGroup#signalingState |
leave
|
WebGroup#leave |
should change the WebGroup state
|
WebGroup#onStateChange |
should change the Signaling state
|
WebGroup#onSignalingStateChange |
should NOT be notified about new member
|
WebGroup#onMemberJoin |
should NOT be notified about left member
|
WebGroup#onMemberLeave |
should NOT receive any message
|
WebGroup#onMessage |
should NOT be called
|
WebGroup#onMyId |
autoRejoin should be disabled
|
WebGroup#autoRejoin |
signalinServer should not change
|
WebGroup#signalinServer |
topology should not change
|
WebGroup#topology |
should have no members
|
WebGroup#members |
my id should be 0
|
WebGroup#myId |
WebGroup id should be 0
|
WebGroup#id |
key should be empty
|
WebGroup#key |
WebGroup state should be LEFT
|
WebGroup#state |
Signaling state should be CLOSED
|
WebGroup#signalingState |
🙂 - 1 client
|
WebGroup |
constructor
|
WebGroup#constructor |
join
|
WebGroup#join |
should change the Signaling state
|
WebGroup#onSignalingStateChange |
Signaling state should be CHECKED
|
WebGroup#signalingState |
should change the WebGroup state
|
WebGroup#onStateChange |
WebGroup state should be JOINED
|
WebGroup#state |
should NOT be notified about new member
|
WebGroup#onMemberJoin |
should NOT be notified about left member
|
WebGroup#onMemberLeave |
should NOT receive any message
|
WebGroup#onMessage |
should be called
|
WebGroup#onMyId |
should have only me as a member
|
WebGroup#members |
my id should not be 0
|
WebGroup#myId |
WebGroup id should not be 0
|
WebGroup#id |
key should not be empty
|
WebGroup#key |
topology should not change
|
WebGroup#topology |
Signaling server should not change
|
WebGroup#signalingServer |
autoRejoin should be disabled
|
WebGroup#autoRejoin |
should join with a specified key
|
WebGroup#join |
leave
|
WebGroup#leave |
should change the WebGroup state
|
WebGroup#onStateChange |
should change the Signaling state
|
WebGroup#onSignalingStateChange |
Signaling state should be CLOSED
|
WebGroup#signalingState |
WebGroup state should be LEFT
|
WebGroup#state |
should NOT be notified about new member
|
WebGroup#onMemberJoin |
should NOT be notified about left member
|
WebGroup#onMemberLeave |
should NOT receive any message
|
WebGroup#onMessage |
should NOT be called
|
WebGroup#onMyId |
should have no members
|
WebGroup#members |
my id should be 0
|
WebGroup#myId |
WebGroup id should be 0
|
WebGroup#id |
key should be empty
|
WebGroup#key |
topology should not change
|
WebGroup#topology |
Signaling server should not change
|
WebGroup#signalingServer |
autoRejoin should be disabled
|
WebGroup#autoRejoin |
🤖 🙂 - 2 members: bot first, then client
|
WebGroup |
join
|
WebGroup#join |
should change the Signaling state
|
WebGroup#onSignalingStateChange |
Signaling state should be CHECKED
|
WebGroup#signalingState |
should change the WebGroup state
|
WebGroup#onStateChange |
WebGroup state should be JOINED
|
WebGroup#state |
should be notified about new member
|
WebGroup#onMemberJoin |
should NOT be notified about left member
|
WebGroup#onMemberLeave |
should NOT receive any message
|
WebGroup#onMessage |
should be called
|
WebGroup#onMyId |
should have 2 members
|
WebGroup#members |
bot's id should not change and the client's id should not be 0
|
WebGroup#myId |
WebGroup id should not change, should be the same and not 0
|
WebGroup#id |
key should not change, should be the same and not empty
|
WebGroup#key |
topology should not change
|
WebGroup#topology |
Signaling server should not change
|
WebGroup#signalingServer |
autoRejoin should be disabled
|
WebGroup#autoRejoin |
should send/receive
|
- |
broadcast String
|
WebGroup#send |
broadcast ArrayBuffer
|
WebGroup#send |
broadcast message cutted in chunks (> 15kb)
|
WebGroup#sendTo |
private String
|
WebGroup#sendTo |
private ArrayBuffer
|
WebGroup#sendTo |
leave
|
- |
bot should still be connected to the signaling server
|
- |
🙂 🤖 - 2 members: client invites bot
|
WebGroup |
invite
|
WebGroup#invite |
should change the Signaling state
|
WebGroup#onSignalingStateChange |
Signaling state should be CHECKED
|
WebGroup#signalingState |
should change the WebGroup state of the bot only
|
WebGroup#onStateChange |
WebGroup state should be JOINED for both
|
WebGroup#state |
should be notified about new member
|
WebGroup#onMemberJoin |
should NOT be notified about left member
|
WebGroup#onMemberLeave |
should NOT receive any message
|
WebGroup#onMessage |
should be called
|
WebGroup#onMyId |
should have 2 members
|
WebGroup#members |
client's id should not change and bot's id should not be 0
|
WebGroup#myId |
WebGroup id should not change, should be the same and not 0
|
WebGroup#id |
key should not change, should be the same and not empty
|
WebGroup#key |
topology should not change
|
WebGroup#topology |
Signaling server should not change
|
WebGroup#signalingServer |
autoRejoin should be disabled
|
WebGroup#autoRejoin |
should send/receive
|
- |
broadcast String
|
WebGroup#send |
broadcast ArrayBuffer
|
WebGroup#send |
broadcast message cutted in chunks (> 15kb)
|
WebGroup#sendTo |
private String
|
WebGroup#sendTo |
private ArrayBuffer
|
WebGroup#sendTo |
🙂 🙂 - 2 clients
|
WebGroup |
join
|
WebGroup#join |
should change the Signaling state
|
WebGroup#onSignalingStateChange |
Signaling state should be CHECKED
|
WebGroup#signalingState |
should change the WebGroup state
|
WebGroup#onStateChange |
WebGroup state should be JOINED
|
WebGroup#state |
should be notified about new member
|
WebGroup#onMemberJoin |
should NOT be notified about left member
|
WebGroup#onMemberLeave |
should NOT receive any message
|
WebGroup#onMessage |
should be called
|
WebGroup#onMyId |
should have 2 members
|
WebGroup#members |
first client's id should not change and second client's id should not be 0
|
WebGroup#myId |
WebGroup id should not change, should be the same and not 0
|
WebGroup#id |
key should not change, should be the same and not empty
|
WebGroup#key |
topology should not change
|
WebGroup#topology |
Signaling server should not change
|
WebGroup#signalingServer |
autoRejoin should be disabled
|
WebGroup#autoRejoin |
should join with a specified key
|
WebGroup#join |
should send/receive
|
- |
broadcast String
|
WebGroup#send |
broadcast ArrayBuffer
|
WebGroup#send |
broadcast message cutted in chunks (> 15kb)
|
WebGroup#sendTo |
private String
|
WebGroup#sendTo |
private ArrayBuffer
|
WebGroup#sendTo |
leave
|
WebGroup#leave |
should be notified about left member
|
WebGroup#onMemberLeave |
should change the WebGroup state of the second client only
|
WebGroup#onStateChange |
WebGroup state of the first client should be JOINED and of the second should be LEFT
|
WebGroup#state |
should change the Signaling state
|
WebGroup#onSignalingStateChange |
Signaling state of the first client should not be CLOSED and of the second should be CLOSED
|
WebGroup#signalingState |
should NOT be notified about joined member
|
WebGroup#onMemberLeave |
should NOT receive any message
|
WebGroup#onMessage |
first client should have only him as a member and second client should have no members
|
WebGroup#members |
the id of the first client should NOT be 0 and of second should be 0
|
WebGroup#myId |
WebGroup id of the first client should NOT be 0 and of second should be 0
|
WebGroup#id |
key of the first client should NOT be empty and of second should be empty
|
WebGroup#key |
topology should not change
|
WebGroup#topology |
Signaling server should not change
|
WebGroup#signalingServer |
autoRejoin should be disabled
|
WebGroup#autoRejoin |
🤖 🙂 🙂 - 3 members: 1 bot and 2 clients
|
WebGroup |
join
|
WebGroup#join |
🙂 🤖 🙂 - 3 members: 1 client, 1 bot and 1 client
|
WebGroup |
join
|
WebGroup#join |
🙂 🙂 🤖 - 3 members: 2 clients and 1 bot
|
WebGroup |
join
|
WebGroup#invite |
🙂 🙂 🙂 - 3 clients
|
WebGroup |
join
|
WebGroup#join |
should change the Signaling state
|
WebGroup#onSignalingStateChange |
should change the WebGroup state
|
WebGroup#onStateChange |
should be notified about new member
|
WebGroup#onMemberJoin |
should have the same members, key, WebGroup id, topology once joined
|
- |
should send/receive
|
- |
broadcast String
|
WebGroup#send |
broadcast ArrayBuffer
|
WebGroup#send |
broadcast message cutted in chunks (> 15kb)
|
WebGroup#sendTo |
private String
|
WebGroup#sendTo |
private ArrayBuffer
|
WebGroup#sendTo |