You've already forked gnatstudio
mirror of
https://github.com/AdaCore/gnatstudio.git
synced 2026-02-12 12:42:33 -08:00
22 lines
426 B
Python
22 lines
426 B
Python
"""
|
|
#112
|
|
This test checks that the main file is opened when
|
|
debugging is started
|
|
"""
|
|
|
|
import GPS
|
|
from gs_utils.internal.utils import *
|
|
|
|
|
|
@run_test_driver
|
|
def run_test():
|
|
GPS.execute_action("Build & Debug Number 1")
|
|
yield hook("debugger_started")
|
|
yield wait_idle()
|
|
|
|
gps_assert(
|
|
GPS.EditorBuffer.get(GPS.File("main.adb"), open=False) is not None,
|
|
True,
|
|
"main.adb should be opened",
|
|
)
|