@@ -23,24 +23,24 @@ mod tests {
2323 use accesskit:: {
2424 ActionHandler , ActionRequest , Node , NodeId , Role , StringEncoding , Tree , TreeId , TreeUpdate ,
2525 } ;
26- use std:: num:: NonZeroU64 ;
26+ use std:: num:: NonZeroU128 ;
2727 use std:: sync:: Arc ;
2828
29- pub const ROOT_ID : NodeId = NodeId ( unsafe { NonZeroU64 :: new_unchecked ( 1 ) } ) ;
30- pub const PARAGRAPH_0_ID : NodeId = NodeId ( unsafe { NonZeroU64 :: new_unchecked ( 2 ) } ) ;
31- pub const STATIC_TEXT_0_0_IGNORED_ID : NodeId = NodeId ( unsafe { NonZeroU64 :: new_unchecked ( 3 ) } ) ;
32- pub const PARAGRAPH_1_IGNORED_ID : NodeId = NodeId ( unsafe { NonZeroU64 :: new_unchecked ( 4 ) } ) ;
33- pub const STATIC_TEXT_1_0_ID : NodeId = NodeId ( unsafe { NonZeroU64 :: new_unchecked ( 5 ) } ) ;
34- pub const PARAGRAPH_2_ID : NodeId = NodeId ( unsafe { NonZeroU64 :: new_unchecked ( 6 ) } ) ;
35- pub const STATIC_TEXT_2_0_ID : NodeId = NodeId ( unsafe { NonZeroU64 :: new_unchecked ( 7 ) } ) ;
36- pub const PARAGRAPH_3_IGNORED_ID : NodeId = NodeId ( unsafe { NonZeroU64 :: new_unchecked ( 8 ) } ) ;
29+ pub const ROOT_ID : NodeId = NodeId ( unsafe { NonZeroU128 :: new_unchecked ( 1 ) } ) ;
30+ pub const PARAGRAPH_0_ID : NodeId = NodeId ( unsafe { NonZeroU128 :: new_unchecked ( 2 ) } ) ;
31+ pub const STATIC_TEXT_0_0_IGNORED_ID : NodeId = NodeId ( unsafe { NonZeroU128 :: new_unchecked ( 3 ) } ) ;
32+ pub const PARAGRAPH_1_IGNORED_ID : NodeId = NodeId ( unsafe { NonZeroU128 :: new_unchecked ( 4 ) } ) ;
33+ pub const STATIC_TEXT_1_0_ID : NodeId = NodeId ( unsafe { NonZeroU128 :: new_unchecked ( 5 ) } ) ;
34+ pub const PARAGRAPH_2_ID : NodeId = NodeId ( unsafe { NonZeroU128 :: new_unchecked ( 6 ) } ) ;
35+ pub const STATIC_TEXT_2_0_ID : NodeId = NodeId ( unsafe { NonZeroU128 :: new_unchecked ( 7 ) } ) ;
36+ pub const PARAGRAPH_3_IGNORED_ID : NodeId = NodeId ( unsafe { NonZeroU128 :: new_unchecked ( 8 ) } ) ;
3737 pub const EMPTY_CONTAINER_3_0_IGNORED_ID : NodeId =
38- NodeId ( unsafe { NonZeroU64 :: new_unchecked ( 9 ) } ) ;
39- pub const LINK_3_1_IGNORED_ID : NodeId = NodeId ( unsafe { NonZeroU64 :: new_unchecked ( 10 ) } ) ;
40- pub const STATIC_TEXT_3_1_0_ID : NodeId = NodeId ( unsafe { NonZeroU64 :: new_unchecked ( 11 ) } ) ;
41- pub const BUTTON_3_2_ID : NodeId = NodeId ( unsafe { NonZeroU64 :: new_unchecked ( 12 ) } ) ;
38+ NodeId ( unsafe { NonZeroU128 :: new_unchecked ( 9 ) } ) ;
39+ pub const LINK_3_1_IGNORED_ID : NodeId = NodeId ( unsafe { NonZeroU128 :: new_unchecked ( 10 ) } ) ;
40+ pub const STATIC_TEXT_3_1_0_ID : NodeId = NodeId ( unsafe { NonZeroU128 :: new_unchecked ( 11 ) } ) ;
41+ pub const BUTTON_3_2_ID : NodeId = NodeId ( unsafe { NonZeroU128 :: new_unchecked ( 12 ) } ) ;
4242 pub const EMPTY_CONTAINER_3_3_IGNORED_ID : NodeId =
43- NodeId ( unsafe { NonZeroU64 :: new_unchecked ( 13 ) } ) ;
43+ NodeId ( unsafe { NonZeroU128 :: new_unchecked ( 13 ) } ) ;
4444
4545 pub struct NullActionHandler ;
4646
0 commit comments