org.gmetrics.source
Class SourceCodeCriteriaTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by groovy.util.GroovyTestCase
              extended by org.gmetrics.test.AbstractTestCase
                  extended by org.gmetrics.source.SourceCodeCriteriaTest
All Implemented Interfaces:
groovy.lang.GroovyObject, junit.framework.Test

public class SourceCodeCriteriaTest
extends AbstractTestCase
implements groovy.lang.GroovyObject


Field Summary
 
Fields inherited from class groovy.util.GroovyTestCase
log, TEST_SCRIPT_NAME_PREFIX
 
Constructor Summary
SourceCodeCriteriaTest()
           
 
Method Summary
static java.lang.Object getANYTHING()
           
static java.lang.Object getMATCH()
           
 groovy.lang.MetaClass getMetaClass()
           
static java.lang.Object getNAME()
           
static java.lang.Object getNO_MATCH()
           
static java.lang.Object getOTHER_NAME()
           
static java.lang.Object getPATH()
           
 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 testMatches_Name_Wildcards()
           
 void testMatches_Name()
           
 void testMatches_NameAndPath()
           
 void testMatches_NullPathAndName()
           
 void testMatches_Path()
           
 
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

SourceCodeCriteriaTest

public SourceCodeCriteriaTest()
Method Detail

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

getNAME

public static java.lang.Object getNAME()

getPATH

public static java.lang.Object getPATH()

getMATCH

public static java.lang.Object getMATCH()

getNO_MATCH

public static java.lang.Object getNO_MATCH()

getOTHER_NAME

public static java.lang.Object getOTHER_NAME()

getANYTHING

public static java.lang.Object getANYTHING()

testMatches_NullPathAndName

public void testMatches_NullPathAndName()

testMatches_Path

public void testMatches_Path()

testMatches_Name

public void testMatches_Name()

testMatches_Name_Wildcards

public void testMatches_Name_Wildcards()

testMatches_NameAndPath

public void testMatches_NameAndPath()

setUp

public void setUp()
Overrides:
setUp in class AbstractTestCase


Copyright © 2012. All Rights Reserved.