Move editor UI into the app and release verified Core dependencies #14
No files matched your search
@@ -19,7 +19,7 @@ ws2_32 ucrtbase version
|
|||||||
'''.split())
|
'''.split())
|
||||||
SYSTEM_DLLS = {name + '.dll' for name in SYSTEM_DLLS}
|
SYSTEM_DLLS = {name + '.dll' for name in SYSTEM_DLLS}
|
||||||
REQUIRED = (
|
REQUIRED = (
|
||||||
'cutdex.exe', 'flutter_windows.dll', 'cutdex_runtime_plugin.dll',
|
'cutdex.exe', 'flutter_windows.dll', 'cutdex_native_flutter_plugin.dll',
|
||||||
'deskup_plugin.dll', 'velopack_libc.dll',
|
'deskup_plugin.dll', 'velopack_libc.dll',
|
||||||
'cutdex_windows_ffi.dll', 'sqlite3.dll', 'data/app.so', 'data/icudtl.dat',
|
'cutdex_windows_ffi.dll', 'sqlite3.dll', 'data/app.so', 'data/icudtl.dat',
|
||||||
'processing/bin/cutdex-processing-worker.exe',
|
'processing/bin/cutdex-processing-worker.exe',
|
||||||
|
|||||||
@@ -37,6 +37,12 @@ class DependencyGateTest(unittest.TestCase):
|
|||||||
with self.assertRaisesRegex(ValueError, 'data/app.so'):
|
with self.assertRaisesRegex(ValueError, 'data/app.so'):
|
||||||
audit(self.root, lambda p: [])
|
audit(self.root, lambda p: [])
|
||||||
|
|
||||||
|
def test_native_flutter_plugin_is_required_after_migration(self):
|
||||||
|
(self.root / 'cutdex_native_flutter_plugin.dll').unlink()
|
||||||
|
(self.root / 'cutdex_runtime_plugin.dll').touch()
|
||||||
|
with self.assertRaisesRegex(ValueError, 'cutdex_native_flutter_plugin.dll'):
|
||||||
|
audit(self.root, lambda p: [], require_processing=False)
|
||||||
|
|
||||||
def test_jvm_is_not_assumed_to_be_a_system_dependency(self):
|
def test_jvm_is_not_assumed_to_be_a_system_dependency(self):
|
||||||
with self.assertRaisesRegex(ValueError, 'jvm.dll'):
|
with self.assertRaisesRegex(ValueError, 'jvm.dll'):
|
||||||
audit(self.root, lambda p: ['jvm.dll'] if p.name == 'cutdex.exe' else [])
|
audit(self.root, lambda p: ['jvm.dll'] if p.name == 'cutdex.exe' else [])
|
||||||
|
|||||||
Reference in new issue
Block a user