@@ -11,7 +11,7 @@ export function test_actionItem_visibility() {
1111 actionItem . text = "Test" ;
1212 const page = actionTestsCommon . createPageAndNavigate ( ) ;
1313 page . actionBar . actionItems . addItem ( actionItem ) ;
14- const toolbar = < android . support . v7 . widget . Toolbar > page . actionBar . nativeViewProtected ;
14+ const toolbar = < androidx . appcompat . widget . Toolbar > page . actionBar . nativeViewProtected ;
1515 const menu = toolbar . getMenu ( ) ;
1616
1717 TKUnit . assertTrue ( menu . hasVisibleItems ( ) , "Visibility does not work" ) ;
@@ -25,7 +25,7 @@ export function test_navigationButton_visibility() {
2525 const page = actionTestsCommon . createPageAndNavigate ( ) ;
2626 page . actionBar . navigationButton = actionItem ;
2727
28- const toolbar = < android . support . v7 . widget . Toolbar > page . actionBar . nativeViewProtected ;
28+ const toolbar = < androidx . appcompat . widget . Toolbar > page . actionBar . nativeViewProtected ;
2929
3030 TKUnit . assertNotNull ( toolbar . getNavigationIcon ( ) , "Visibility does not work" ) ;
3131 actionItem . visibility = Visibility . collapse ;
@@ -40,7 +40,7 @@ export function test_navigationButton_contentDecription() {
4040 const page = actionTestsCommon . createPageAndNavigate ( ) ;
4141 page . actionBar . navigationButton = actionItem ;
4242
43- const toolbar = < android . support . v7 . widget . Toolbar > page . actionBar . nativeViewProtected ;
43+ const toolbar = < androidx . appcompat . widget . Toolbar > page . actionBar . nativeViewProtected ;
4444
4545 TKUnit . assertEqual ( toolbar . getNavigationContentDescription ( ) , actionItemText , "Navigation Button should have an content decription" ) ;
4646}
0 commit comments