junitx.ddtunit.functest
Class ProcessExpectedExceptionErrorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by junitx.ddtunit.functest.ProcessExpectedExceptionErrorTest
All Implemented Interfaces:
junit.framework.Test

public class ProcessExpectedExceptionErrorTest
extends junit.framework.TestCase

Test class to verify behavior if an expected exception is stated in the test resource but not raised during test execution.

Author:
jg

Constructor Summary
ProcessExpectedExceptionErrorTest(String name)
           
 
Method Summary
static junit.framework.Test suite()
          Define tests to run
 void testDefinedbutNotRaisedException()
          Test behavior on defined but not raised expected exception.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessExpectedExceptionErrorTest

public ProcessExpectedExceptionErrorTest(String name)
Parameters:
name -
Method Detail

suite

public static junit.framework.Test suite()
Define tests to run

Returns:

testDefinedbutNotRaisedException

public void testDefinedbutNotRaisedException()
Test behavior on defined but not raised expected exception. An exception should be raised stating the missing exception.



Copyright © 2004-2011. All Rights Reserved.