test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetBasicInstantMessaging.java
/**
     * A method that would simply send messages to a group of people so that
     * they would get notified that tests are being run.
     */
A method that would simply send messages to a group of people so that
they would get notified that tests are being run.
A method that would simply send messages to a group of people so that they would get notified that tests are being run .
public void testSendFunMessages()
    {
        String hostname = "";
        try{
            hostname = java.net.InetAddress.getLocalHost().getHostName() + ": ";
        }catch (UnknownHostException ex){}
        String message = hostname
                         + "Hello this is the SIP Communicator (version "
                         + System.getProperty("sip-communicator.version")
                         + ") build on: "
                         + new Date().toString()
                         + ". Have a very nice day!";
        String list = System.getProperty("accounts.reporting.ICQ_REPORT_LIST");
        logger.debug("Will send message " + message + " to: " + list);
        if(list == null || list.trim().length() == 0)
            return;
        StringTokenizer tokenizer = new StringTokenizer(list, " ");
        while(tokenizer.hasMoreTokens())
        {
            IcqSlickFixture.testerAgent.sendMessage(tokenizer.nextToken(), message);
        }
    }
public void testSendFunMessages ( ) { String hostname = "" ; try { hostname = java . net . InetAddress . getLocalHost ( ) . getHostName ( ) + ": " ; } catch ( UnknownHostException ex ) { } String message = hostname + "Hello this is the SIP Communicator (version " + System . getProperty ( "sip-communicator.version" ) + ") build on: " + new Date ( ) . toString ( ) + ". Have a very nice day!" ; String list = System . getProperty ( "accounts.reporting.ICQ_REPORT_LIST" ) ; logger . debug ( "Will send message " + message + " to: " + list ) ; if ( list == null || list . trim ( ) . length ( ) == 0 ) return ; StringTokenizer tokenizer = new StringTokenizer ( list , " " ) ; while ( tokenizer . hasMoreTokens ( ) ) { IcqSlickFixture . testerAgent . sendMessage ( tokenizer . nextToken ( ) , message ) ; } }
A method that would simply send messages to a group of people so that
 they would get notified that tests are being run.
A method that would simply send messages to a group of people so that they would get notified that tests are being run .
//if no property is specified - return