001/* 002 * jDTAUS Banking RI CurrencyDirectory 003 * Copyright (C) 2005 Christian Schulte 004 * <cs@schulte.it> 005 * 006 * This library is free software; you can redistribute it and/or 007 * modify it under the terms of the GNU Lesser General Public 008 * License as published by the Free Software Foundation; either 009 * version 2.1 of the License, or any later version. 010 * 011 * This library is distributed in the hope that it will be useful, 012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 014 * Lesser General Public License for more details. 015 * 016 * You should have received a copy of the GNU Lesser General Public 017 * License along with this library; if not, write to the Free Software 018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 019 * 020 */ 021package org.jdtaus.banking.ri.currencydir.test; 022 023import org.jdtaus.banking.ri.currencydir.JaxpCurrencyDirectory; 024import org.jdtaus.banking.spi.it.CurrencyMapperTest; 025 026/** 027 * Base tests for the {@link JaxpCurrencyDirectory} implementation. 028 * 029 * @author <a href="mailto:cs@schulte.it">Christian Schulte</a> 030 * @version $JDTAUS: AbstractJaxpCurrencyDirectoryTest.java 8723 2012-10-04 20:09:53Z schulte $ 031 */ 032public abstract class AbstractJaxpCurrencyDirectoryTest extends CurrencyMapperTest 033{ 034 035 /** Creates a new {@code AbstractJaxpCurrencyDirectoryTest} instance. */ 036 public AbstractJaxpCurrencyDirectoryTest() 037 { 038 super(); 039 this.setCurrencyMapper( new JaxpCurrencyDirectory() ); 040 Thread.currentThread().setContextClassLoader( this.getClassLoader() ); 041 } 042 043 protected abstract ClassLoader getClassLoader(); 044 045}