Add test for verbatim environment in tex2lyx tests

This commit is contained in:
Kornel Benko 2013-02-04 10:53:25 +01:00
parent be42f1398d
commit 83e2c45d83
4 changed files with 94 additions and 1 deletions

View File

@ -34,6 +34,7 @@ TEST_FILES = \
test/test-modules.tex \
test/test-refstyle-references.tex \
test/test-structure.tex \
test/verbatim.tex \
test/XeTeX-polyglossia.tex \
test/xfigtest.fig \
test/xfigtest.pstex \
@ -49,7 +50,9 @@ TEST_RESULTS = \
test/test-insets.lyx.lyx \
test/test.lyx.lyx \
test/test-modules.lyx.lyx \
test/test-refstyle-references.lyx.lyx \
test/test-structure.lyx.lyx \
test/verbatim..lyx.lyx \
test/XeTeX-polyglossia.lyx.lyx
TESTS = test/runtests.py

View File

@ -13,7 +13,7 @@ project(test)
set(_tex_tests test.ltx test-structure.tex test-insets.tex
test-modules.tex box-color-size-space-align.tex
CJK.tex CJKutf8.tex XeTeX-polyglossia.tex
test-refstyle-references.tex)
test-refstyle-references.tex verbatim.tex)
foreach(_fl ${_tex_tests})
set(fl ${_fl})

View File

@ -0,0 +1,85 @@
#LyX file created by tex2lyx 2.1.0dev
\lyxformat 459
\begin_document
\begin_header
\textclass article
\begin_preamble
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language english
\language_package none
\inputencoding auto
\fontencoding default
\font_roman default
\font_sans default
\font_typewriter default
\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 0
\use_package esint 1
\use_package mathdots 0
\use_package mathtools 0
\use_package mhchem 0
\use_package stackrel 0
\use_package stmaryrd 0
\use_package undertilde 0
\cite_engine basic
\cite_engine_type numerical
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Verbatim
$src set packetSize_ 100000
\end_layout
\begin_layout Standard
\end_layout
\end_body
\end_document

View File

@ -0,0 +1,5 @@
\documentclass{article}
\begin{document}
\begin{verbatim} $src set packetSize_ 100000 \end{verbatim}
\end{document}