|
|||||||||||
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.TestRubyHash
Field Summary |
Fields inherited from class org.jruby.test.TestRubyBase |
runtime |
Constructor Summary | |
TestRubyHash(java.lang.String name)
|
Method Summary | |
void |
setUp()
|
void |
tearDown()
|
void |
testConstructors()
Test literal constructor {}, Hash::[], and Hash::new with and without the optional default-value argument. |
void |
testConversions()
Hash#to_s, Hash#to_a, Hash#to_hash |
void |
testDefault()
Hash#default, Hash#default= |
void |
testDeleting()
Hash#delete, Hash#delete_if, Hash#reject, Hash#reject! |
void |
testIterating()
Hash#each, Hash#each_pair, Hash#each_value, Hash#each_key |
void |
testLookups()
Test Hash#[]= (store) and Hash#[] (retrieve). |
void |
testRestructuring()
Hash#sort, Hash#invert |
void |
testSizeRelated()
Hash#size, Hash#length, Hash#empty? |
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 |
public TestRubyHash(java.lang.String name)
Method Detail |
public void setUp() throws java.lang.Exception
java.lang.Exception
public void tearDown()
tearDown
in class TestRubyBase
public void testConstructors() throws java.lang.Exception
java.lang.Exception
public void testLookups() throws java.lang.Exception
java.lang.Exception
public void testConversions() throws java.lang.Exception
java.lang.Exception
public void testSizeRelated() throws java.lang.Exception
java.lang.Exception
public void testIterating() throws java.lang.Exception
java.lang.Exception
public void testDeleting() throws java.lang.Exception
java.lang.Exception
public void testDefault() throws java.lang.Exception
java.lang.Exception
public void testRestructuring() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |