org.jruby.test
Class TestKernel

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jruby.test.TestRubyBase
              extended by org.jruby.test.TestKernel
All Implemented Interfaces:
junit.framework.Test

public class TestKernel
extends TestRubyBase

Unit test for the kernel class.


Field Summary
 
Fields inherited from class org.jruby.test.TestRubyBase
runtime
 
Constructor Summary
TestKernel(java.lang.String name)
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testExit()
           
 void testLoad()
           
 void testPrintf()
           
 void testRequire()
           
 
Methods inherited from class org.jruby.test.TestRubyBase
eval
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestKernel

public TestKernel(java.lang.String name)
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

testLoad

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

testRequire

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

testPrintf

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

testExit

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

tearDown

public void tearDown()
Overrides:
tearDown in class TestRubyBase


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