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

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

public class TestFilterFunction
extends junit.framework.TestCase

Test suite for FilterFunction.

Author:
(Cedric) Qin ZHANG

Constructor Summary
TestFilterFunction()
           
 
Method Summary
protected  void setUp()
          Sets up this test case.
protected  void tearDown()
          Tears down this test case.
 void testFilterAbsoluteMode()
          Tests the filter in absolute mode.
 void testFilterRelativeMode()
          Tests the filter in relative mode.
 void testRankFunctions()
          Tests the rank functions.
 
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

TestFilterFunction

public TestFilterFunction()
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.

testFilterAbsoluteMode

public void testFilterAbsoluteMode()
                            throws java.lang.Exception
Tests the filter in absolute mode.

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

testFilterRelativeMode

public void testFilterRelativeMode()
                            throws java.lang.Exception
Tests the filter in relative mode.

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

testRankFunctions

public void testRankFunctions()
                       throws java.lang.Exception
Tests the rank functions.

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