Package de.netseeker.ejoe.test

Source Code of de.netseeker.ejoe.test.NullHandlerTest

/*********************************************************************
* AssistedRemotingTest.java
* created on 20.03.2005 by netseeker
* $Source: /cvsroot/ejoe/EJOE/test/de/netseeker/ejoe/test/NullHandlerTest.java,v $
* $Date: 2007/03/29 15:22:21 $
* $Revision: 1.8 $
*********************************************************************/
package de.netseeker.ejoe.test;

import java.io.IOException;

import de.netseeker.ejoe.EJClient;

/**
* @author netseeker
*/
public class NullHandlerTest extends BaseClientTest
{
    /*
     * (non-Javadoc)
     *
     * @see junit.framework.TestCase#setUp()
     */
    protected void setUp() throws Exception
    {
        nonBlockingIO = true;
        handler = new NullHandler();
        persistent = false;
        super.setUp();
    }

    public void testExecute()
    {
        try
        {
            EJClient client = getNewClient();
            client.execute( "test" );
        }
        catch ( IOException e )
        {
            e.printStackTrace();
            fail( e.getMessage() );
        }
    }
}
TOP

Related Classes of de.netseeker.ejoe.test.NullHandlerTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.