blob: dfdeea953a3a71d51b19af073d1d5cc13a7332c5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.core.tests.runtime;
import junit.framework.TestCase;
/**
* Common superclass for all runtime tests.
*/
public abstract class RuntimeTest extends TestCase {
public static final String PI_RUNTIME_TESTS = "org.eclipse.core.tests.runtime";
/**
* Constructor required by test framework.
*/
public RuntimeTest(String name) {
super(name);
}
/**
* Fails the test due to the given exception.
* @param message
* @param e
*/
public void fail(String message, Exception e) {
fail(message + ": " + e);
}
}