Jatha Software

org.jatha.test.junit
Class CoreTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jatha.test.junit.CoreTest
All Implemented Interfaces:
Test

public class CoreTest
extends TestCase

Core functionality tests for Jatha. Note: This needs JUnit to compile, from http://www.junit.org/. User: hewett Date: Dec 12, 2002 Time: 8:47:18 AM To change this template use Options | File Templates.


Field Summary
protected  LispValue A
           
protected  LispValue B
           
protected  LispValue C
           
protected  LispValue D
           
protected  LispValue E
           
protected  LispValue F
           
protected  LispValue f_Bignum
           
protected  LispValue f_Cons
           
protected  LispValue f_Constant
           
protected  LispValue f_Function
           
protected  LispValue f_HashTable
           
protected  LispValue f_Integer
           
protected  LispValue f_Keyword
           
protected static Jatha f_lisp
           
protected  LispValue f_List
           
protected  LispValue f_NIL
           
protected  LispValue f_Number
           
protected  LispValue f_Package
           
protected  LispValue f_QuotedList
           
protected  LispValue f_Real
           
protected  LispValue f_String
           
protected  LispValue f_Symbol
           
protected  LispValue f_T
           
protected  LispValue FIVE
           
protected  LispValue FOUR
           
protected  LispValue G
           
protected  LispValue ONE
           
protected  LispValue THREE
           
protected  LispValue TWO
           
 
Constructor Summary
CoreTest()
           
 
Method Summary
static void main(String[] args)
          Use -gui to enable the gui.
protected  void setUp()
           
static Test suite()
           
 void testAdd1()
           
 void testAdd2()
           
 void testAdd3()
           
 void testAdd4()
           
 void testAdd5()
           
 void testAdd6()
           
 void testAppend()
           
 void testapply()
           
 void testassoc()
           
 void testatom()
           
 void testBasicAtom()
           
 void testBasicBignump()
           
 void testBasicConsp()
           
 void testBasicConstantp()
           
 void testBasicForeignp()
           
 void testBasicFunctionp()
           
 void testBasicIntegerp()
           
 void testBasicKeywordp()
           
 void testBasicLength()
           
 void testBasicListp()
           
 void testBasicMacrop()
           
 void testBasicNull()
           
 void testBasicNumberp()
           
 void testBasicStringp()
           
 void testBasicSymbolp()
           
 void testbignump()
           
 void testboundp()
           
 void testbutlast()
           
 void testcar()
           
 void testcdr()
           
 void testcharacterp()
           
 void testclrhash()
           
 void testConcatenate()
           
 void testconsp()
           
 void testcopy_list()
           
 void testDivide()
           
 void testeighth()
           
 void testelt()
           
 void testeq()
           
 void testeql()
           
 void testequal()
           
 void testfboundp()
           
 void testfifth()
           
 void testfirst()
           
 void testfloatp()
           
 void testfourth()
           
 void testfuncall()
           
 void testgethash()
           
 void testhash_table_count()
           
 void testhash_table_rehash_size()
           
 void testhash_table_rehash_threshold()
           
 void testhash_table_size()
           
 void testhash_table_test()
           
 void testhashtablep()
           
 void testintegerp()
           
 void testkeywordp()
           
 void testlast()
           
 void testlength()
           
 void testlisp_null()
           
 void testlist()
           
 void testlistp()
           
 void testLongList()
           
 void testmax1()
           
 void testmax2()
           
 void testmax3()
           
 void testmax4()
           
 void testmax5()
           
 void testmax6()
           
 void testmember()
           
 void testmin1()
           
 void testmin2()
           
 void testmin3()
           
 void testmin4()
           
 void testmin5()
           
 void testmin6()
           
 void testMultiply()
           
 void testnconc()
           
 void testninth()
           
 void testnreverse()
           
 void testnumberp()
           
 void testpop()
           
 void testprin1()
           
 void testprinc()
           
 void testprint()
           
 void testpush()
           
 void testrassoc()
           
 void testremhash()
           
 void testremove()
           
 void testreverse()
           
 void testrplaca()
           
 void testrplacd()
           
 void testsecond()
           
 void testsetf_gethash()
           
 void testsetf_symbol_function()
           
 void testsetf_symbol_plist()
           
 void testsetf_symbol_value()
           
 void testseventh()
           
 void teststring()
           
 void teststringCapitalize()
           
 void teststringDowncase()
           
 void teststringEndsWith()
           
 void teststringEq()
           
 void teststringEqual()
           
 void teststringGreaterP()
           
 void teststringGreaterThan()
           
 void teststringGreaterThanOrEqual()
           
 void teststringLeftTrim()
           
 void teststringLeftTrim2()
           
 void teststringLessP()
           
 void teststringLessThan()
           
 void teststringLessThanOrEqual()
           
 void teststringNeq()
           
 void teststringNotGreaterP()
           
 void teststringNotLessP()
           
 void teststringp()
           
 void teststringRightTrim()
           
 void teststringRightTrim2()
           
 void teststringStartsWith()
           
 void teststringTrim()
           
 void teststringTrim2()
           
 void teststringUpcase()
           
 void testsubst()
           
 void testsubstring()
           
 void testSubtract1()
           
 void testSubtract2()
           
 void testSubtract3()
           
 void testSubtract4()
           
 void testSubtract5()
           
 void testSubtract6()
           
 void testsymbol_function()
           
 void testsymbol_name()
           
 void testsymbol_package()
           
 void testsymbol_plist()
           
 void testsymbol_value()
           
 void testsymbolp()
           
 void testtenth()
           
 void testthird()
           
 void testToString()
           
 void testtype_of()
           
 void testtypep()
           
 void testzerop()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

f_lisp

protected static Jatha f_lisp

f_NIL

protected LispValue f_NIL

f_T

protected LispValue f_T

f_Bignum

protected LispValue f_Bignum

f_Cons

protected LispValue f_Cons

f_Constant

protected LispValue f_Constant

f_Function

protected LispValue f_Function

f_HashTable

protected LispValue f_HashTable

f_Integer

protected LispValue f_Integer

f_Keyword

protected LispValue f_Keyword

f_List

protected LispValue f_List

f_Number

protected LispValue f_Number

f_QuotedList

protected LispValue f_QuotedList

f_Package

protected LispValue f_Package

f_Real

protected LispValue f_Real

f_String

protected LispValue f_String

f_Symbol

protected LispValue f_Symbol

A

protected LispValue A

B

protected LispValue B

C

protected LispValue C

D

protected LispValue D

E

protected LispValue E

F

protected LispValue F

G

protected LispValue G

ONE

protected LispValue ONE

TWO

protected LispValue TWO

THREE

protected LispValue THREE

FOUR

protected LispValue FOUR

FIVE

protected LispValue FIVE
Constructor Detail

CoreTest

public CoreTest()
Method Detail

main

public static void main(String[] args)
Use -gui to enable the gui.

Parameters:
args - command-line arguments.

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class TestCase
Throws:
Exception

suite

public static Test suite()

testBasicAtom

public void testBasicAtom()

testBasicBignump

public void testBasicBignump()

testBasicConsp

public void testBasicConsp()

testBasicConstantp

public void testBasicConstantp()

testBasicForeignp

public void testBasicForeignp()

testBasicIntegerp

public void testBasicIntegerp()

testBasicFunctionp

public void testBasicFunctionp()

testBasicKeywordp

public void testBasicKeywordp()

testBasicLength

public void testBasicLength()

testBasicListp

public void testBasicListp()

testBasicMacrop

public void testBasicMacrop()

testBasicNull

public void testBasicNull()

testBasicNumberp

public void testBasicNumberp()

testBasicStringp

public void testBasicStringp()

testBasicSymbolp

public void testBasicSymbolp()

testAppend

public void testAppend()

testapply

public void testapply()

testassoc

public void testassoc()

testatom

public void testatom()

testbignump

public void testbignump()

testboundp

public void testboundp()

testbutlast

public void testbutlast()

testcar

public void testcar()

testcdr

public void testcdr()

testcharacterp

public void testcharacterp()

testclrhash

public void testclrhash()

testConcatenate

public void testConcatenate()

testconsp

public void testconsp()

testcopy_list

public void testcopy_list()

testeighth

public void testeighth()

testelt

public void testelt()

testeq

public void testeq()

testeql

public void testeql()

testequal

public void testequal()

testfboundp

public void testfboundp()

testfloatp

public void testfloatp()

testfifth

public void testfifth()

testfirst

public void testfirst()

testfourth

public void testfourth()

testfuncall

public void testfuncall()

testgethash

public void testgethash()

testsetf_gethash

public void testsetf_gethash()

testhashtablep

public void testhashtablep()

testhash_table_count

public void testhash_table_count()

testhash_table_size

public void testhash_table_size()

testhash_table_rehash_size

public void testhash_table_rehash_size()

testhash_table_rehash_threshold

public void testhash_table_rehash_threshold()

testhash_table_test

public void testhash_table_test()

testintegerp

public void testintegerp()

testkeywordp

public void testkeywordp()

testlast

public void testlast()

testlength

public void testlength()

testlisp_null

public void testlisp_null()

testlist

public void testlist()

testlistp

public void testlistp()

testmax1

public void testmax1()

testmax2

public void testmax2()

testmax3

public void testmax3()

testmax4

public void testmax4()

testmax5

public void testmax5()

testmax6

public void testmax6()

testmin1

public void testmin1()

testmin2

public void testmin2()

testmin3

public void testmin3()

testmin4

public void testmin4()

testmin5

public void testmin5()

testmin6

public void testmin6()

testmember

public void testmember()

testnconc

public void testnconc()

testninth

public void testninth()

testnreverse

public void testnreverse()

testnumberp

public void testnumberp()

testpop

public void testpop()

testprin1

public void testprin1()

testprinc

public void testprinc()

testprint

public void testprint()

testpush

public void testpush()

testrassoc

public void testrassoc()

testremhash

public void testremhash()

testremove

public void testremove()

testreverse

public void testreverse()

testrplaca

public void testrplaca()

testrplacd

public void testrplacd()

testsecond

public void testsecond()

testsetf_symbol_function

public void testsetf_symbol_function()

testsetf_symbol_plist

public void testsetf_symbol_plist()

testsetf_symbol_value

public void testsetf_symbol_value()

testseventh

public void testseventh()

teststringp

public void teststringp()

teststring

public void teststring()

teststringUpcase

public void teststringUpcase()

teststringDowncase

public void teststringDowncase()

teststringCapitalize

public void teststringCapitalize()

teststringEqual

public void teststringEqual()

teststringEq

public void teststringEq()

teststringNeq

public void teststringNeq()

teststringLessThan

public void teststringLessThan()

teststringLessP

public void teststringLessP()

teststringGreaterThan

public void teststringGreaterThan()

teststringGreaterP

public void teststringGreaterP()

teststringLessThanOrEqual

public void teststringLessThanOrEqual()

teststringGreaterThanOrEqual

public void teststringGreaterThanOrEqual()

teststringNotLessP

public void teststringNotLessP()

teststringNotGreaterP

public void teststringNotGreaterP()

teststringEndsWith

public void teststringEndsWith()

teststringStartsWith

public void teststringStartsWith()

teststringTrim

public void teststringTrim()

teststringTrim2

public void teststringTrim2()

teststringLeftTrim

public void teststringLeftTrim()

teststringLeftTrim2

public void teststringLeftTrim2()

teststringRightTrim

public void teststringRightTrim()

teststringRightTrim2

public void teststringRightTrim2()

testsubst

public void testsubst()

testsubstring

public void testsubstring()

testsymbolp

public void testsymbolp()

testsymbol_function

public void testsymbol_function()

testsymbol_name

public void testsymbol_name()

testsymbol_package

public void testsymbol_package()

testsymbol_plist

public void testsymbol_plist()

testsymbol_value

public void testsymbol_value()

testtenth

public void testtenth()

testthird

public void testthird()

testtype_of

public void testtype_of()

testtypep

public void testtypep()

testzerop

public void testzerop()

testAdd1

public void testAdd1()

testAdd2

public void testAdd2()

testAdd3

public void testAdd3()

testAdd4

public void testAdd4()

testAdd5

public void testAdd5()

testAdd6

public void testAdd6()

testDivide

public void testDivide()

testMultiply

public void testMultiply()

testSubtract1

public void testSubtract1()

testSubtract2

public void testSubtract2()

testSubtract3

public void testSubtract3()

testSubtract4

public void testSubtract4()

testSubtract5

public void testSubtract5()

testSubtract6

public void testSubtract6()

testToString

public void testToString()

testLongList

public void testLongList()

Jatha Software