blob: 0bd5854672b3c60a48b0334b6d739c03b7786337 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2016 IBM Corporation and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.dltk.internal.testing.model;
import org.eclipse.dltk.testing.model.ITestRunSession;
public class TestRoot extends TestSuiteElement {
private final ITestRunSession fSession;
public TestRoot(ITestRunSession session) {
super(null, "-1", session.getTestRunName(), 1); //$NON-NLS-1$
fSession= session;
}
@Override
public TestRoot getRoot() {
return this;
}
@Override
public ITestRunSession getTestRunSession() {
return fSession;
}
}