1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod cmd;
use cmd::ADBCmd;


#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn test_adb_cmd() {
        let adb = ADBCmd::new();
        let args = vec!["devices".to_string()];
        let _ = adb.run_async(args, |line| {
            println!("line{}", line);
            line
        });
    }
}