SysML

org.topcased.sysml.tests
Class ServicePortTest

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

public class ServicePortTest
extends junit.framework.TestCase

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

The following operations are tested:

** Generated **

Field Summary
static java.lang.String copyright
           
protected  ServicePort fixture
          The fixture for this Service Port test case
 
Constructor Summary
ServicePortTest(java.lang.String name)
          Constructs a new Service Port test case with the given name.
 
Method Summary
protected  ServicePort getFixture()
          Returns the fixture for this Service Port test case
static void main(java.lang.String[] args)
           
protected  void setFixture(ServicePort fixture)
          Sets the fixture for this Service Port test case
protected  void setUp()
           
protected  void tearDown()
           
 void testValidateConnectedPortsCompatibility()
          Tests the 'Validate Connected Ports Compatibility' 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 ServicePort fixture
The fixture for this Service Port test case.

** Generated **
Constructor Detail

ServicePortTest

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

** Generated **
Method Detail

main

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

** Generated **

setFixture

protected void setFixture(ServicePort fixture)
Sets the fixture for this Service Port test case.

** Generated **

getFixture

protected ServicePort getFixture()
Returns the fixture for this Service 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 **

testValidateConnectedPortsCompatibility

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

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

SysML

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