5import isystem.connect
as ic
6import export_profiler_data
12def test_getContexts():
13 conn_mgr = ic.ConnectionMgr()
14 conn_mgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
17 xml_file_path = export_profiler_data.export_data(conn_mgr)
18 prof_data = ic.CProfilerData2.createInstance(xml_file_path,
False)
20 contexts = ic.StrVector()
21 prof_data.getContexts(contexts)
22 print(f
"Known contexts ({contexts.size()}):")
27if __name__ ==
"__main__":