KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jivesoftware > smack > GoogleTest


1 package org.jivesoftware.smack;
2
3 import junit.framework.TestCase;
4
5 /**
6  * Created by IntelliJ IDEA.
7  * User: Gaston
8  * Date: Aug 25, 2005
9  * Time: 1:58:07 PM
10  * To change this template use File | Settings | File Templates.
11  */

12 public class GoogleTest extends TestCase {
13
14     public void testLogin() throws XMPPException {
15         XMPPConnection.DEBUG_ENABLED = true;
16         //XMPPConnection conn = new XMPPConnection("jabber.org");
17
//conn.login("gdombiak", "toga7073");
18

19         XMPPConnection conn = new GoogleTalkConnection();
20         conn.login("gatojive", "toga7073");
21
22         System.out.println("the end");
23     }
24 }
25
Popular Tags