org.jruby.ast.executable
Class YARVMachineTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jruby.ast.executable.YARVMachineTest
All Implemented Interfaces:
junit.framework.Test

public class YARVMachineTest
extends junit.framework.TestCase


Constructor Summary
YARVMachineTest()
           
 
Method Summary
static YARVMachine.Instruction[] getFib(Ruby runtime, int n)
           
static YARVMachine.Instruction[] getSimpleTest(Ruby runtime)
           
static void main(java.lang.String[] args)
           
 void testIterativeFib()
           
 void testSimpleExecution()
           
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

YARVMachineTest

public YARVMachineTest()
Method Detail

getSimpleTest

public static YARVMachine.Instruction[] getSimpleTest(Ruby runtime)

getFib

public static YARVMachine.Instruction[] getFib(Ruby runtime,
                                               int n)

testSimpleExecution

public void testSimpleExecution()

testIterativeFib

public void testIterativeFib()

main

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


Copyright © 2002-2007 JRuby Team. All Rights Reserved.