1 /******************************************************************************* 2 * Copyright (c) 2000, 2009 IBM Corporation and others. 3 * 4 * This program and the accompanying materials 5 * are made available under the terms of the Eclipse Public License 2.0 6 * which accompanies this distribution, and is available at 7 * https://www.eclipse.org/legal/epl-2.0/ 8 * 9 * SPDX-License-Identifier: EPL-2.0 10 * 11 * Contributors: 12 * IBM Corporation - initial API and implementation 13 *******************************************************************************/ 14 package org.eclipse.jdt.junit.model; 15 16 import org.eclipse.jdt.core.IJavaProject; 17 18 /** 19 * Represents a test run session. 20 * <p> 21 * This interface is not intended to be implemented by clients. 22 * </p> 23 * 24 * @since 3.3 25 * 26 * @noimplement This interface is not intended to be implemented by clients. 27 * @noextend This interface is not intended to be extended by clients. 28 */ 29 public interface ITestRunSession extends ITestElementContainer { 30 31 /** 32 * Returns the name of the test run. The name is the name of the launch configuration use to run this test. 33 * 34 * @return returns the test run name 35 */ getTestRunName()36 public String getTestRunName(); 37 38 /** 39 * Returns the Java project from which this test run session has been launched, or <code>null</code> if not available. 40 * 41 * @return the launched project, or <code>null</code> is not available. 42 * @since 3.6 43 */ getLaunchedProject()44 public abstract IJavaProject getLaunchedProject(); 45 46 } 47