SysML

org.topcased.sysml.tests
Class FlowPortTest

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

public class FlowPortTest
extends junit.framework.TestCase

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

The following features are tested:

The following operations are tested:

** Generated **

Field Summary
static java.lang.String copyright
           
protected  FlowPort fixture
          The fixture for this Flow Port test case
 
Constructor Summary
FlowPortTest(java.lang.String name)
          Constructs a new Flow Port test case with the given name.
 
Method Summary
protected  FlowPort getFixture()
          Returns the fixture for this Flow Port test case
static void main(java.lang.String[] args)
           
protected  void setFixture(FlowPort fixture)
          Sets the fixture for this Flow Port test case
protected  void setUp()
           
protected  void tearDown()
           
 void testIsIsAtomic()
          Tests the 'Is Atomic' feature getter
 void testValidateConnectedPortsCompatibility()
          Tests the 'Validate Connected Ports Compatibility' operation
 void testValidateType()
          Tests the 'Validate Type' operation
 
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 FlowPort fixture
The fixture for this Flow Port test case.

** Generated **
Constructor Detail

FlowPortTest

public FlowPortTest(java.lang.String name)
Constructs a new Flow Port test case with the given name.

** Generated **
Method Detail

main

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

** Generated **

setFixture

protected void setFixture(FlowPort fixture)
Sets the fixture for this Flow Port test case.

** Generated **

getFixture

protected FlowPort getFixture()
Returns the fixture for this Flow Port 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 **

testIsIsAtomic

public void testIsIsAtomic()
Tests the 'Is Atomic' feature getter.

See Also:
FlowPort.isIsAtomic()
** Generated **

testValidateConnectedPortsCompatibility

public void testValidateConnectedPortsCompatibility()
Tests the 'Validate Connected Ports Compatibility' operation.

See Also:
FlowPort.validateConnectedPortsCompatibility()
** Generated **

testValidateType

public void testValidateType()
Tests the 'Validate Type' operation.

See Also:
FlowPort.validateType()
** Generated **

SysML

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