|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
consciouscode.junit.TestCase
consciouscode.seedling.junit.SeedlingTestCase
consciouscode.seedling.junit.StandaloneSeedlingTestCase
public class StandaloneSeedlingTestCase
A SeedlingTestCase that provides its own "standalone" root, making
it easy to write tests over small tree configurations.
The setUp() method constructs a MockConfigTree and a root.
Subclasses can use the fields myConfigTree and
SeedlingTestCase.myGlobalRoot to perform their tests.
Subclasses are automatically included in the "common" AutoSuite.
| Field Summary | |
|---|---|
protected MockConfigTree |
myConfigTree
The ConfigTree used by the Seedling root. |
protected MockLogger |
myLog
The MockLogger used by the Seedling root. |
| Fields inherited from class consciouscode.seedling.junit.SeedlingTestCase |
|---|
myConfigLoaderSequence, myDefaultEvaluator, myGlobalRoot, myScratchBranch |
| Fields inherited from class consciouscode.junit.TestCase |
|---|
AUTO_SUITES |
| Constructor Summary | |
|---|---|
StandaloneSeedlingTestCase()
|
|
| Method Summary | |
|---|---|
protected NodeProvider |
rootNodeProvider()
|
void |
setUp()
|
void |
tearDown()
|
| Methods inherited from class consciouscode.seedling.junit.SeedlingTestCase |
|---|
configLoaderSequence, defaultEvaluator, getGlobalRoot, getScratchBranch, globalInstalledPath, globalRequiredPath, setGlobalRoot |
| Methods inherited from class consciouscode.junit.TestCase |
|---|
assertContained, assertEqualContents, assertEqualContents, assertEqualElements, assertEqualElements, assertEqualMembers, assertEquals, assertNotContained, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertPropertyEquals, assertPropertyEquals, assertPropertyEquals, fail, fail, getProperty, loadTestPropertiesFile, projectFile, setProperty, setProperty, setProperty |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface junit.framework.Test |
|---|
countTestCases, run |
| Field Detail |
|---|
protected MockLogger myLog
MockLogger used by the Seedling root.
Any unexpected errors logged here will cause test failure.
protected MockConfigTree myConfigTree
ConfigTree used by the Seedling root.
| Constructor Detail |
|---|
public StandaloneSeedlingTestCase()
| Method Detail |
|---|
public void setUp()
throws Exception
setUp in class junit.framework.TestCaseException
public void tearDown()
throws Exception
tearDown in class SeedlingTestCaseExceptionprotected NodeProvider rootNodeProvider()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||