Home
last modified time | relevance | path

Searched refs:mock_gf_utils (Results 1 – 2 of 2) sorted by relevance

/tools/acloud/create/
Dgoldfish_local_image_local_instance_test.py98 mock_gf_utils): argument
118 mock_gf_utils.SYSTEM_QEMU_IMAGE_NAME = "system-qemu.img"
119 mock_gf_utils.VERIFIED_BOOT_PARAMS_FILE_NAME = (
121 mock_gf_utils.MixDiskImage.side_effect = self._MockMixDiskImage
122 mock_gf_utils.MixWithBootImage.side_effect = self._MockMixWithBootImage
123 mock_gf_utils.ConvertAvdSpecToArgs.return_value = ["-gpu", "auto"]
181 def testCreateAVDInBuildEnvironment(self, mock_gf_utils, mock_popen, argument
184 self._SetUpMocks(mock_popen, mock_utils, mock_instance, mock_gf_utils)
230 def testCreateAVDFromSdkRepository(self, mock_gf_utils, mock_popen, argument
233 self._SetUpMocks(mock_popen, mock_utils, mock_instance, mock_gf_utils)
[all …]
/tools/acloud/public/actions/
Dremote_host_gf_device_factory_test.py240 def testCreateInstanceWithSystemBuild(self, mock_gf_utils): argument
245 mock_gf_utils.ConvertAvdSpecToArgs.return_value = ["-gpu", "auto"]
246 mock_gf_utils.MixDiskImage.return_value = "/mixed/disk"
247 mock_gf_utils.SYSTEM_QEMU_IMAGE_NAME = "system-qemu.img"
248 mock_gf_utils.VERIFIED_BOOT_PARAMS_FILE_NAME = (
267 mock_gf_utils.MixDiskImage.assert_called_once()
272 mock_gf_utils.FormatRemoteHostInstanceName.assert_called()
280 def testCreateInstanceWithBootBuild(self, mock_gf_utils): argument
286 mock_gf_utils.ConvertAvdSpecToArgs.return_value = ["-gpu", "auto"]
287 mock_gf_utils.MixWithBootImage.return_value = (
[all …]