SysML

org.topcased.sysml.tests
Class RequirementTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.topcased.sysml.tests.RequirementTest
All Implemented Interfaces:
junit.framework.Test

public class RequirementTest
extends junit.framework.TestCase

A test case for the model object ' < ? >Requirement'.

The following features are tested:

** Generated **

Field Summary
static java.lang.String copyright
           
protected  Requirement fixture
          The fixture for this Requirement test case
 
Constructor Summary
RequirementTest(java.lang.String name)
          Constructs a new Requirement test case with the given name.
 
Method Summary
protected  Requirement getFixture()
          Returns the fixture for this Requirement test case
static void main(java.lang.String[] args)
           
protected  void setFixture(Requirement fixture)
          Sets the fixture for this Requirement test case
protected  void setUp()
           
protected  void tearDown()
           
 void testGetDerived()
          Tests the 'Derived' feature getter
 void testGetDerivedFrom()
          Tests the 'Derived From' feature getter
 void testGetMaster()
          Tests the 'Master' feature getter
 void testGetRefinedBy()
          Tests the 'Refined By' feature getter
 void testGetSatisfiedBy()
          Tests the 'Satisfied By' feature getter
 void testGetTracedTo()
          Tests the 'Traced To' feature getter
 void testGetVerifiedBy()
          Tests the 'Verified By' feature getter
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
** Generated **

fixture

protected Requirement fixture
The fixture for this Requirement test case.

** Generated **
Constructor Detail

RequirementTest

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

** Generated **
Method Detail

main

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

** Generated **

setFixture

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

** Generated **

getFixture

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

** Generated **

setUp

protected void setUp()
              throws java.lang.Exception

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

tearDown

protected void tearDown()
                 throws java.lang.Exception

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

testGetDerivedFrom

public void testGetDerivedFrom()
Tests the 'Derived From' feature getter.

See Also:
Requirement.getDerivedFrom()
** Generated **

testGetDerived

public void testGetDerived()
Tests the 'Derived' feature getter.

See Also:
Requirement.getDerived()
** Generated **

testGetVerifiedBy

public void testGetVerifiedBy()
Tests the 'Verified By' feature getter.

See Also:
Requirement.getVerifiedBy()
** Generated **

testGetTracedTo

public void testGetTracedTo()
Tests the 'Traced To' feature getter.

See Also:
Requirement.getTracedTo()
** Generated **

testGetSatisfiedBy

public void testGetSatisfiedBy()
Tests the 'Satisfied By' feature getter.

See Also:
Requirement.getSatisfiedBy()
** Generated **

testGetRefinedBy

public void testGetRefinedBy()
Tests the 'Refined By' feature getter.

See Also:
Requirement.getRefinedBy()
** Generated **

testGetMaster

public void testGetMaster()
Tests the 'Master' feature getter.

See Also:
Requirement.getMaster()
** Generated **

SysML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.