|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jruby.test.TestRubyBase
org.jruby.test.TestRuby
public class TestRuby
Unit test for the ruby class.
| Field Summary |
|---|
| Fields inherited from class org.jruby.test.TestRubyBase |
|---|
runtime |
| Constructor Summary | |
|---|---|
TestRuby(java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
void |
testPrintErrorShouldOnlyPrintErrorMessageWhenBacktraceIsNil()
|
void |
testPrintErrorShouldPrintErrorMessageAndStacktraceWhenBacktraceIsPresent()
|
void |
testPrintErrorWithNilBacktrace()
|
void |
testPrintErrorWithStringBacktrace()
|
void |
testVarAndMet()
|
| Methods inherited from class org.jruby.test.TestRubyBase |
|---|
eval, tearDown |
| 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 |
|---|
public TestRuby(java.lang.String name)
| Method Detail |
|---|
public void setUp()
setUp in class junit.framework.TestCase
public void testVarAndMet()
throws java.lang.Exception
java.lang.Exception
public void testPrintErrorWithNilBacktrace()
throws java.lang.Exception
java.lang.Exception
public void testPrintErrorWithStringBacktrace()
throws java.lang.Exception
java.lang.Exceptionpublic void testPrintErrorShouldPrintErrorMessageAndStacktraceWhenBacktraceIsPresent()
public void testPrintErrorShouldOnlyPrintErrorMessageWhenBacktraceIsNil()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||