Mercurial > wow > squawk
annotate Tests.lua @ 5:50ef3ed9d0da
typo
author | wobin |
---|---|
date | Fri, 17 Apr 2009 20:43:20 +1000 |
parents | d1383f2d9b43 |
children | d19385c4a282 |
rev | line source |
---|---|
wobin@3 | 1 -- Tests for Squawk |
wobin@3 | 2 |
wobin@3 | 3 if not Squawk then return end |
wobin@3 | 4 |
wobin@3 | 5 --[[ |
wobin@3 | 6 --Tests we need to do: |
wobin@3 | 7 -- |
wobin@4 | 8 -- Add a follower |
wobin@4 | 9 -- Remove a follower |
wobin@4 | 10 -- Request to follow someone |
wobin@4 | 11 -- Recieve a request from a follower |
wobin@4 | 12 -- Send a Squawk |
wobin@4 | 13 -- Recieve a direct Squawk |
wobin@4 | 14 -- Send a Squawk to the Guild |
wobin@4 | 15 -- Recieve a Squawk from the Guild |
wobin@3 | 16 --]] |
wobin@4 | 17 -- |
wobin@4 | 18 |
wobin@4 | 19 SquawkTester = LibStub("AceAddon-3.0", "AceComm-3.0", "AceConsole-3.0") |
wobin@4 | 20 |
wobin@4 | 21 local Test = SquawkTester |
wobin@4 | 22 |
wobin@4 | 23 function Test:OnInitialize() |
wobin@4 | 24 self:RegisterComm("Squawk", ReceiveMessage) |
wobin@4 | 25 self:RegisterSlashCommand("TestSquawk", "RunTests") |
wobin@4 | 26 end |
wobin@4 | 27 |
wobin@4 | 28 function Test:RunTests() |
wobin@4 | 29 |
wobin@4 | 30 end |
wobin@4 | 31 |
wobin@4 | 32 function Test:AddFollower() |
wobin@4 | 33 |
wobin@4 | 34 end |
wobin@4 | 35 |
wobin@4 | 36 function Test:ReceiveMessage(Prefix, Message, Distribution, Sender) |
wobin@4 | 37 end |
wobin@4 | 38 |
wobin@4 | 39 function Test:SendMessageDirectly(Message) |
wobin@4 | 40 |
wobin@4 | 41 end |