public abstract class AbstractBuilderTest extends Object
Constructor and Description |
---|
AbstractBuilderTest() |
Modifier and Type | Method and Description |
---|---|
protected static org.eclipse.core.resources.IProject |
createAndPopulateProject(String projectName,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected static org.eclipse.core.resources.IProject |
createProject(String name,
org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
deleteProjects() |
protected org.eclipse.core.resources.IMarker[] |
findMarkersOnResource(org.eclipse.core.resources.IResource resource) |
protected static org.hamcrest.Matcher<org.eclipse.core.resources.IMarker> |
hasAttributeThat(String name,
org.hamcrest.Matcher<String> matcher)
Obtain a matcher that asserts the value of an attribute of a marker.
|
protected static org.eclipse.core.resources.IFile |
importFileIntoProject(org.eclipse.core.resources.IProject project,
File file,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected static void |
setAutoBuild(boolean autoBuild) |
protected static void |
waitForAutoBuild() |
public void deleteProjects() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
protected static void setAutoBuild(boolean autoBuild) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
protected org.eclipse.core.resources.IMarker[] findMarkersOnResource(org.eclipse.core.resources.IResource resource)
protected static org.eclipse.core.resources.IProject createProject(String name, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
protected static org.eclipse.core.resources.IFile importFileIntoProject(org.eclipse.core.resources.IProject project, File file, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException, IOException
org.eclipse.core.runtime.CoreException
IOException
protected static org.eclipse.core.resources.IProject createAndPopulateProject(String projectName, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException, IOException
org.eclipse.core.runtime.CoreException
IOException
protected static void waitForAutoBuild()
protected static org.hamcrest.Matcher<org.eclipse.core.resources.IMarker> hasAttributeThat(String name, org.hamcrest.Matcher<String> matcher)
name
- the name of the attribute to verifymatcher
- a matcher to test the attribute valueCopyright © 2019. All rights reserved.