@@ -38,9 +38,9 @@ pub struct TestGenerator {
3838 pub ( crate ) defines : Vec < ( String , Option < String > ) > ,
3939 cfg : Vec < ( String , Option < String > ) > ,
4040 mapped_names : Vec < MappedName > ,
41- skips : Vec < Skip > ,
41+ pub ( crate ) skips : Vec < Skip > ,
4242 verbose_skip : bool ,
43- volatile_items : Vec < VolatileItem > ,
43+ pub ( crate ) volatile_items : Vec < VolatileItem > ,
4444 array_arg : Option < ArrayArg > ,
4545 skip_private : bool ,
4646 skip_roundtrip : Option < SkipTest > ,
@@ -872,7 +872,6 @@ impl TestGenerator {
872872 let mut ffi_items = FfiItems :: new ( ) ;
873873 ffi_items. visit_file ( & ast) ;
874874
875- // FIXME(ctest): Does not filter out tests for fields.
876875 self . filter_ffi_items ( & mut ffi_items) ;
877876
878877 let output_directory = self
@@ -945,7 +944,7 @@ impl TestGenerator {
945944 }
946945
947946 /// Maps Rust identifiers or types to C counterparts, or defaults to the original name.
948- pub ( crate ) fn map < ' a > ( & self , item : impl Into < MapInput < ' a > > ) -> String {
947+ pub ( crate ) fn rty_to_cty < ' a > ( & self , item : impl Into < MapInput < ' a > > ) -> String {
949948 let item = item. into ( ) ;
950949 if let Some ( mapped) = self . mapped_names . iter ( ) . find_map ( |f| f ( & item) ) {
951950 return mapped;
0 commit comments