|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
groovy.util.GroovyTestCase
org.gmetrics.test.AbstractTestCase
org.gmetrics.ant.GMetricsTaskTest
public class GMetricsTaskTest
| Field Summary |
|---|
| Fields inherited from class groovy.util.GroovyTestCase |
|---|
log, TEST_SCRIPT_NAME_PREFIX |
| Constructor Summary | |
|---|---|
GMetricsTaskTest()
|
|
| Method Summary | |
|---|---|
groovy.lang.MetaClass |
getMetaClass()
|
java.lang.Object |
getProperty(java.lang.String property)
|
java.lang.Object |
invokeMethod(java.lang.String method,
java.lang.Object arguments)
|
void |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setProperty(java.lang.String property,
java.lang.Object value)
|
void |
setUp()
|
void |
testAddConfiguredReport_AddsToReportWriters()
|
void |
testAddConfiguredReport_ReportOptionsSetPropertiesOnReportWriter()
|
void |
testAddConfiguredReport_ThrowsExceptionForInvalidReportType()
|
void |
testAddConfiguredReport_ThrowsExceptionForMissingReportType()
|
void |
testAddConfiguredReport_Twice_AddsToReportWriters()
|
void |
testAddFileSet_AddsToFileSets()
|
void |
testAddFileSet_ThrowsExceptionIfFileSetIsNull()
|
void |
testExecute_CreatesConfiguresAndExecutesGMetricsRunner()
|
void |
testExecute_MetricSetFileNotFound_ThrowsException()
|
void |
testExecute_NullFileSet()
|
void |
testExecute_UsesConfiguredMetricSetFile()
|
| Methods inherited from class org.gmetrics.test.AbstractTestCase |
|---|
assertBothAreFalseOrElseNeitherIs, assertContainsAll, assertContainsAllInOrder, assertEqualSets, captureLog4JMessages, captureSystemOut, classResultsNode, classResultsNode, containsAll, isNotGroovy15, log, methodResultsNode, packageResultsNode, packageResultsNode, scale, scale, shouldFailWithMessageContaining |
| Methods inherited from class groovy.util.GroovyTestCase |
|---|
assertArrayEquals, assertContains, assertContains, assertEquals, assertEquals, assertEquals, assertInspect, assertLength, assertLength, assertLength, assertScript, assertToString, fixEOLs, getMethodName, getName, getTestClassName, notYetImplemented, notYetImplemented, shouldFail, shouldFail, shouldFailWithCause |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, 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, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GMetricsTaskTest()
| Method Detail |
|---|
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectgetMetaClass in class AbstractTestCasepublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectsetMetaClass in class AbstractTestCase
public java.lang.Object invokeMethod(java.lang.String method,
java.lang.Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class AbstractTestCasepublic java.lang.Object getProperty(java.lang.String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class AbstractTestCase
public void setProperty(java.lang.String property,
java.lang.Object value)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class AbstractTestCasepublic void setUp()
setUp in class AbstractTestCasepublic void testExecute_NullFileSet()
public void testExecute_CreatesConfiguresAndExecutesGMetricsRunner()
public void testExecute_UsesConfiguredMetricSetFile()
public void testExecute_MetricSetFileNotFound_ThrowsException()
public void testAddConfiguredReport_AddsToReportWriters()
public void testAddConfiguredReport_Twice_AddsToReportWriters()
public void testAddConfiguredReport_ReportOptionsSetPropertiesOnReportWriter()
public void testAddConfiguredReport_ThrowsExceptionForInvalidReportType()
public void testAddConfiguredReport_ThrowsExceptionForMissingReportType()
public void testAddFileSet_ThrowsExceptionIfFileSetIsNull()
public void testAddFileSet_AddsToFileSets()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||