org.jruby.test
Class TestJavaReentrantExceptions

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

public class TestJavaReentrantExceptions
extends junit.framework.TestCase

Tests that a Java Exception can be thrown from Java through JRuby and caught again by Java (when unwrapped). Designed to test JRUBY-2652

Author:
Rick Moynihan rick@calicojack.co.uk

Constructor Summary
TestJavaReentrantExceptions(java.lang.String name)
           
 
Method Summary
 void setUp()
           
 void testExceptionsAcrossTheBridge()
           
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestJavaReentrantExceptions

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

setUp

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

testExceptionsAcrossTheBridge

public void testExceptionsAcrossTheBridge()


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