com.exponto.jstock
Class JstockDBTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.exponto.jstock.JstockDBTest
All Implemented Interfaces:
junit.framework.Test

public class JstockDBTest
extends junit.framework.TestCase

Author:
kaare Testcases aren't very well written, but do test most major features.

Constructor Summary
JstockDBTest(java.lang.String arg0)
          Constructor for JstockDBTest.
 
Method Summary
static void main(java.lang.String[] args)
           
 void runTest()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testIndicatorParameters()
           
 void testNewTickerIdNotes()
          Loads notes and modifies and verifies the changes Note that "null" must be manually set in db in order to get the test to pass.
 void testSaveLines()
           
 void testWatchList()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JstockDBTest

public JstockDBTest(java.lang.String arg0)
Constructor for JstockDBTest.

Parameters:
arg0 -
Method Detail

runTest

public void runTest()

testIndicatorParameters

public void testIndicatorParameters()

testWatchList

public void testWatchList()

testNewTickerIdNotes

public void testNewTickerIdNotes()
Loads notes and modifies and verifies the changes Note that "null" must be manually set in db in order to get the test to pass.

Returns:

testSaveLines

public void testSaveLines()

main

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

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004 Kaare Ranum