winIDEA SDK
test_remove_from_download_list.py
1# This script is licensed under BSD License, see file LICENSE.txt.
2#
3# (c) TASKING Germany GmbH, 2023
4
5import isystem.connect as ic
6
7
8winidea_id = ''
9
10
11def test_removeFromDownloadList():
12 conn_mgr = ic.ConnectionMgr()
13 conn_mgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
14
15 opt_ctrl_socs = ic.COptionController(conn_mgr, '/IDE/System.Debug.SoCs[0].DLFs_Program.File')
16 opt_ctrl_socs.remove(0)
17 opt_ctrl_app = ic.COptionController(conn_mgr, '/IDE/System.Debug.Applications[0].SymbolFiles.File')
18 opt_ctrl_app.remove(0)
19
20
21if __name__ == '__main__':
22 test_removeFromDownloadList()