]> git.lyx.org Git - lyx.git/commit
Add test for Layout::write()
authorGeorg Baum <baum@lyx.org>
Mon, 13 May 2013 19:53:28 +0000 (21:53 +0200)
committerGeorg Baum <baum@lyx.org>
Mon, 13 May 2013 19:53:28 +0000 (21:53 +0200)
commitb79c88034edaa6cc256c8869820b5d8f943d3bbf
tree8dda5fb675f569210ebe49ca75ba4ab80baf7ac5
parent02e59530b15d223c0978ecacfb7379f7bec986f4
Add test for Layout::write()

When running the test, you'll get the following messages:

Testing ../../src/../lib/layouts/siamltex.layout...
Layout.cpp (268): Cannot copy unknown style `Enumerate'
Testing ../../src/../lib/layouts/svglobal.layout...
Cannot delete style `Dedication'
Testing ../../src/../lib/layouts/svjog.layout...
Cannot delete style `Dedication'
Testing ../../src/../lib/layouts/svprobth.layout...
Cannot delete style `Dedication'

These are no errors of Layout::write(), but they indicate problems in the
definition of the layout files.

Kornel, it would be nice if you could do the cmake part.
src/Layout.cpp
src/Makefile.am
src/support/tests/dummy_functions.cpp
src/tests/check_Layout.cpp [new file with mode: 0644]
src/tests/test_Layout [new file with mode: 0755]
src/tex2lyx/CMakeLists.txt
src/tex2lyx/Makefile.am