|
||||||||||
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 | |
---|---|
protected void |
setUp()
|
void |
testArgvIsNonNil()
|
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 |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testArgvIsNonNil() throws java.lang.Exception
java.lang.Exception
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.Exception
public void testPrintErrorShouldPrintErrorMessageAndStacktraceWhenBacktraceIsPresent()
public void testPrintErrorShouldOnlyPrintErrorMessageWhenBacktraceIsNil()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |