pub fn new(test_path: String) -> Result<GTestAdapter, Error> {
        let test_file_name = test_adapter_lib::extract_test_filename(&test_path)?;

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