aboutsummaryrefslogtreecommitdiff
path: root/test-suite/ide
diff options
context:
space:
mode:
authorEnrico Tassi2019-03-04 13:54:13 +0100
committerEnrico Tassi2019-03-04 13:57:15 +0100
commit745669e29695b68b0c6aa9dbe27a835e43c87308 (patch)
treeda3af7b4dec77798b1a56e563c792217795a8a80 /test-suite/ide
parent913e377f3d24274215bd7d9d37c0189b8b5eb4a6 (diff)
[stm] unfocus when edition exits the proof (fix #9431)
Diffstat (limited to 'test-suite/ide')
-rw-r--r--test-suite/ide/reopen1.fake22
1 files changed, 22 insertions, 0 deletions
diff --git a/test-suite/ide/reopen1.fake b/test-suite/ide/reopen1.fake
new file mode 100644
index 0000000000..2c4f13de86
--- /dev/null
+++ b/test-suite/ide/reopen1.fake
@@ -0,0 +1,22 @@
+# Script simulating a dialog between coqide and coqtop -ideslave
+# Run it via fake_ide
+#
+# jumping outside the focused zone should signal an unfocus.
+
+# first proof
+ADD here { Goal True. }
+ADD here1 { Proof. }
+ADD { Qed. }
+WAIT
+EDIT_AT here1
+EDIT_AT here
+# fwd again
+ADD here2 { Proof. }
+ADD here3 { Qed. }
+WAIT
+EDIT_AT here2
+# Fixing the proof
+ADD { Proof. }
+ADD { trivial. }
+ADD { Qed. }
+JOIN