# Path: ice/model.py
# ROM = collections.namedtuple('ROM', [
#   'name',
#   'path',
#   'console',
# ])
# 
# Path: ice/rom_finder.py
# class ROMFinder(object):
#   def __init__(self, filesystem, parser):
#   def rom_for_path(self, console, path):
#   def _search(self, roms_directory, console):
#   def roms_for_console(self, config, console):
#   def roms_for_consoles(self, config, consoles):


import os
import shutil
import tempfile
import unittest
from mockito import *
from ice import model
from ice import rom_finder





class ROMFinderTests(unittest.TestCase):

  def setUp(self):
    self.mock_config     = mock()
    self.mock_filesystem = mock()
    self.mock_parser     = mock()

    self.rom_finder = rom_finder.ROMFinder(
      self.mock_filesystem,
      self.mock_parser,
    )

  def _dummy_console(self, extensions, emu, roms_directory = ""):

# Path: ice/model.py
# ROM = collections.namedtuple('ROM', [
#   'name',
#   'path',
#   'console',
# ])
# 
# Path: ice/rom_finder.py
# class ROMFinder(object):
#   def __init__(self, filesystem, parser):
#   def rom_for_path(self, console, path):
#   def _search(self, roms_directory, console):
#   def roms_for_console(self, config, console):
#   def roms_for_consoles(self, config, consoles):


# Path: tests/rom_finder_tests.py
import os
import shutil
import tempfile
import unittest
from mockito import *
from ice import model
from ice import rom_finder






class ROMFinderTests(unittest.TestCase):

  def setUp(self):
    self.mock_config     = mock()
    self.mock_filesystem = mock()
    self.mock_parser     = mock()

    self.rom_finder = rom_finder.ROMFinder(
      self.mock_filesystem,
      self.mock_parser,
    )

  def _dummy_console(self, extensions, emu, roms_directory = ""):

    return model.Console("Nintendo", "NES", extensions, roms_directory, "", "", "", emu)