com.jstatcom.ts
Class TSTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.jstatcom.ts.TSTest
All Implemented Interfaces:
junit.framework.Test

public class TSTest
extends junit.framework.TestCase

This is a set of tests for the time series package. It makes use of the junit framework.

Author:
Markus Kraetzig

Constructor Summary
TSTest(java.lang.String name)
          Test constructor comment.
 
Method Summary
static junit.framework.Test suite()
          Here a TestSuite is created, which automatically executes all methods that start with test* by using a reflection mechanism.
 void testCalc()
          Tests the TS.
 void testSelection()
          Tests the selection.
 void testTS()
          Tests the TS.
 void testTSDate()
          Tests the TSDate constructors.
 void testTSDateParser()
          Tests the TSDate parser.
 void testTSDateRange()
          Tests the TSDateRange.
 void testTSDateRange2()
          Tests the TSDateRange.
 void testTSDateRangeAddPeriods()
          Tests the TSDateRange.
 void testTSDummy()
          Tests the TS dummy creation.
 void testTSEquals()
          Tests the TS.
 void testTSguessType()
          Tests the TS type guessing.
 void testTSHolder()
          Tests the TSHolder.
 void testTSOperation()
          Tests the TS.
 void testTSSeasDumm()
          Tests the TS seasonal dummy creation.
 void testTSTrendShift()
          Tests the TS dummy creation.
 void testTypes()
          Tests the TSTypes.
 void testValidName()
          Tests the TS name check.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TSTest

public TSTest(java.lang.String name)
Test constructor comment.

Parameters:
name - String
Method Detail

suite

public static junit.framework.Test suite()
Here a TestSuite is created, which automatically executes all methods that start with test* by using a reflection mechanism.

Returns:
Test

testCalc

public void testCalc()
Tests the TS.


testTypes

public void testTypes()
Tests the TSTypes.


testTS

public void testTS()
Tests the TS.


testTSDate

public void testTSDate()
Tests the TSDate constructors.


testTSDateParser

public void testTSDateParser()
Tests the TSDate parser.


testTSDateRange

public void testTSDateRange()
Tests the TSDateRange.


testTSDateRange2

public void testTSDateRange2()
Tests the TSDateRange.


testTSDateRangeAddPeriods

public void testTSDateRangeAddPeriods()
Tests the TSDateRange.


testTSDummy

public void testTSDummy()
Tests the TS dummy creation.


testTSTrendShift

public void testTSTrendShift()
Tests the TS dummy creation.


testTSEquals

public void testTSEquals()
Tests the TS.


testTSguessType

public void testTSguessType()
Tests the TS type guessing.


testTSHolder

public void testTSHolder()
Tests the TSHolder.


testTSOperation

public void testTSOperation()
Tests the TS.


testTSSeasDumm

public void testTSSeasDumm()
Tests the TS seasonal dummy creation.


testValidName

public void testValidName()
Tests the TS name check.


testSelection

public void testSelection()
Tests the selection.