001/* 002 * jDTAUS Core RI JDK 1.4 Executor 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.core.lang.ri.executor.test; 022 023import org.jdtaus.core.lang.ri.executor.Jdk14Executor; 024import org.jdtaus.core.lang.spi.Executor; 025import org.jdtaus.core.lang.spi.it.ExecutorTest; 026 027/** 028 * Tests the {@link Jdk14Executor} implementation. 029 * 030 * @author <a href="mailto:cs@schulte.it">Cest.java 2469 2007-04-11 03:03:04Z schulte2005 $ 031 */ 032public class Jdk14ExecutorTest extends ExecutorTest 033{ 034 //--ExecutorTest------------------------------------------------------------ 035 036 /** The implementation to test. */ 037 private Executor executor; 038 039 public Executor getExecutor() 040 { 041 if ( this.executor == null ) 042 { 043 this.executor = new Jdk14Executor(); 044 } 045 046 return this.executor; 047 } 048 049 //------------------------------------------------------------ExecutorTest-- 050}