org.gmetrics.metricset
Class MetricSetBuilderTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
groovy.util.GroovyTestCase
org.gmetrics.test.AbstractTestCase
org.gmetrics.metricset.MetricSetBuilderTest
- All Implemented Interfaces:
- groovy.lang.GroovyObject, junit.framework.Test
public class MetricSetBuilderTest
- extends AbstractTestCase
- implements groovy.lang.GroovyObject
Fields inherited from class groovy.util.GroovyTestCase |
log, TEST_SCRIPT_NAME_PREFIX |
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, 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 |
MetricSetBuilderTest
public MetricSetBuilderTest()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
- Overrides:
getMetaClass
in class AbstractTestCase
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
- Overrides:
setMetaClass
in class AbstractTestCase
invokeMethod
public java.lang.Object invokeMethod(java.lang.String method,
java.lang.Object arguments)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
- Overrides:
invokeMethod
in class AbstractTestCase
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
- Overrides:
getProperty
in class AbstractTestCase
setProperty
public void setProperty(java.lang.String property,
java.lang.Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
- Overrides:
setProperty
in class AbstractTestCase
testMetricset_NullFilename
public void testMetricset_NullFilename()
testMetricset_GroovyFile_MetricSetFileDoesNotExist
public void testMetricset_GroovyFile_MetricSetFileDoesNotExist()
testMetricset_GroovyFile_ConfigureMetricUsingMap
public void testMetricset_GroovyFile_ConfigureMetricUsingMap()
testMetricset_GroovyFile_NestedMetricDefinitionNotIncludedInMetricSet
public void testMetricset_GroovyFile_NestedMetricDefinitionNotIncludedInMetricSet()
testMetricset_GroovyFile_ConfigureMetricUsingMap_MetricNotFound
public void testMetricset_GroovyFile_ConfigureMetricUsingMap_MetricNotFound()
testMetricset_GroovyFile_ConfigureMetricUsingClosure
public void testMetricset_GroovyFile_ConfigureMetricUsingClosure()
testMetricset_GroovyFile_ConfigureMetricUsingClosure_MetricNotFound
public void testMetricset_GroovyFile_ConfigureMetricUsingClosure_MetricNotFound()
testMetricset_GroovyFile_NoClosure
public void testMetricset_GroovyFile_NoClosure()
testMetric_Class_Map
public void testMetric_Class_Map()
testMetric_Class_NoClosure
public void testMetric_Class_NoClosure()
testMetric_Class_NoClosure_NullMetricClass
public void testMetric_Class_NoClosure_NullMetricClass()
testMetric_Class_NoClosure_ClassDoesNotImplementRuleInterface
public void testMetric_Class_NoClosure_ClassDoesNotImplementRuleInterface()
testMetric_Class_Closure
public void testMetric_Class_Closure()
testMetric_Class_Closure_NullRuleClass
public void testMetric_Class_Closure_NullRuleClass()
testMetric_Class_Closure_ClassDoesNotImplementMetricInterface
public void testMetric_Class_Closure_ClassDoesNotImplementMetricInterface()
testMetric_MetricName_EmptyParentheses
public void testMetric_MetricName_EmptyParentheses()
testMetric_MetricName_ParenthesesWithMap
public void testMetric_MetricName_ParenthesesWithMap()
testMetric_MetricName_NoParenthesesWithClosure
public void testMetric_MetricName_NoParenthesesWithClosure()
testMetric_NestedMetricDefinitionUsingMetric_NotIncludedInMetricSet
public void testMetric_NestedMetricDefinitionUsingMetric_NotIncludedInMetricSet()
testMetric_NestedMetricDefinitionUsingMetricWithMap_NotIncludedInMetricSet
public void testMetric_NestedMetricDefinitionUsingMetricWithMap_NotIncludedInMetricSet()
testMetric_NestedMetricDefinitionUsingMetricWithClosure_NotIncludedInMetricSet
public void testMetric_NestedMetricDefinitionUsingMetricWithClosure_NotIncludedInMetricSet()
testMetric_NestedMetricDefinition_AssignNestedMetricWithinMap_KnownLimitation
public void testMetric_NestedMetricDefinition_AssignNestedMetricWithinMap_KnownLimitation()
testMetric_NestedMetricDefinitionUsingMetricNameWithClosure_NotIncludedInMetricSet
public void testMetric_NestedMetricDefinitionUsingMetricNameWithClosure_NotIncludedInMetricSet()
testMetric_NestedMetricDefinitionUsingMetricNameWithMap_IsIncludedInMetricSet
public void testMetric_NestedMetricDefinitionUsingMetricNameWithMap_IsIncludedInMetricSet()
testMetric_MetricName_NoParenthesesOrClosure
public void testMetric_MetricName_NoParenthesesOrClosure()
testMetric_MetricName_NoSuchMetricName
public void testMetric_MetricName_NoSuchMetricName()
testDescription
public void testDescription()
setUp
public void setUp()
- Overrides:
setUp
in class AbstractTestCase
tearDown
protected void tearDown()
- Overrides:
tearDown
in class junit.framework.TestCase
Copyright © 2012. All Rights Reserved.