Package de.netseeker.ejoe.test

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

/*********************************************************************
* JavaBeansXmlAdapterTest.java
* created on 06.03.2005 by netseeker
* $Source$
* $Date$
* $Revision$
*********************************************************************/
package de.netseeker.ejoe.test;

import de.netseeker.ejoe.adapter.AdapterFactory;
import de.netseeker.ejoe.adapter.CastorAdapter;

public class CastorAdapterTest extends BaseBeanTest
{
    /*
     * (non-Javadoc)
     *
     * @see junit.framework.TestCase#setUp()
     */
    protected void setUp() throws Exception
    {
        if ( adapter == null || !(adapter instanceof CastorAdapter))
        {
            adapter = new CastorAdapter( CastorAdapterTest.class.getResource( "castor-mapping.xml" ) );
            AdapterFactory.registerAdapter( adapter );
        }
        super.setUp();
    }
}
TOP

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

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.