mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 01:43:50 +02:00
Unit tests
- Added a unit test for the (single) `channelMessage(string, string)`
This commit is contained in:
parent
fe91adde0a
commit
5155912bdd
@ -1196,12 +1196,17 @@ public class Client : Thread
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test sending a message to a channel
|
* Test sending a message to a single channel (singular)
|
||||||
*/
|
*/
|
||||||
client.channelMessage("This is a test message sent to a channel", ["#birchwood"]);
|
client.channelMessage("This is a test message sent to a channel 1", ["#birchwood"]);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test sending a message to multiple channels
|
* Test sending a message to a single channel (multi)
|
||||||
|
*/
|
||||||
|
client.channelMessage("This is a test message sent to a channel 2", "#birchwood");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test sending a message to multiple channels (multi)
|
||||||
*/
|
*/
|
||||||
client.channelMessage("This is a message sent to multiple channels one-shot", ["#birchwood", "#birchwood2"]);
|
client.channelMessage("This is a message sent to multiple channels one-shot", ["#birchwood", "#birchwood2"]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user