org.shapelogic.scripting
Class ScriptEngineCacheTest

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

public class ScriptEngineCacheTest
extends junit.framework.TestCase

Test ScriptEngineFactory.

Author:
Sami Badawi

Constructor Summary
ScriptEngineCacheTest()
           
 
Method Summary
 void test2GroovyFunction()
           
 void testCallGroovyScripts()
           
 void testGroovyFunction()
           
 void testJavascriptFunction()
           
 void testJavascriptFunction1()
           
 void testJavascriptFunctionAsValue()
           
 void testThatDifferentEnginesoForSameLanguageCanBeCreated()
           
 
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

ScriptEngineCacheTest

public ScriptEngineCacheTest()
Method Detail

testThatDifferentEnginesoForSameLanguageCanBeCreated

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

testCallGroovyScripts

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

testGroovyFunction

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

test2GroovyFunction

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

testJavascriptFunction1

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

testJavascriptFunction

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

testJavascriptFunctionAsValue

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


Copyright © 2009. All Rights Reserved.