|
||||||||
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.opencms.test.OpenCmsTestCase
org.opencms.file.TestMoveRename2
public class TestMoveRename2
Unit tests for move/rename operation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.opencms.test.OpenCmsTestCase |
---|
OpenCmsTestCase.ConnectionData |
Field Summary |
---|
Fields inherited from class org.opencms.test.OpenCmsTestCase |
---|
ARTICLE_TYPEID, DB_MYSQL, DB_ORACLE, m_additionalConnection, m_configuration, m_currentResourceStrorage, m_defaultConnection, m_defaultTablespace, m_indexTablespace, m_resourceStorages, m_setupConnection, m_tempTablespace |
Constructor Summary | |
---|---|
TestMoveRename2(String arg0)
Default JUnit constructor. |
Method Summary | |
---|---|
static junit.framework.Test |
suite()
Test suite for this test class. |
void |
testMoveBigFolder()
Tests to move a big folder. |
void |
testMoveFolderWithInvisibleResources()
Tests to move a folder structure with invisible resources inside. |
void |
testMoveFolderWithNewResource()
Tests renaming a folder containing a new resource. |
void |
testMoveFolderWithPermissionCheck()
Tests to move a deep folder structure with real permission check. |
void |
testMoveLostAndFound()
Tests the move to lost and found folder operation. |
void |
testMoveOverDeleted()
Tests to move a file over a deleted one. |
void |
testMoveSibling()
Tests moving a sibling. |
void |
testPublishMovedDeletedFolderWithMovedResource()
Tests to publish a moved deleted folder with a unpublished moved resource. |
void |
testRenameFileUpperLowerCase()
Tests renaming a file to the same name with a different case. |
void |
testRenameFolderUpperLowerCase()
Tests renaming a folder to the same name with a different case. |
void |
testRenameNewFolder()
Tests renaming a new folder with content. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestMoveRename2(String arg0)
arg0
- JUnit parametersMethod Detail |
---|
public static junit.framework.Test suite()
public void testMoveBigFolder() throws Exception
Exception
- if the test failspublic void testMoveFolderWithInvisibleResources() throws Exception
Exception
- if the test failspublic void testMoveFolderWithNewResource() throws Throwable
Throwable
- if something goes wrongpublic void testMoveFolderWithPermissionCheck() throws Exception
Exception
- if the test failspublic void testMoveLostAndFound() throws Exception
Exception
- if the test failspublic void testMoveOverDeleted() throws Exception
Exception
- if the test failspublic void testMoveSibling() throws Exception
Exception
- if the test failspublic void testPublishMovedDeletedFolderWithMovedResource() throws Exception
Exception
- if the test failspublic void testRenameFileUpperLowerCase() throws Exception
Exception
- if the test failspublic void testRenameFolderUpperLowerCase() throws Exception
Exception
- if the test failspublic void testRenameNewFolder() throws Throwable
Throwable
- if something goes wrong
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |