|
||||||||||
| 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.riverock.dbrevision.manager.TestDbRevisionManager
public class TestDbRevisionManager
User: SergeMaslyukov Date: 28.07.2007 Time: 20:59:49
| Field Summary | |
|---|---|
static String |
DBREVISION_CONFIGS
|
| Constructor Summary | |
|---|---|
TestDbRevisionManager()
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
void |
testConfig_0()
test missing config.xml file |
void |
testConfig_1()
test missing directory with module |
void |
testConfig_2()
test missing directories with version |
void |
testConfig_3()
test in version directory missing webmill/5.7.0/init-structure.xml file |
void |
testConfig_4()
test directory with first version must not contain patches ('patch' directory) |
void |
testConfig_5_moduleNotConfigured()
test not correted data in DB |
void |
testConfig_5_moduleVersionNotConfigured()
test not correted data in DB |
void |
testConfigValid_1()
test correted data in DB |
void |
testConfigValid_currentVersionInMiddleOfList()
test correted data in DB |
void |
testConfigValid_lastVersion()
test correted data in DB |
void |
testContructor()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
| Field Detail |
|---|
public static final String DBREVISION_CONFIGS
| Constructor Detail |
|---|
public TestDbRevisionManager()
| Method Detail |
|---|
public void setUp()
setUp in class junit.framework.TestCase
public void testContructor()
throws Exception
Exception
public void testConfig_0()
throws Exception
Exception - on error
public void testConfig_1()
throws Exception
Exception - on error
public void testConfig_2()
throws Exception
Exception - on error
public void testConfig_3()
throws Exception
Exception - on error
public void testConfig_4()
throws Exception
Exception - on error
public void testConfig_5_moduleNotConfigured()
throws Exception
Exception - on error
public void testConfig_5_moduleVersionNotConfigured()
throws Exception
Exception - on error
public void testConfigValid_currentVersionInMiddleOfList()
throws Exception
Exception - on error
public void testConfigValid_lastVersion()
throws Exception
Exception - on error
public void testConfigValid_1()
throws Exception
Exception - on error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||