junitx.ddtunit
Class DDTExceptionClassTest

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

public class DDTExceptionClassTest
extends junit.framework.TestCase

Check functionality provided by DDTException.

Author:
jg

Constructor Summary
DDTExceptionClassTest(String name)
          Instanciate unit test with method name to execute
 
Method Summary
static junit.framework.Test suite()
          Create test suite defined by this class
 void testCreateDoubleException()
          Test functionallity of DDTException.create(StringBuffer, Throwable)using exception with one cause exception
 void testCreateSingleException()
          Test functionallity of DDTException.create(StringBuffer, Throwable)using simple exception without a cause 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

DDTExceptionClassTest

public DDTExceptionClassTest(String name)
Instanciate unit test with method name to execute

Parameters:
name - of testmethod to execute
Method Detail

suite

public static junit.framework.Test suite()
Create test suite defined by this class

Returns:
Test containing all tests provided by this class

testCreateSingleException

public void testCreateSingleException()
Test functionallity of DDTException.create(StringBuffer, Throwable)using simple exception without a cause exception


testCreateDoubleException

public void testCreateDoubleException()
Test functionallity of DDTException.create(StringBuffer, Throwable)using exception with one cause exception



Copyright © 2004-2011. All Rights Reserved.