pub fn new(test_info: TestInfo) -> Result<RustTestAdapter, Error> {
        let test_file_name = test_adapter_lib::extract_test_filename(&test_info.test_path)?;
        Ok(RustTestAdapter {
            c_test_path: CString::new(&test_info.test_path[..])?,
            c_test_file_name: CString::new(&test_file_name[..])?,
            test_info: test_info,
        })
    }
/// Creates a new RustTestAdapter if the `test_path` is valid
Creates a new RustTestAdapter if the `test_path` is valid
Creates a new RustTestAdapter if the ` test_path ` is valid
pub fn new(test_info: TestInfo) -> Result<RustTestAdapter, Error> {
        let test_file_name = test_adapter_lib::extract_test_filename(&test_info.test_path)?;
        Ok(RustTestAdapter {
            c_test_path: CString::new(&test_info.test_path[..])?,
            c_test_file_name: CString::new(&test_file_name[..])?,
            test_info: test_info,
        })
    }
pub fn new ( test_info : TestInfo ) -> Result < RustTestAdapter , Error > { let test_file_name = test_adapter_lib :: extract_test_filename ( & test_info . test_path ) ? ; Ok ( RustTestAdapter { c_test_path : CString :: new ( & test_info . test_path [ .. ] ) ? , c_test_file_name : CString :: new ( & test_file_name [ .. ] ) ? , test_info : test_info , } ) }
Creates a new RustTestAdapter if the `test_path` is valid
Creates a new RustTestAdapter if the ` test_path ` is valid
test_info
TestInfo