From 64ac585dec08b1587a42bd32902788dc9286ac0b Mon Sep 17 00:00:00 2001 From: Derek DeMoro Date: Mon, 19 Sep 2005 04:07:44 +0000 Subject: [PATCH] Remove testbed. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2840 b35dd754-fafc-0310-a699-88a17e54d16e --- .../org/jivesoftware/smackx/search/Test.java | 37 ------------------- 1 file changed, 37 deletions(-) delete mode 100644 source/org/jivesoftware/smackx/search/Test.java diff --git a/source/org/jivesoftware/smackx/search/Test.java b/source/org/jivesoftware/smackx/search/Test.java deleted file mode 100644 index f008b9040..000000000 --- a/source/org/jivesoftware/smackx/search/Test.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * $RCSfile: ,v $ - * $Revision: 1.0 $ - * $Date: 2005/05/25 04:20:03 $ - * - * Copyright (C) 1999-2005 Jive Software. All rights reserved. - * - * This software is the proprietary information of Jive Software. Use is - subject to license terms. - */ - -package org.jivesoftware.smackx.search; - -import org.jivesoftware.smack.XMPPConnection; -import org.jivesoftware.smackx.Form; -import org.jivesoftware.smackx.ReportedData; - -public class Test { - - public static void main(String args[]) throws Exception { - XMPPConnection.DEBUG_ENABLED = true; - XMPPConnection con = new XMPPConnection("jabber.org"); - con.login("ddman", "whocares"); - - UserSearchManager search = new UserSearchManager(con, "users.jabber.org"); - Form searchForm = search.getSearchForm(); - - Form answerForm = searchForm.createAnswerForm(); - answerForm.setAnswer("last", "Lynch"); - - ReportedData data = search.getSearchResults(answerForm); - - - System.out.println(data); - - } -}