summaryrefslogtreecommitdiff
path: root/rust/tests/collaboration.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2026-02-22 17:08:21 -0800
committerMason Reed <35282038+emesare@users.noreply.github.com>2026-02-23 00:09:44 -0800
commitb18bdad6c94a8e234108d531f0c480c7104abebe (patch)
treeb0edb86cfae52c37635ef0b5cac491220bc3ef24 /rust/tests/collaboration.rs
parentdbd54d67a6d523f64615f653d82d8224cd09870a (diff)
[Rust] Misc documentation and cleanup
Diffstat (limited to 'rust/tests/collaboration.rs')
-rw-r--r--rust/tests/collaboration.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/rust/tests/collaboration.rs b/rust/tests/collaboration.rs
index 529e185b..914935b5 100644
--- a/rust/tests/collaboration.rs
+++ b/rust/tests/collaboration.rs
@@ -1,5 +1,6 @@
use binaryninja::binary_view::BinaryViewExt;
use binaryninja::collaboration::{NoNameChangeset, Remote, RemoteFileType, RemoteProject};
+use binaryninja::file_metadata::SaveSettings;
use binaryninja::headless::Session;
use binaryninja::rc::Ref;
use binaryninja::symbol::{SymbolBuilder, SymbolType};
@@ -7,7 +8,6 @@ use rstest::*;
use serial_test::serial;
use std::env;
use std::path::PathBuf;
-
// TODO: Why cant we create_project for the same project name? why does that fail.
// TODO: Remote connection / disconnection is NOT thread safe, the core needs to lock on each.
// TODO: Because of this we run these tests serially, this isnt _really_ an issue for real code, as
@@ -182,7 +182,8 @@ fn test_project_sync() {
let view_type = view.view_type();
// Save the view to local database so that we can upload it
assert!(
- view.file().create_database(out_dir.join("atox.obj.bndb")),
+ view.file()
+ .create_database(out_dir.join("atox.obj.bndb"), &SaveSettings::new()),
"Failed to create local database"
);
// We should have a single snapshot.