junitx.ddtunit
Class ExecutionResultTest

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

public class ExecutionResultTest
extends junit.framework.TestCase

Test different execution runs with different DDTTestResults.

Author:
jg

Constructor Summary
ExecutionResultTest(String name)
          Constructor of ExecutionResultTest
 
Method Summary
 void setUp()
          Setup test environment
 void testRunThreeMethodTestsNoProblem()
          Execute internal DDTTestCase with one method and three xml based tests, no execution exception.
 void testRunThreeMethodTestsOneAssertFailedException()
          Execute internal DDTTestCase with one method and three xml based tests, one AssertionFailed exception.
 void testRunThreeMethodTestsOneAssertFailedOneException()
          Execute internal DDTTestCase with one method and three xml based tests, one AssertionFailed and one other exception.
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecutionResultTest

public ExecutionResultTest(String name)
Constructor of ExecutionResultTest

Parameters:
name -
Method Detail

setUp

public void setUp()
Setup test environment

Overrides:
setUp in class junit.framework.TestCase
See Also:
TestCase.setUp()

testRunThreeMethodTestsNoProblem

public void testRunThreeMethodTestsNoProblem()
Execute internal DDTTestCase with one method and three xml based tests, no execution exception.


testRunThreeMethodTestsOneAssertFailedException

public void testRunThreeMethodTestsOneAssertFailedException()
Execute internal DDTTestCase with one method and three xml based tests, one AssertionFailed exception.


testRunThreeMethodTestsOneAssertFailedOneException

public void testRunThreeMethodTestsOneAssertFailedOneException()
Execute internal DDTTestCase with one method and three xml based tests, one AssertionFailed and one other exception.



Copyright © 2004-2011. All Rights Reserved.