org.eclipse.cdt.make.core.tests
Class StandardBuildTestHelper
java.lang.Object
org.eclipse.cdt.make.core.tests.StandardBuildTestHelper
public class StandardBuildTestHelper
- extends java.lang.Object
Method Summary |
static boolean |
compareBenchmarks(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IPath testDir,
org.eclipse.core.runtime.IPath[] files)
|
static org.eclipse.core.runtime.IPath |
copyFilesToTempDir(org.eclipse.core.runtime.IPath srcDir,
org.eclipse.core.runtime.IPath tmpSubDir,
org.eclipse.core.runtime.IPath[] files)
|
static org.eclipse.core.resources.IProject |
createProject(java.lang.String name,
org.eclipse.core.runtime.IPath location,
java.lang.String projectId)
|
static void |
deleteTempDir(org.eclipse.core.runtime.IPath tmpSubDir,
org.eclipse.core.runtime.IPath[] files)
|
static java.lang.StringBuffer |
readContentsStripLineEnds(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IPath path)
|
static void |
removeProject(java.lang.String name)
Remove the IProject with the name specified in the argument from the
receiver's workspace. |
static boolean |
verifyFilesDoNotExist(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IPath testDir,
org.eclipse.core.runtime.IPath[] files)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardBuildTestHelper
public StandardBuildTestHelper()
createProject
public static org.eclipse.core.resources.IProject createProject(java.lang.String name,
org.eclipse.core.runtime.IPath location,
java.lang.String projectId)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
removeProject
public static void removeProject(java.lang.String name)
- Remove the
IProject
with the name specified in the argument from the
receiver's workspace.
- Parameters:
name
-
compareBenchmarks
public static boolean compareBenchmarks(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IPath testDir,
org.eclipse.core.runtime.IPath[] files)
verifyFilesDoNotExist
public static boolean verifyFilesDoNotExist(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IPath testDir,
org.eclipse.core.runtime.IPath[] files)
readContentsStripLineEnds
public static java.lang.StringBuffer readContentsStripLineEnds(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IPath path)
copyFilesToTempDir
public static org.eclipse.core.runtime.IPath copyFilesToTempDir(org.eclipse.core.runtime.IPath srcDir,
org.eclipse.core.runtime.IPath tmpSubDir,
org.eclipse.core.runtime.IPath[] files)
deleteTempDir
public static void deleteTempDir(org.eclipse.core.runtime.IPath tmpSubDir,
org.eclipse.core.runtime.IPath[] files)