public class ProjectConfigurationContextTest extends OfficeFrameTestCase
ProjectConfigurationContext
.OfficeFrameTestCase.FailOperation, OfficeFrameTestCase.GuiTest, OfficeFrameTestCase.StressTest
Constructor and Description |
---|
ProjectConfigurationContextTest() |
Modifier and Type | Method and Description |
---|---|
void |
testCreateItem_EnsureFoldersExist()
Ensure able to create item under
IProject by creating the
necessary folders. |
void |
testCreateItem_FileAlreadyExists()
Ensure failure if
IFile already exists. |
void |
testDeleteFile()
Ensure deletes file.
|
void |
testDeleteNonExistentFile()
Ensure does not nothing if non-existent file.
|
void |
testGetFile()
Ensure get file.
|
void |
testGetUnknownFile()
Ensure get unknown file.
|
void |
testNotReadOnly()
Should be able to edit the
IProject . |
assertContents, assertContents, assertFail, assertFail, assertFail, assertGraph, assertGraph, assertList, assertList, assertList, assertList, assertList, assertProperties, assertTextEquals, assertXmlEquals, clearDirectory, control, copyDirectory, createFile, createMock, createNewClassLoader, createPlatformIndependentText, createSynchronizedMock, deleteDirectory, displayGraph, displayGraph, doTest, fail, findFile, findFile, findInputStream, getDisplayRunTime, getFileContents, getFileLocation, getItem, getPackageRelativePath, getProperty, isGuiAvailable, isPrintMessages, printHeapMemoryDiagnostics, printMessage, printMessage, printMessage, recordReturn, recordReturn, registerMockObject, removeXmlWhiteSpacing, replayMockObjects, runBare, setVerbose, sleep, throwException, timeout, timeout, verifyMockObjects
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, setUp, tearDown, toString
public void testNotReadOnly()
IProject
.public void testCreateItem_FileAlreadyExists() throws Exception
IFile
already exists.Exception
- If fails.public void testCreateItem_EnsureFoldersExist() throws Exception
IProject
by creating the
necessary folders.Exception
- If fails.public void testDeleteNonExistentFile() throws Exception
Exception
- If fails.public void testDeleteFile() throws Exception
Exception
- If fails.public void testGetFile() throws Exception
Exception
- If fails.Copyright © 2005–2016. All rights reserved.