Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
b32e5600
Commit
b32e5600
authored
Feb 19, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4e891e4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
go/zodb/persistent.go
go/zodb/persistent.go
+2
-6
go/zodb/persistent_test.go
go/zodb/persistent_test.go
+1
-0
No files found.
go/zodb/persistent.go
View file @
b32e5600
...
@@ -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
...
...
go/zodb/persistent_test.go
View file @
b32e5600
...
@@ -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):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment