public class IdeUtilsTest extends Object
IdeUtils| Constructor and Description |
|---|
IdeUtilsTest() |
| Modifier and Type | Method and Description |
|---|---|
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)
|
public void testGetProjectNameStringIdeDependency()
public void testToRelativeAndFixSeparator_WhereOnDifferentDrivesAndAbsolutePaths()
throws Exception
Exceptionpublic void testToRelativeAndFixSeparator_WhereOnDifferentDrivesAndFileToAddRelative()
throws Exception
Exceptionpublic 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.
Exceptionpublic void testGetArtifactVersion()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.