summaryrefslogtreecommitdiff
path: root/plugins/warp/tests/processor.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2026-03-13 12:24:18 -0700
committerMason Reed <35282038+emesare@users.noreply.github.com>2026-03-24 18:46:48 -0700
commit3c88b11e5df33116580ac008e36092775df66135 (patch)
treecd64fbe149f05683ddabcccd0db7b87356f1f8cf /plugins/warp/tests/processor.rs
parentf325aa7b6026a1daef84931baeb1f50d7da10c10 (diff)
[WARP] Improved UX and API
- Exposes WARP type objects directly - Adds processor API (for generating warp files directly) - Adds file and chunk API - Misc cleanup - Simplified the amount of commands - Replaced the "Create" commands with a purpose built processor dialog - Added a native QT viewer for WARP files - Simplified committing to a remote with a purpose built commit dialog
Diffstat (limited to 'plugins/warp/tests/processor.rs')
-rw-r--r--plugins/warp/tests/processor.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/warp/tests/processor.rs b/plugins/warp/tests/processor.rs
index 12749779..835b33ec 100644
--- a/plugins/warp/tests/processor.rs
+++ b/plugins/warp/tests/processor.rs
@@ -27,12 +27,12 @@ fn test_processor() {
// All files should process and not error.
for file_name in BIN_TARGET_FILES {
let path = out_dir.join(file_name);
- processor.process(path).unwrap();
+ processor.process_path(path).unwrap();
}
// We should be able to process a warp file.
let warp_path = out_dir.join("random.warp");
- processor.process(warp_path).unwrap();
+ processor.process_path(warp_path).unwrap();
}
#[test]
@@ -47,7 +47,7 @@ fn test_caching() {
// Go through files, this should cache the databases.
for file_name in BIN_TARGET_FILES {
let path = out_dir.join(file_name);
- processor.process(path).unwrap();
+ processor.process_path(path).unwrap();
}
// Verify the databases were saved to the cache.