org.metaabm.tests
Class SImplementationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.metaabm.tests.SImplementationTest
All Implemented Interfaces:
junit.framework.Test

public class SImplementationTest
extends junit.framework.TestCase

A test case for the model object 'SImplementation'.

Author:
Miles Parker *

The following features are tested:


Field Summary
protected  SImplementation fixture
          The fixture for this SImplementation test case.
 
Constructor Summary
SImplementationTest(java.lang.String name)
          Constructs a new SImplementation test case with the given name.
 
Method Summary
protected  SImplementation getFixture()
          Returns the fixture for this SImplementation test case.
static void main(java.lang.String[] args)
           
protected  void setFixture(SImplementation fixture)
          Sets the fixture for this SImplementation test case.
protected  void setUp()
           
protected  void tearDown()
           
 void testGetClassFileLoc()
          Tests the 'Class File Loc' feature getter.
 void testGetClassName()
          Tests the 'Class Name' feature getter.
 void testGetDerivedBinDir()
          Tests the 'Derived Bin Dir' feature getter.
 void testGetDerivedPackage()
          Tests the 'Derived Package' feature getter.
 void testGetDerivedPath()
          Tests the 'Derived Path' feature getter.
 void testGetDerivedSrcDir()
          Tests the 'Derived Src Dir' feature getter.
 void testGetJavaFileLoc()
          Tests the 'Java File Loc' feature getter.
 void testGetQualifiedName()
          Tests the 'Qualified Name' feature getter.
 void testLookup()
           
 void testSetClassName()
          Tests the 'Class Name' feature setter.
 
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
 

Field Detail

fixture

protected SImplementation fixture
The fixture for this SImplementation test case.

Constructor Detail

SImplementationTest

public SImplementationTest(java.lang.String name)
Constructs a new SImplementation test case with the given name.

Method Detail

main

public static void main(java.lang.String[] args)


setFixture

protected void setFixture(SImplementation fixture)
Sets the fixture for this SImplementation test case.


getFixture

protected SImplementation getFixture()
Returns the fixture for this SImplementation test case.


setUp

protected void setUp()
              throws java.lang.Exception

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception
See Also:
TestCase.setUp()

tearDown

protected void tearDown()
                 throws java.lang.Exception

Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception
See Also:
TestCase.tearDown()

testGetClassName

public void testGetClassName()
Tests the 'Class Name' feature getter.

See Also:
SImplementation.getClassName()

testSetClassName

public void testSetClassName()
Tests the 'Class Name' feature setter.

See Also:
SImplementation.setClassName(java.lang.String)

testGetQualifiedName

public void testGetQualifiedName()
Tests the 'Qualified Name' feature getter.

See Also:
SImplementation.getQualifiedName()

testGetDerivedPath

public void testGetDerivedPath()
Tests the 'Derived Path' feature getter.

See Also:
SImplementation.getDerivedPath()

testGetDerivedPackage

public void testGetDerivedPackage()
Tests the 'Derived Package' feature getter.

See Also:
SImplementation.getDerivedPackage()

testGetJavaFileLoc

public void testGetJavaFileLoc()
Tests the 'Java File Loc' feature getter.

See Also:
SImplementation.getJavaFileLoc()

testGetClassFileLoc

public void testGetClassFileLoc()
Tests the 'Class File Loc' feature getter.

See Also:
SImplementation.getClassFileLoc()

testGetDerivedBinDir

public void testGetDerivedBinDir()
                          throws java.lang.Exception
Tests the 'Derived Bin Dir' feature getter.

Throws:
java.lang.Exception
See Also:
SImplementation.getDerivedBinDir()

testGetDerivedSrcDir

public void testGetDerivedSrcDir()
Tests the 'Derived Src Dir' feature getter.

See Also:
SImplementation.getDerivedSrcDir()

testLookup

public void testLookup()