blob: 42765d643a0ee45bd437a55e6371a43ec06c0774 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008 University of Illinois at Urbana-Champaign and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* UIUC - Initial API and implementation
*******************************************************************************/
package org.eclipse.photran.internal.tests;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
/**
* Creates a suite of {@link ParserTestCase} tests from Fortran source files in a particular directory.
*
* @author joverbey
*/
public abstract class ParserTestSuite extends AbstractParserTestSuite
{
public ParserTestSuite(String directorySuffix, boolean isFixedForm, boolean mustExist) throws FileNotFoundException, IOException
{
super(directorySuffix, isFixedForm, mustExist);
}
@Override
protected String describeTestAction()
{
return "Parse";
}
@Override
protected AbstractParserTestCase createTestFor(File file, boolean isFixedForm, String fileDescription)
{
return new ParserTestCase(file, isFixedForm, fileDescription);
}
}