View Javadoc

1   /*
2    *  jDTAUS Banking RI Bankleitzahlenverzeichnis
3    *  Copyright (c) 2011 Christian Schulte
4    *
5    *  This library is free software; you can redistribute it and/or
6    *  modify it under the terms of the GNU Lesser General Public
7    *  License as published by the Free Software Foundation; either
8    *  version 2.1 of the License, or any later version.
9    *
10   *  This library is distributed in the hope that it will be useful,
11   *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13   *  Lesser General Public License for more details.
14   *
15   *  You should have received a copy of the GNU Lesser General Public
16   *  License along with this library; if not, write to the Free Software
17   *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18   *
19   */
20  package org.jdtaus.banking.ri.blzdirectory.test;
21  
22  import org.jdtaus.banking.it.BankleitzahlenVerzeichnisTest;
23  import org.jdtaus.banking.ri.blzdirectory.BankfileBankleitzahlenVerzeichnis;
24  
25  /**
26   * Base tests for the {@link BankfileBankleitzahlenVerzeichnis} implementation.
27   *
28   * @author <a href="mailto:cs@schulte.it">Christian Schulte</a>
29   * @version $JDTAUS: AbstractBankfileBankleitzahlenVerzeichnisTest.java 8723 2012-10-04 20:09:53Z schulte $
30   */
31  public abstract class AbstractBankfileBankleitzahlenVerzeichnisTest extends BankleitzahlenVerzeichnisTest
32  {
33  
34      /** Creates a new {@code AbstractBankfileBankleitzahlenVerzeichnisTest} instance. */
35      public AbstractBankfileBankleitzahlenVerzeichnisTest()
36      {
37          super();
38          this.setBankleitzahlenVerzeichnis( new BankfileBankleitzahlenVerzeichnis() );
39          Thread.currentThread().setContextClassLoader( this.getClassLoader() );
40      }
41  
42      protected abstract ClassLoader getClassLoader();
43  
44  }