org.apache.maven.scm
public abstract class ScmTestCase extends PlexusTestCase
Version: $Id: ScmTestCase.java 382376 2006-03-02 13:22:15Z evenisse $
Field Summary | |
---|---|
protected static TimeZone | GMT_TIME_ZONE |
Method Summary | |
---|---|
protected void | assertFile(File root, String fileName) |
void | assertPath(String expectedPath, String actualPath)
TODO This method is bogus. |
protected void | assertResultIsSuccess(ScmResult result) |
static void | execute(File workingDirectory, String executable, String arguments) |
protected File | getAssertionCopy() |
static Date | getDate(int year, int month, int day) |
protected static Date | getDate(int year, int month, int day, TimeZone tz) |
protected static Date | getDate(int year, int month, int day, int hourOfDay, int minute, int second, TimeZone tz) |
protected String | getModule() |
protected File | getRepository() |
protected File | getRepositoryRoot() |
protected ScmFileSet | getScmFileSet() |
protected ScmManager | getScmManager() |
protected File | getUpdatingCopy() |
protected File | getWorkingCopy() |
protected File | getWorkingDirectory()
Legacy method - same as getWorkingCopy()
|
protected static void | makeDirectory(File basedir, String fileName) |
protected static void | makeFile(File basedir, String fileName) |
static void | makeFile(File basedir, String fileName, String contents) |
protected ScmRepository | makeScmRepository(String scmUrl) |
protected static void | setDebugExecute(boolean debugExecute) |
protected void | setUp() |
Returns: default location for doing assertions on a working tree
Returns: Location of the revisioned (read only) repository
Returns: default location of the test read/write repository
Returns: default location for doing update operations on a working tree
Returns: location of the working copy (always checkout)
Returns: location of the working copy (always checkout)