mockmaker.structure.tests
Class SourceClassStructureTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bymockmaker.structure.tests.SourceClassStructureTest
All Implemented Interfaces:
junit.framework.Test

public class SourceClassStructureTest
extends junit.framework.TestCase


Field Summary
private  ClassStructure advancedTheThing
           
private  ClassStructure advancedThing
           
private  ClassStructure constructors
           
private  ClassStructure exceptionStuff
           
private  ClassStructure paramStuff
           
private  ClassStructure returnStuff
           
private  ClassStructure staticClass
           
private  ClassStructure theThing
           
private  ClassStructure thing
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
SourceClassStructureTest(java.lang.String s)
           
 
Method Summary
protected  void setUp()
           
 void testArrayDimensions()
           
 void testArrayMethods()
           
 void testClassInheritance()
           
 void testConstructors()
           
 void testExceptionCount()
           
 void testExceptions()
           
 void testIsInterface()
           
 void testMethodCount()
           
 void testMethodNames()
           
 void testMethodReturnTypes()
           
 void testName()
           
 void testNoStaticMethods()
           
 void testParameters()
           
 void testPrimitivesMethods()
           
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

thing

private ClassStructure thing

theThing

private ClassStructure theThing

staticClass

private ClassStructure staticClass

returnStuff

private ClassStructure returnStuff

exceptionStuff

private ClassStructure exceptionStuff

paramStuff

private ClassStructure paramStuff

constructors

private ClassStructure constructors

advancedThing

private ClassStructure advancedThing

advancedTheThing

private ClassStructure advancedTheThing
Constructor Detail

SourceClassStructureTest

public SourceClassStructureTest(java.lang.String s)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

testName

public void testName()
              throws java.lang.Exception
Throws:
java.lang.Exception

testIsInterface

public void testIsInterface()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testMethodCount

public void testMethodCount()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testMethodNames

public void testMethodNames()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testMethodReturnTypes

public void testMethodReturnTypes()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testNoStaticMethods

public void testNoStaticMethods()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testPrimitivesMethods

public void testPrimitivesMethods()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testArrayMethods

public void testArrayMethods()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testArrayDimensions

public void testArrayDimensions()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testExceptionCount

public void testExceptionCount()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testExceptions

public void testExceptions()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testParameters

public void testParameters()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testConstructors

public void testConstructors()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testClassInheritance

public void testClassInheritance()
                          throws java.lang.Exception
Throws:
java.lang.Exception