blob: e94841486f944bccfde6739ac88b4f38fc36361d [file] [log] [blame]
/**********************************************************************
* This file is part of "Object Teams Development Tooling"-Software
*
* Copyright 2004, 2010 Fraunhofer Gesellschaft, Munich, Germany,
* for its Fraunhofer Institute and Computer Architecture and Software
* Technology (FIRST), Berlin, Germany and Technical University Berlin,
* Germany.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
* $Id$
*
* Please visit http://www.eclipse.org/objectteams for updates and contact.
*
* Contributors:
* Fraunhofer FIRST - Initial API and implementation
* Technical University Berlin - Initial API and implementation
**********************************************************************/
package org.eclipse.objectteams.otdt.ui.tests.refactoring;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.ui.tests.refactoring.rules.RefactoringTestSetup;
import org.junit.Before;
import base org.eclipse.jdt.testplugin.JavaProjectHelper;
@SuppressWarnings("restriction")
public team class OTRefactoringTestSetup extends RefactoringTestSetup {
@Before
@Override
public void before() throws Exception {
within (this)
super.before();
}
protected class ProjectHelper playedBy JavaProjectHelper {
IJavaProject createJavaProject(String projectName, String binFolderName) <- replace IJavaProject createJavaProject(String projectName, String binFolderName);
@SuppressWarnings("basecall")
static callin IJavaProject createJavaProject(String projectName, String binFolderName) throws CoreException {
return org.eclipse.objectteams.otdt.ui.tests.util.OTJavaProjectHelper.createOTJavaProject(projectName, binFolderName);
}
}
}