radb 0.1.8

A Rust Implement Python AdbUtils
Documentation
1
2
3
4
5
6
7
8
9
use radb::client::AdbDevice;

#[test]
fn list2cmdline_quotes_shell_arguments_with_spaces() {
    let args = ["echo", "hello world", "plain"];
    let cmdline = AdbDevice::<&str>::list2cmdline(&args);

    assert_eq!(cmdline, "echo \"hello world\" plain");
}