org.hackystat.telemetry.analyzer.function.impl
Class TestIdempotentFunction

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.hackystat.telemetry.analyzer.function.impl.TestIdempotentFunction
All Implemented Interfaces:
junit.framework.Test

public class TestIdempotentFunction
extends junit.framework.TestCase

Test suite for IdempotentFunction.

Author:
(Cedric) Qin ZHANG

Constructor Summary
TestIdempotentFunction()
           
 
Method Summary
protected  void setUp()
          Sets up this test case.
protected  void tearDown()
          Tears down this test case.
 void testNumbers()
          Tests with numbers.
 void testWithTelemetryStreamCollectionAndNumber()
          Tests with 1 telemetry stream collection and 1 numbers.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

TestIdempotentFunction

public TestIdempotentFunction()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Sets up this test case.

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception - If test case cannot be set up.

tearDown

protected void tearDown()
                 throws java.lang.Exception
Tears down this test case.

Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception - If tear down failed.

testNumbers

public void testNumbers()
                 throws java.lang.Exception
Tests with numbers.

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

testWithTelemetryStreamCollectionAndNumber

public void testWithTelemetryStreamCollectionAndNumber()
                                                throws java.lang.Exception
Tests with 1 telemetry stream collection and 1 numbers.

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