mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 06:18:51 -06:00
refactor: split the launcher layer by subject
This commit is contained in:
1 parent
e43b07c669
commit
c6352f2db1
17 files changed
+1108
-1050
No files matched your search
@@ -19,14 +19,14 @@ from model.platforms import load_platform_config
|
||||
from model.profiles import load_emulator_profiles
|
||||
from resolve.categories import EntryCategories
|
||||
from resolve.standalone import platform_launches
|
||||
from resolve.launchers import (
|
||||
from resolve.launcherconfig import (
|
||||
bound_launchers,
|
||||
config_evidence,
|
||||
config_target,
|
||||
handed_directories,
|
||||
launcher_places,
|
||||
launcher_unproven,
|
||||
)
|
||||
from resolve.launchers import handed_directories
|
||||
from resolve.launcherplaces import launcher_places
|
||||
from profiling.resolver import _check_build_refs
|
||||
from profiling.repos import shipped_build_holders
|
||||
from scraper.retrobat_launchers import _choices_apart
|
||||
|
||||
@@ -24,7 +24,8 @@ import yaml
|
||||
from model.profiles import emulator_profiles_cache, load_emulator_profiles
|
||||
from model.platforms import load_platform_config
|
||||
from resolve.launches import PlatformLaunches
|
||||
from resolve.launchers import LauncherLayer, launcher_places, suffixed_stem
|
||||
from resolve.launcherlayer import LauncherLayer
|
||||
from resolve.launcherplaces import launcher_places, suffixed_stem
|
||||
from packs.gaps import find_undeclared_files
|
||||
from packs.coverage import verify_platform
|
||||
|
||||
@@ -396,12 +397,12 @@ class LauncherLayerTest(unittest.TestCase):
|
||||
self.assertEqual(launcher_places(self.config, self.profiles)[2].paths, ("sub/sub/fix.bin",))
|
||||
|
||||
def test_every_extractor_spelling_of_the_bios_folder_is_known(self) -> None:
|
||||
from resolve import launchers
|
||||
from resolve.launcherplaces import BIOS_ROOT_TOKENS
|
||||
from scraper import emudeck_launchers, retrodeck_launchers, retropie_reader
|
||||
|
||||
for token in (emudeck_launchers.BIOS, retrodeck_launchers.BIOS,
|
||||
retropie_reader.BIOSDIR):
|
||||
self.assertIn(token, launchers.BIOS_ROOT_TOKENS)
|
||||
self.assertIn(token, BIOS_ROOT_TOKENS)
|
||||
|
||||
def test_no_place_is_filled_twice(self) -> None:
|
||||
added = [u["path"] for u in self._report() if u.get("launcher")]
|
||||
|
||||
@@ -1346,7 +1346,7 @@ class MacBootDisksOnKnulli(unittest.TestCase):
|
||||
# mameGenerator.py and libretroMAMEConfig.py pass the boot disk as
|
||||
# -hard, the brief name of the LC III's one hard disk image
|
||||
# (harddriv.h:43, diimage.cpp:1131-1165, maclc3.cpp:266).
|
||||
from resolve.launchers import bound_launchers
|
||||
from resolve.launcherconfig import bound_launchers
|
||||
|
||||
config = load_platform_config("knulli", str(REPO_ROOT / "platforms"))
|
||||
profiles = load_emulator_profiles(str(REPO_ROOT / "emulators"))
|
||||
|
||||
Reference in new issue
Block a user