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
e05d236b
Commit
e05d236b
authored
Mar 15, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4bbc7942
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
6 deletions
+34
-6
go/neo/client_test.go
go/neo/client_test.go
+1
-0
go/zodb/storage/demo/demo_test.go
go/zodb/storage/demo/demo_test.go
+31
-3
go/zodb/storage/zeo/zeo_test.go
go/zodb/storage/zeo/zeo_test.go
+1
-1
go/zodb/zodbtools/help.go
go/zodb/zodbtools/help.go
+1
-2
No files found.
go/neo/client_test.go
View file @
e05d236b
...
...
@@ -362,6 +362,7 @@ func (opt NEOSrvOptions) URLPrefix() string {
// ----------------
// tOptions represents options for testing.
// TODO -> xtesting
type
tOptions
struct
{
Preload
string
// preload database with data from this location
}
...
...
go/zodb/storage/demo/demo_test.go
View file @
e05d236b
...
...
@@ -19,6 +19,34 @@
package
demo
// XXX stdtest Demo(data, ø)
// XXX stdtest Demo(ø, data)
// XXX more?
/*
import (
"testing"
"lab.nexedi.com/kirr/neo/go/internal/xtesting"
)
*/
// tOptions represents options for testing.
// TODO -> xtesting
type
tOptions
struct
{
Preload
string
// preload database with data from this location
}
/*
// withDemoStorage tests f with all kind of demo overlays.
func withDemoStorage(t *testing.T, f func(t *testing.T, dsrv XXX), optv ...tOptions) {
t.Helper()
opt := t.Options{}
if len(optv) > 1 {
panic("multiple tOptions not allowed")
}
if len(optv) == 1 {
opt = optv[0]
}
// verify on all combinations of preload being split into base+δ
txnv, err := xtesting.LoadDBHistory(t.Preload)
}
*/
go/zodb/storage/zeo/zeo_test.go
View file @
e05d236b
...
...
@@ -153,7 +153,7 @@ func (z *ZEOPySrv) Encoding() encoding {
// ----------------
// tOptions represents options for testing.
//
XXX dup in NEO
//
TODO -> xtesting
type
tOptions
struct
{
Preload
string
// preload database with data from this location
}
...
...
go/zodb/zodbtools/help.go
View file @
e05d236b
...
...
@@ -44,8 +44,7 @@ There are also following simpler ways:
- neo://<master>/<db> for a NEO database XXX + neos:// ?
- zeo://<host>:<port> for a ZEO database
- /path/to/file for a FileStorage database
- demo:(zurl_base)/(zurl_δ) XXX overlay, DemoStorage ...
- demo:(zurl_base)/(zurl_δ) for a DemoStorage overlay
Please see zodburi documentation for full details:
...
...
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