Commit b32e5600 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 4e891e4a
...@@ -564,10 +564,7 @@ var brokenZClass = &zclass{ ...@@ -564,10 +564,7 @@ var brokenZClass = &zclass{
// ---- basic persistent objects provided by zodb ---- // ---- basic persistent objects provided by zodb ----
// XXX -> zodbpy ? // Map is equivalent of persistent.mapping.PersistentMapping in ZODB/py.
// XXX Map is like persistent.mapping.PersistentMapping
// XXX tests.
type Map struct { type Map struct {
Persistent Persistent
...@@ -606,8 +603,7 @@ func (m *mapState) PySetState(pystate interface{}) error { ...@@ -606,8 +603,7 @@ func (m *mapState) PySetState(pystate interface{}) error {
return nil return nil
} }
// XXX List is like persistent.list.PersistentList // List is equivalent of persistent.list.PersistentList in ZODB/py.
// XXX tests.
type List struct { type List struct {
Persistent Persistent
......
...@@ -591,6 +591,7 @@ func TestPersistentDB(t0 *testing.T) { ...@@ -591,6 +591,7 @@ func TestPersistentDB(t0 *testing.T) {
// XXX Get(txn = different) -> panic // XXX Get(txn = different) -> panic
} }
// TODO Map & List tests.
// TODO PyGetState vs PySetState tests (general - for any type): // TODO PyGetState vs PySetState tests (general - for any type):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment