org.openi.segment
Class TestHistogram

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.openi.segment.TestHistogram
All Implemented Interfaces:
junit.framework.Test

public class TestHistogram
extends junit.framework.TestCase


Constructor Summary
TestHistogram()
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testMinMax()
           
 void testSegmentBuckets()
          tests segment bucket creation, without fetching the frequencies from the db
 void testSegments()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestHistogram

public TestHistogram()
Method Detail

main

public static void main(java.lang.String[] args)

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testSegmentBuckets

public void testSegmentBuckets()
                        throws java.lang.Exception
tests segment bucket creation, without fetching the frequencies from the db

Throws:
java.lang.Exception

testMinMax

public void testMinMax()
                throws java.lang.Exception
Throws:
java.lang.Exception

testSegments

public void testSegments()
                  throws java.lang.Exception
Throws:
java.lang.Exception