Exemplo n.º 1
0
 def test_12_01_jref(self):
     o = dict(foo="bar", baz="2")
     ref_id, ref = javabridge.create_jref(o)
     alt = javabridge.redeem_jref(ref_id)
     o["bar"] = "bunny"
     for key in o:
         self.assertTrue(key in alt)
         self.assertEqual(o[key], alt[key])
Exemplo n.º 2
0
 def test_12_01_jref(self):
     o = dict(foo="bar", baz="2")
     ref_id, ref = javabridge.create_jref(o)
     alt = javabridge.redeem_jref(ref_id)
     o["bar"] = "bunny"
     for key in o:
         self.assertTrue(key in alt)
         self.assertEqual(o[key], alt[key])