mirror of
https://github.com/deavmi/birchwood
synced 2024-09-19 17:43:20 +02:00
Unit tests
- Test `directMessage(string, string)` (so singular) to send to myself - Adding such a test will test the direct message receive handler which helps us a lot in increasing code coverage
This commit is contained in:
parent
5155912bdd
commit
35ce86478d
@ -1217,6 +1217,11 @@ public class Client : Thread
|
||||
|
||||
// }
|
||||
|
||||
/**
|
||||
* Test sending a message to myself (singular)
|
||||
*/
|
||||
client.directMessage("Message to myself", "birchwood");
|
||||
|
||||
// TODO: Don't forget to re-enable this when done testing!
|
||||
Thread.sleep(dur!("seconds")(15));
|
||||
client.quit();
|
||||
|
Loading…
Reference in New Issue
Block a user