Home
last modified time | relevance | path

Searched refs:MenuController (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/menu/
DMenuControllerTest.kt58 val underTest = MenuController(fakeRootProvider, mockContext, mapOf()) in build_menu_test()
71 val underTest = MenuController(fakeRootProviderWithDuplicates, mockContext, mapOf()) in expect_exception_when_menu_has_duplicate_ids()
81 val underTest = MenuController(fakeRootProvider, mockContext, mapOf()) in when_opening_submenu_the_currentParent_is_updated_correctly()
93 val underTest = MenuController(fakeRootProvider, mockContext, mapOf()) in expect_exception_if_the_submenu_is_not_a_direct_child_of_the_current_parent()
106 val underTest = MenuController(fakeRootProvider, mockContext, mapOf()) in when_navigating_up_then_the_currentParent_is_updated_correctly()
119 val underTest = MenuController(fakeRootProvider, mockContext, mapOf()) in when_the_menu_is_reloaded_then_the_menu_is_updated_and_the_currentParent_preserved()
132 val underTest = MenuController(fakeRootProvider, mockContext, mapOf()) in expect_exception_when_action_is_not_supported()
143 val underTest = MenuController( in when_an_additional_reducer_is_provided_the_menuController_uses_it()
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/
DCustomizationToolStateMachineTest.kt20 import com.android.car.customization.tool.domain.menu.MenuController
45 private lateinit var mockMenuController: MenuController
141 val mockMenuController = MenuController({ rootNode }, mock(), mapOf()) in expect_exception_when_action_is_not_implemented_in_the_state_machine()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/
DCustomizationToolStateMachine.kt20 import com.android.car.customization.tool.domain.menu.MenuController
38 private val menuController: MenuController,
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/menu/
DMenuController.kt39 internal class MenuController @Inject constructor( class