org.designwizard.test.design
Class WarningTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.designwizard.test.design.WarningTest
All Implemented Interfaces:
junit.framework.Test

public class WarningTest
extends junit.framework.TestCase

This class is a test composition class. I made some tests that must be executed to show to programmers that their source code have some undesirable features, however, tolerable features in Design.

Author:
Jo�o Arthur Brunet Monteiro - joaoarthur@gmail.com - Grupo de Métodos Formais (GMF)

Constructor Summary
WarningTest()
           
 
Method Summary
protected  void setUp()
          Creates a new DesignWizard.
 void testWarning()
          Assests if the number of static methods on classes are not large.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WarningTest

public WarningTest()
Method Detail

setUp

protected void setUp()
              throws java.io.IOException
Creates a new DesignWizard.

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.io.IOException

testWarning

public void testWarning()
                 throws InexistentEntityException
Assests if the number of static methods on classes are not large. (This may be a bad sinal in Desing.)

Throws:
InexistentEntityException