|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.eclipse.core.tests.harness.CoreTest
org.eclipse.core.tests.resources.ResourceTest
org.eclipse.core.tests.resources.LinkedResourceTest
org.eclipse.core.tests.resources.LinkedResourceWithPathVariableTest
public class LinkedResourceWithPathVariableTest
This class extends LinkedResourceTest
in order to use
randomly generated locations that are always variable-based.
TODO: add tests specific to linking resources using path variables (then
removing the variable, change the variable value, etc)
Field Summary |
---|
Fields inherited from class org.eclipse.core.tests.resources.ResourceTest |
---|
deltaListener, PI_RESOURCES_TESTS |
Fields inherited from class org.eclipse.core.tests.harness.CoreTest |
---|
PI_HARNESS |
Constructor Summary | |
---|---|
LinkedResourceWithPathVariableTest()
|
|
LinkedResourceWithPathVariableTest(java.lang.String name)
|
Method Summary | |
---|---|
org.eclipse.core.runtime.IPath |
getRandomLocation()
Returns a unique location on disk. |
static junit.framework.Test |
suite()
|
void |
testFileVariableRemoved()
Tests a scenario where a variable used in a linked file location is removed. |
void |
testFolderVariableRemoved()
Tests a scenario where a variable used in a linked folder location is removed. |
void |
testImportWrongLineEndings_Bug210664()
Tests importing a project with a Linked Resource and Path Variable, where the line endings in the .project file do not match the local Platform. |
void |
testUndefinedVariable()
Tests scenario where links are relative to undefined variables |
void |
testVariableChanged()
Tests a scenario where a variable used in a linked file location is changed. |
Methods inherited from class org.eclipse.core.tests.harness.CoreTest |
---|
createFileInFileSystem, debug, fail, getContents, getContents, getMonitor, getRandomContents, getRandomString, getTempDir, log, log, transferData, transferDataWithoutClose |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LinkedResourceWithPathVariableTest()
public LinkedResourceWithPathVariableTest(java.lang.String name)
Method Detail |
---|
public static junit.framework.Test suite()
public org.eclipse.core.runtime.IPath getRandomLocation()
CoreTest
getRandomLocation
in class CoreTest
org.eclipse.core.tests.harness.ResourceTest#getRandomLocation()
public void testFileVariableRemoved()
public void testFolderVariableRemoved()
public void testImportWrongLineEndings_Bug210664() throws java.io.IOException
java.io.IOException
public void testUndefinedVariable()
public void testVariableChanged()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |