com.jrefinery.report.ext.junit.bugs
Class GroupCountBug

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.jrefinery.report.ext.junit.bugs.GroupCountBug
All Implemented Interfaces:
junit.framework.Test

public class GroupCountBug
extends junit.framework.TestCase

This test case has been compiled in response to a bug report by Steven Feinstein:

http://www.object-refinery.com/phorum-3.3.2a/read.php?f=7&i=12&t=12

A new group is not being generated for the last row of data in a report.


Constructor Summary
GroupCountBug(java.lang.String name)
          Constructs a new set of tests.
 
Method Summary
protected  void setUp()
          Common test setup.
static junit.framework.Test suite()
          Returns the tests as a test suite.
 void testGroupCount()
          Counts the number of groups.
 
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

GroupCountBug

public GroupCountBug(java.lang.String name)
Constructs a new set of tests.

Parameters:
name - The name of the tests.
Method Detail

suite

public static junit.framework.Test suite()
Returns the tests as a test suite.


setUp

protected void setUp()
Common test setup.

Overrides:
setUp in class junit.framework.TestCase

testGroupCount

public void testGroupCount()
                    throws java.lang.Exception
Counts the number of groups.

java.lang.Exception