コード例 #1
0
ファイル: emulators_tests.py プロジェクト: Luisangonzalez/Ice
 def test_emulator_rom_launch_command(self, fmt, location, rompath, expected):
   emu = model.Emulator("Mednafen", location, fmt)
   r = model.ROM(
     name = "ROM",
     path = rompath,
     console = mock(),
   )
   self.assertEqual(emulators.emulator_rom_launch_command(emu, r), expected)
コード例 #2
0
ファイル: emulators_tests.py プロジェクト: Christopotamus/Ice
 def test_emulator_rom_launch_command(self, fmt, location, rompath, expected):
   emu = model.Emulator("Mednafen", location, fmt)
   r = model.ROM(
     name = "ROM",
     path = rompath,
     console = mock(),
   )
   self.assertEqual(emulators.emulator_rom_launch_command(emu, r), expected)
コード例 #3
0
ファイル: emulators_tests.py プロジェクト: piccaruse/Ice
 def test_emulator_rom_launch_command(self, fmt, location, rompath, expected):
   emu = model.Emulator("Mednafen", location, fmt)
   r = rom.ROM(rompath, mock(), "ROM")
   self.assertEqual(emulators.emulator_rom_launch_command(emu, r), expected)