mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Add a testcase for buffer-write-as
This commit is contained in:
parent
b3db2325ed
commit
48a5b16885
@ -13,4 +13,5 @@ add_batch_test(outline-beamer beamer_test "export")
|
||||
# see also bug #10835
|
||||
add_batch_test(vcs-info vcs_info_export)
|
||||
add_batch_test(AMS-import ams-import "tex2lyx")
|
||||
add_batch_test(SAVE-as save_as_test "export")
|
||||
|
||||
|
4606
development/batchtests/save_as.lyx
Normal file
4606
development/batchtests/save_as.lyx
Normal file
File diff suppressed because it is too large
Load Diff
@ -35,6 +35,16 @@ my $comparepdf = "@COMPAREPDF_EXECUTABLE@";
|
||||
# precondition: system commands to be executed prior to the test
|
||||
# command_line: List of parameters to be used on the lyx-command-line
|
||||
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 => {
|
||||
src_files => ["beamer_test.lyx"],
|
||||
check => [["beamer_test.tex", "beamer_test.tex.orig"]],
|
||||
@ -58,7 +68,7 @@ my %Tests = (
|
||||
"ams-import" => {
|
||||
src_files => ["ams-import.tex"],
|
||||
check => [["ams-import.pdf", "ams-import.pdf", $comparepdf],
|
||||
["ams-import.lyx"]],
|
||||
["ams-import.lyx"]],
|
||||
commands => ["buffer-new",
|
||||
"buffer-import latex ams-import.tex",
|
||||
"buffer-write",
|
||||
|
Loading…
Reference in New Issue
Block a user