Add a testcase for buffer-write-as

This commit is contained in:
Kornel Benko 2019-05-27 10:21:15 +02:00
parent b3db2325ed
commit 48a5b16885
3 changed files with 4618 additions and 1 deletions

View File

@ -13,4 +13,5 @@ add_batch_test(outline-beamer beamer_test "export")
# see also bug #10835 # see also bug #10835
add_batch_test(vcs-info vcs_info_export) add_batch_test(vcs-info vcs_info_export)
add_batch_test(AMS-import ams-import "tex2lyx") add_batch_test(AMS-import ams-import "tex2lyx")
add_batch_test(SAVE-as save_as_test "export")

File diff suppressed because it is too large Load Diff

View File

@ -35,6 +35,16 @@ my $comparepdf = "@COMPAREPDF_EXECUTABLE@";
# precondition: system commands to be executed prior to the test # precondition: system commands to be executed prior to the test
# command_line: List of parameters to be used on the lyx-command-line # command_line: List of parameters to be used on the lyx-command-line
my %Tests = ( my %Tests = (
save_as_test => {
src_files => ["save_as.lyx"],
check => [["save_as_saved.lyx"],
["save_as_saved2.lyx"]],
commands => ["file-open beamer_test.lyx",
"buffer-write-as save_as_saved.lyx",
"buffer-reload dump",
"buffer-write-as save_as_saved2.lyx",
"lyx-quit"],
},
beamer_test => { beamer_test => {
src_files => ["beamer_test.lyx"], src_files => ["beamer_test.lyx"],
check => [["beamer_test.tex", "beamer_test.tex.orig"]], check => [["beamer_test.tex", "beamer_test.tex.orig"]],