| java.lang.Object org.eclipse.jdt.apt.pluggable.tests.IdeTestUtils
IdeTestUtils | public class IdeTestUtils (Code) | | Helper class to support compilation and results checking for tests running in batch mode.
since: 3.3.1 |
Field Summary | |
final public static String | RESOURCES_DIR Name of the subdirectory within the test bundle where target resources are stored. |
RESOURCES_DIR | final public static String RESOURCES_DIR(Code) | | Name of the subdirectory within the test bundle where target resources are stored.
|
copyResources | public static void copyResources(IProject proj, String resourceFolderName, String destFolderName) throws Exception(Code) | | Copy files from a bundle into a project in the target workspace. Newlines will be
converted according to
IdeTestUtils.shouldConvertToIndependentLineDelimiter(File) .
Directories named "CVS" will be ignored.
Parameters: proj - the project within which the files will be created. Parameters: resourceFolderName - the name of the folder within the plug-in that the files will be copiedfrom, relative to [plugin-root]/resources Parameters: destFolderName - the name of the folder within the target workspace that the files willbe copied to, relative to the project throws: Exception - might be an IOException or a CoreException |
getPluginDirectoryPath | public static String getPluginDirectoryPath()(Code) | | the absolute filesystem-based path of the root of the bundle filesystem.This will cause the bundle to be extracted to a temporary directory on the filesystemif necessary; see FileLocator.toFileURL(URL). |
|
|