org.shapelogic.scripting
Class NamedCalcFixedTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.shapelogic.scripting.NamedCalcFixedTest
All Implemented Interfaces:
junit.framework.Test

public class NamedCalcFixedTest
extends junit.framework.TestCase

Test NamedCalcFixed.
Note that this is living in a different package then the original.

Author:
Sami Badawi

Constructor Summary
NamedCalcFixedTest()
           
 
Method Summary
 boolean shouldRun()
          Tests that need JDK 1.6.
 void testGetNaturalNumbers()
           
 void testGetValue()
           
 void testGetValueInNaturalNumbers()
           
 void testGetValueInNaturalNumbers2()
           
 void testGetValueInNaturalNumbersWithQueryCalc()
          The value survives in the RootMap This shows that there is a problem with storing streams in the RootMap, since there are interpreted as a value, and evaluated.
 void testGetValueInRootMap()
           
 void testGetValueInRootMap42()
           
 void testGetValueInRootMap42WithQueryCalc()
          The value survives in the RootMap
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 

Constructor Detail

NamedCalcFixedTest

public NamedCalcFixedTest()
Method Detail

shouldRun

public boolean shouldRun()
Tests that need JDK 1.6.


testGetValue

public void testGetValue()

testGetValueInRootMap

public void testGetValueInRootMap()

testGetValueInRootMap42

public void testGetValueInRootMap42()

testGetValueInRootMap42WithQueryCalc

public void testGetValueInRootMap42WithQueryCalc()
The value survives in the RootMap


testGetNaturalNumbers

public void testGetNaturalNumbers()

testGetValueInNaturalNumbers

public void testGetValueInNaturalNumbers()

testGetValueInNaturalNumbers2

public void testGetValueInNaturalNumbers2()

testGetValueInNaturalNumbersWithQueryCalc

public void testGetValueInNaturalNumbersWithQueryCalc()
The value survives in the RootMap This shows that there is a problem with storing streams in the RootMap, since there are interpreted as a value, and evaluated.



Copyright © 2009. All Rights Reserved.