Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
d52b0519
Commit
d52b0519
authored
Apr 30, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
892232da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
wcfs/δbtail_test.go
wcfs/δbtail_test.go
+5
-1
No files found.
wcfs/δbtail_test.go
View file @
d52b0519
...
@@ -883,6 +883,8 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
...
@@ -883,6 +883,8 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
t
.
Run
(
fmt
.
Sprintf
(
" T%s;R"
,
keys1
),
func
(
t
*
testing
.
T
)
{
t
.
Run
(
fmt
.
Sprintf
(
" T%s;R"
,
keys1
),
func
(
t
*
testing
.
T
)
{
δbtail
:=
NewΔBtail
(
t0
.
at
,
db
)
δbtail
:=
NewΔBtail
(
t0
.
at
,
db
)
// FIXME do Update(t0->t1) only once + clone after it
// assert trackIdx=ø, trackNew=ø, vδB=[]
// assert trackIdx=ø, trackNew=ø, vδB=[]
δbtail
.
assertTrack
(
t
,
"@at0"
,
ø
,
ø
)
// XXX + vδB
δbtail
.
assertTrack
(
t
,
"@at0"
,
ø
,
ø
)
// XXX + vδB
step1
:=
func
()
{
// XXX will be not needed with clone
step1
:=
func
()
{
// XXX will be not needed with clone
...
@@ -890,7 +892,7 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
...
@@ -890,7 +892,7 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
// after Update(t0->t1):
// after Update(t0->t1):
/*trackIdx=*/
ø
,
/*trackIdx=*/
ø
,
// after Track(keys)
// after Track(keys
1
)
keys1
,
keys1
,
/*trackNew=*/
t1
.
xkv
.
trackIdx
(
keys1
),
/*trackNew=*/
t1
.
xkv
.
trackIdx
(
keys1
),
...
@@ -917,6 +919,8 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
...
@@ -917,6 +919,8 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
//δbtail_ := δbtail
//δbtail_ := δbtail
δbtail_
:=
δbtail
.
clone
()
δbtail_
:=
δbtail
.
clone
()
// FIXME do Update(t1->t2) only once + clone after it
// tracked keys1 becomes tracked keys1_2 after Update(t1->t2)
// tracked keys1 becomes tracked keys1_2 after Update(t1->t2)
keys1_2
:=
kadj12
.
Map
(
keys1
)
keys1_2
:=
kadj12
.
Map
(
keys1
)
...
...
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