Home
last modified time | relevance | path

Searched refs:mock_adb_tools (Results 1 – 3 of 3) sorted by relevance

/tools/acloud/delete/
Ddelete_test.py72 mock_adb_tools = mock.Mock()
73 mock_adb_tools.EmuCommand.return_value = 0
74 mock_instance = mock.Mock(adb=mock_adb_tools,
87 mock_adb_tools.EmuCommand.assert_called_with("kill")
102 mock_adb_tools = mock.Mock()
103 mock_adb_tools.EmuCommand.return_value = 1
104 mock_instance = mock.Mock(adb=mock_adb_tools,
117 mock_adb_tools.EmuCommand.assert_called_with("kill")
/tools/acloud/list/
Dinstance_test.py78 def testCreateLocalInstance(self, mock_adb_tools): argument
82 mock_adb_tools.return_value = mock_adb_tools_object
100 def testDeleteLocalInstance(self, mock_adb_tools): argument
106 mock_adb_tools.return_value = mock_adb_tools_object
127 def testCreateLocalGoldfishInstance(self, mock_adb_tools, mock_tempfile): argument
130 mock_adb_tools.return_value = mock.Mock(device_information={})
144 def testGetLocalGoldfishInstances(self, mock_adb_tools): argument
146 mock_adb_tools.GetDeviceSerials.return_value = [
/tools/acloud/create/
Dgoldfish_local_image_local_instance_test.py93 mock_adb_tools = mock.Mock(side_effect=self._MockEmuCommand)
100 adb=mock_adb_tools)