org.hackystat.sensor.ant.vcs
Class TestGenericSizeCounter

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.hackystat.sensor.ant.vcs.TestGenericSizeCounter
All Implemented Interfaces:
junit.framework.Test

public class TestGenericSizeCounter
extends junit.framework.TestCase

Test case for GenericSizeCounter.

Version:
$Id$
Author:
Qin ZHANG

Constructor Summary
TestGenericSizeCounter()
           
 
Method Summary
 void test1()
          Tests with strings.
 void test2()
          Tests with objects.
 
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

TestGenericSizeCounter

public TestGenericSizeCounter()
Method Detail

test1

public void test1()
           throws java.lang.Exception
Tests with strings.

Throws:
java.lang.Exception - If test fails.

test2

public void test2()
           throws java.lang.Exception
Tests with objects.

Throws:
java.lang.Exception - If test fails.