|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.ide.IdeUtilsTest
public class IdeUtilsTest
Test for IdeUtils
Constructor Summary | |
---|---|
IdeUtilsTest()
|
Method Summary | |
---|---|
void |
testGetArtifactVersion()
|
void |
testGetProjectNameStringIdeDependency()
|
void |
testToRelativeAndFixSeparator_MECLIPSE_261()
See MECLIPSE-261. |
void |
testToRelativeAndFixSeparator_WhereOnDifferentDrivesAndAbsolutePaths()
When the file to add is on a different drive and an absolute path expect that the returned value is the same as the file to add (but with /s) |
void |
testToRelativeAndFixSeparator_WhereOnDifferentDrivesAndFileToAddRelative()
When the file to add is a relative file then expect the result to be relative to the basedir (not whatever the current processes basedir is set to) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdeUtilsTest()
Method Detail |
---|
public void testGetProjectNameStringIdeDependency()
public void testToRelativeAndFixSeparator_WhereOnDifferentDrivesAndAbsolutePaths() throws Exception
Exception
public void testToRelativeAndFixSeparator_WhereOnDifferentDrivesAndFileToAddRelative() throws Exception
Exception
public void testToRelativeAndFixSeparator_MECLIPSE_261() throws Exception
When the base dir is a windows root directory the assumption that the full path to fileToAdd is basedir + "/" + fileToAdd is incorrect.
As the canonical form of a windows root dir ends in a slash, whereas the canonical form of any other file does not.
Exception
public void testGetArtifactVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |