diff options
author | Brian Cully <bjc@kublai.com> | 2015-07-10 17:25:00 +0000 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2015-07-10 17:25:00 +0000 |
commit | 204f830396f84f2583d081221b5e253bed85bcf1 (patch) | |
tree | f09b7b0adf665f2bbe64fc091265994286d42087 | |
parent | e228cd67262bb570d15c1d3be0c6de4dfa5d8570 (diff) | |
download | xmppbot-204f830396f84f2583d081221b5e253bed85bcf1.tar.gz xmppbot-204f830396f84f2583d081221b5e253bed85bcf1.zip |
Remove unused tests.
-rw-r--r-- | xmppbot_test.go | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/xmppbot_test.go b/xmppbot_test.go deleted file mode 100644 index fbabd4c..0000000 --- a/xmppbot_test.go +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "testing" - "time" -) - -const TIMEOUT = 10 * time.Second - -const JID = "xmppload0.reuters.com@array12.msgtst.reuters.com" -const EMAIL_ADDR = "xmppload0@reuters.com" -const PASSWORD = "Welcome1" -const HOST = "localhost:5222" - -func TestConnect(t *testing.T) { - bot := NewBot(JID, PASSWORD, HOST, TIMEOUT) - if err := bot.Dial(); err != nil { - t.Fatalf("Couldn't connect: %s.", err) - } - - if err := bot.Login(); err != nil { - t.Fatalf("Couldn't login bot: %s.", err) - } - - if err := bot.Bind(); err != nil { - t.Fatalf("Couldn't bind to resource: %s.", err) - } -} |