import py
from pypy.translator.jvm.test.runtest import JvmTest
import pypy.translator.oosupport.test_template.dict as oodict

class TestJvmDict(JvmTest, oodict.BaseTestDict):
    def test_invalid_iterator(self):
        py.test.skip("test_invalid_iterator() doesn't work yet")

    def test_dict_of_dict(self):
        py.test.skip("hard to serialize a recursive dictionary")
        
    def test_recursive(self):
        py.test.skip("hard to serialize a recursive dictionary")

class TestJvmEmptyDict(JvmTest, oodict.BaseTestEmptyDict):
    def test_iterate_over_empty_dict(self):
        py.test.skip("Iteration over empty dict is not supported, yet")

class TestJvmConstantDict(JvmTest, oodict.BaseTestConstantDict):
    def test_constant_r_dict(self):
        py.test.skip("JVM doesn't support r_dict so far")
