org.apache.commons.math.stat.descriptive
Class DescriptiveStatisticsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.math.stat.descriptive.DescriptiveStatisticsAbstractTest
              extended by org.apache.commons.math.stat.descriptive.DescriptiveStatisticsTest
All Implemented Interfaces:
junit.framework.Test

public final class DescriptiveStatisticsTest
extends DescriptiveStatisticsAbstractTest

Test cases for the DescriptiveStatistics class. When DescriptiveStatisticsImpl is removed, this class should replace DescriptiveStatisticsAbstractTest

Version:
$Revision: 592121 $ $Date: 2007-08-16 15:36:33 -0500 (Thu, 16 Aug 2007) $

Constructor Summary
DescriptiveStatisticsTest(java.lang.String name)
           
 
Method Summary
protected  org.apache.commons.math.stat.descriptive.DescriptiveStatistics createDescriptiveStatistics()
           
static junit.framework.Test suite()
           
 void testPercentileSetter()
           
 void testSetterInjection()
           
 
Methods inherited from class org.apache.commons.math.stat.descriptive.DescriptiveStatisticsAbstractTest
setUp, testAddValue, testGetSortedValues, testN0andN1Conditions, testNewInstanceClassNull, testNewInstanceClassValid, testPercentiles, testProductAndGeometricMean, testSerialization, testSkewAndKurtosis, testStats, testToString, testWindowing, testWindowSize
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescriptiveStatisticsTest

public DescriptiveStatisticsTest(java.lang.String name)
Method Detail

suite

public static junit.framework.Test suite()

createDescriptiveStatistics

protected org.apache.commons.math.stat.descriptive.DescriptiveStatistics createDescriptiveStatistics()
Specified by:
createDescriptiveStatistics in class DescriptiveStatisticsAbstractTest

testSetterInjection

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

testPercentileSetter

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


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.