Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bump bakery

  • Loading branch information...
commit afc4e92415a8c23c9c813e6c59f205032222a93f 1 parent 7a5a20f
@garymd garymd authored
Showing with 5 additions and 4 deletions.
  1. +1 −1  external/bakery
  2. +1 −0  src/service.cpp
  3. +3 −3 unittest/unittest.rb
2  external/bakery
@@ -1 +1 @@
-Subproject commit 3a93a4f490bfdd68db91281ff7ee3c22df509ca8
+Subproject commit 29cdfce610f801ec839dcb137d0e8dafecbc2bc4
View
1  src/service.cpp
@@ -351,6 +351,7 @@ Directory::doList(const Transaction& tran,
bplus::Map results;
results.add("success", new bplus::Bool(true));
results.add("files", v.adoptKids());
+ log(BP_DEBUG, "tran.complete(results)");
tran.complete(results);
} catch (const string& msg) {
View
6 unittest/unittest.rb
@@ -36,7 +36,7 @@ def test_load_service
# BrowserPlus.Directory.list({params}, function{}())
# Returns a list in "files" of filehandles resulting from a non-recursive traversal of the arguments. No directory structure information is returned.
def test_list
- BrowserPlus.run(@service, @providerDir) { |s|
+ BrowserPlus.run(@service, @providerDir, nil, "./test_list.log") { |s|
list = Array.[]( @test_directory_1 + "/this" )
assert_raise(RuntimeError) { s.list( { 'files' => list } ) }
@@ -114,7 +114,7 @@ def test_list
# BrowserPlus.Directory.recursiveList({params}, function{}())
# Returns a list in "files" of filehandles resulting from a recursive traversal of the arguments. No directory structure information is returned
def test_recursiveList
- BrowserPlus.run(@service, @providerDir) { |s|
+ BrowserPlus.run(@service, @providerDir, nil, "./test_recursiveList.log") { |s|
list = Array.[]( @test_directory_1 + "/this" )
assert_raise(RuntimeError) { s.recursiveList( { 'files' => list } ) }
@@ -218,7 +218,7 @@ def test_recursiveList
# "handle" (a filehandle for this node), and for directories "children" which contains a list of objects for each of the directory's children.
# Recurse into directories.
def test_recursiveListWithStructure
- BrowserPlus.run(@service, @providerDir) { |s|
+ BrowserPlus.run(@service, @providerDir, nil, "./test_recursiveListWithStructure.log") { |s|
list = Array.[]( @test_directory_1 + "/this" )
assert_raise(RuntimeError) { s.recursiveListWithStructure( { 'files' => list } ) }
Please sign in to comment.
Something went wrong with that request. Please try again.