blob: 8ff5a3be2369abd3992622892f84a189e2b047c3 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2017 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.junit.model;
import org.eclipse.jdt.junit.model.ITestRunSession;
public class TestRoot extends TestSuiteElement {
private final ITestRunSession fSession;
public TestRoot(ITestRunSession session) {
super(null, "-1", session.getTestRunName(), 1, session.getTestRunName(), null, null); //$NON-NLS-1$
fSession= session;
}
@Override
public TestRoot getRoot() {
return this;
}
@Override
public ITestRunSession getTestRunSession() {
return fSession;
}
}