Завершить разделение SDK и внешних проектов
This commit is contained in:
@@ -128,19 +128,5 @@ class DapTests(unittest.TestCase):
|
||||
self.assertEqual([item['type'] for item in messages],
|
||||
['response', 'response'])
|
||||
|
||||
def test_vscode_extension_activates_before_debug_adapter_factory(self):
|
||||
extension_dir = ROOT / 'toolchain' / 'vscode-sprinter-debug'
|
||||
manifest = json.loads((extension_dir / 'package.json').read_text())
|
||||
self.assertIn('onDebug', manifest['activationEvents'])
|
||||
self.assertNotIn('onDebug:sprinter-mame', manifest['activationEvents'])
|
||||
self.assertEqual('auto', manifest['contributes']['configuration']
|
||||
['properties']['sprinterDebugger.pythonCommand']['default'])
|
||||
self.assertTrue((extension_dir / manifest['main']).is_file())
|
||||
debugger_types = {
|
||||
item['type'] for item in manifest['contributes']['debuggers']
|
||||
}
|
||||
self.assertIn('sprinter-mame', debugger_types)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user