Mercurial > wow > squawk
diff Tests.lua @ 4:d1383f2d9b43
more on the tests and the framework towards the viewer
author | wobin |
---|---|
date | Fri, 17 Apr 2009 20:42:31 +1000 |
parents | 1cc6e4710e2e |
children | d19385c4a282 |
line wrap: on
line diff
--- a/Tests.lua Fri Apr 17 15:59:51 2009 +1000 +++ b/Tests.lua Fri Apr 17 20:42:31 2009 +1000 @@ -5,5 +5,37 @@ --[[ --Tests we need to do: -- --- - +-- Add a follower +-- Remove a follower +-- Request to follow someone +-- Recieve a request from a follower +-- Send a Squawk +-- Recieve a direct Squawk +-- Send a Squawk to the Guild +-- Recieve a Squawk from the Guild --]] +-- + +SquawkTester = LibStub("AceAddon-3.0", "AceComm-3.0", "AceConsole-3.0") + +local Test = SquawkTester + +function Test:OnInitialize() + self:RegisterComm("Squawk", ReceiveMessage) + self:RegisterSlashCommand("TestSquawk", "RunTests") +end + +function Test:RunTests() + +end + +function Test:AddFollower() + +end + +function Test:ReceiveMessage(Prefix, Message, Distribution, Sender) +end + +function Test:SendMessageDirectly(Message) + +end