[LyX/master] Modify 2 tests to reflect actual GUI

Kornel Benko kornel at lyx.org
Sat May 30 08:58:10 UTC 2020


commit 92d248f7127208fd43ec480517aecb41fa798c99
Author: Kornel Benko <kornel at lyx.org>
Date:   Sat May 30 11:14:26 2020 +0200

    Modify 2 tests to reflect actual GUI
    
    bug-10636: The position of 'View->Code Preview Pane' in dialog changed
    bug-export-latex: Add comment
---
 development/autotests/bug-10636-in.txt        |    2 +-
 development/autotests/bug-export-latex-in.txt |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/development/autotests/bug-10636-in.txt b/development/autotests/bug-10636-in.txt
index 9213e16..65e7550 100644
--- a/development/autotests/bug-10636-in.txt
+++ b/development/autotests/bug-10636-in.txt
@@ -7,7 +7,7 @@ TestBegin -dbg key,insets,workarea,latex ../bug-10636.lyx > bug-10636.loga.txt 2
 KK: \C\[End]
 CP: Key [action=buffer-end][Ctrl+End]
 # Select source preview
-KK: \Ab\[Down]\[Down]\[Down]\[Return]
+KK: \Ab\[Down]\[Return]
 CP: LyX needs the following commands when LaTeXing:
 KK: \[Up]\[Up]
 CP: Key (queried) [action=up][Up]
diff --git a/development/autotests/bug-export-latex-in.txt b/development/autotests/bug-export-latex-in.txt
index efee64a..4a7f585 100644
--- a/development/autotests/bug-export-latex-in.txt
+++ b/development/autotests/bug-export-latex-in.txt
@@ -11,6 +11,8 @@ KK: \Axbuffer-export luatex\[Return]
 KK: \[Tab]\[Return]
 KK: \Axbuffer-write\[Return]
 KK: \[Tab]\[Return]
+# The next lines should NOT match, because we do not want to create
+# math-mode.pdf inside the system-dir. That is, we expect the test to fail
 Cp: support/FileName.cpp .* creating path '/.*/lib/images'
 Cp: support/FileName.cpp .* Checksumming "/.*/lib/images/.*math-mode.pdf" .*lasted 
 TestEnd


More information about the lyx-cvs mailing list