Skip to content

Commit

Permalink
Simplify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
moewew committed Oct 26, 2024
1 parent b01e40d commit 33ac481
Show file tree
Hide file tree
Showing 96 changed files with 162,204 additions and 151,327 deletions.
124 changes: 3 additions & 121 deletions testfiles-pdflatex-dev/latex-dev-style-ext-authoryear-icomp.lvt
Original file line number Diff line number Diff line change
Expand Up @@ -14,132 +14,14 @@
\addbibresource{biblatex-examples.bib}
\OMIT

% set up \extblxtestbox and hack into biblatex internals to add
% some debugging info
\input{testbiblatex-boxsetup.tex}

\begin{document}
\TIMO

\TEST{Simple cite}{
\extblxtestbox{\cite{sigfridsson}}
}
\showoutput

\TEST{Ibid cite}{
\extblxtestbox{\cite{nussbaum} lorem \cite{nussbaum}}
}

\TEST{Comp cite}{
\extblxtestbox{\cite{knuth:ct:a,knuth:ct:b,knuth:ct:c}}
}

\TEST{Sort cite}{
\extblxtestbox{\cite{nussbaum,worman,geer,sigfridsson}}
}


\TEST{Cite prenote}{
\extblxtestbox{\cite[Cf.][]{knuth:ct:a}}
}

\TEST{Cite pre and postnote}{
\extblxtestbox{\cite[Cf.][380]{sigfridsson}}
}

\TEST{Cite postnote}{
\extblxtestbox{\cite[190]{nussbaum}}
}

\TEST{Cites note}{
\extblxtestbox{%
\cites[190]{nussbaum}[Cf.][380]{sigfridsson}[Cf.][]{knuth:ct:a}}
}

\TEST{Parencite (plain)}{
\extblxtestbox{\parencite{sigfridsson}}
}

\TEST{Parencite (post)}{
\extblxtestbox{\parencite[190]{nussbaum}}
}

\TEST{Parencite (pre-post)}{
\extblxtestbox{\parencite[Cf.][190]{worman}}
}

\TEST{Parencite (pre)}{
\extblxtestbox{\parencite[Cf.][]{geer}}
}

\TEST{Parencites note}{
\extblxtestbox{%
\parencites(glob-pre)(glob-post){sigfridsson}[190]{nussbaum}[Cf.][14]{worman}[Cf.][]{geer}}
}

\TEST{Textcite (plain)}{
\extblxtestbox{\textcite{sigfridsson}}
}

\TEST{Textcite (post)}{
\extblxtestbox{\textcite[190]{nussbaum}}
}

\TEST{Textcite (pre-post)}{
\extblxtestbox{\textcite[Cf.][190]{worman}}
}

\TEST{Textcite (pre)}{
\extblxtestbox{\textcite[Cf.][]{geer}}
}

\TEST{Textcites note}{
\extblxtestbox{%
\textcites(glob-pre)(glob-post){sigfridsson}[190]{nussbaum}[Cf.][14]{worman}[Cf.][]{geer}}
}

\TEST{Footcite (plain)}{
\extblxtestbox{\footcite{aksin}}
}

\TEST{Footcite (post)}{
\extblxtestbox{\footcite[190]{pines}}
}

\TEST{Footcite (pre-post)}{
\extblxtestbox{\footcite[Cf.][190]{aksin}}
}

\TEST{Footcite (pre)}{
\extblxtestbox{\footcite[Cf.][]{pines}}
}

\TEST{Footcites note}{
\extblxtestbox{%
\footcites(glob-pre)(glob-post){sigfridsson}[190]{nussbaum}[Cf.][14]{worman}[Cf.][]{geer}}
}

\TEST{Autocite prenote}{
\extblxtestbox{\autocite[Cf.][]{knuth:ct:a}}
}

\TEST{Autocite pre and postnote}{
\extblxtestbox{\autocite[Cf.][380]{sigfridsson}}
}

\TEST{Autocite postnote}{
\extblxtestbox{\autocite[190]{nussbaum}}
}

\TEST{Autocites note}{
\extblxtestbox{%
\autocites[190]{nussbaum}[Cf.][380]{sigfridsson}[Cf.][]{knuth:ct:a}}
}


%\nocite{*}
\OMIT
% bibliography
\printbibliography
\input{testbiblatex-doccontent}

\clearpage
\end{document}
\END
124 changes: 3 additions & 121 deletions testfiles-pdflatex-dev/latex-dev-style-ext-numeric.lvt
Original file line number Diff line number Diff line change
Expand Up @@ -14,132 +14,14 @@
\addbibresource{biblatex-examples.bib}
\OMIT

% set up \extblxtestbox and hack into biblatex internals to add
% some debugging info
\input{testbiblatex-boxsetup.tex}

\begin{document}
\TIMO

\TEST{Simple cite}{
\extblxtestbox{\cite{sigfridsson}}
}
\showoutput

\TEST{Ibid cite}{
\extblxtestbox{\cite{nussbaum} lorem \cite{nussbaum}}
}

\TEST{Comp cite}{
\extblxtestbox{\cite{knuth:ct:a,knuth:ct:b,knuth:ct:c}}
}

\TEST{Sort cite}{
\extblxtestbox{\cite{nussbaum,worman,geer,sigfridsson}}
}


\TEST{Cite prenote}{
\extblxtestbox{\cite[Cf.][]{knuth:ct:a}}
}

\TEST{Cite pre and postnote}{
\extblxtestbox{\cite[Cf.][380]{sigfridsson}}
}

\TEST{Cite postnote}{
\extblxtestbox{\cite[190]{nussbaum}}
}

\TEST{Cites note}{
\extblxtestbox{%
\cites[190]{nussbaum}[Cf.][380]{sigfridsson}[Cf.][]{knuth:ct:a}}
}

\TEST{Parencite (plain)}{
\extblxtestbox{\parencite{sigfridsson}}
}

\TEST{Parencite (post)}{
\extblxtestbox{\parencite[190]{nussbaum}}
}

\TEST{Parencite (pre-post)}{
\extblxtestbox{\parencite[Cf.][190]{worman}}
}

\TEST{Parencite (pre)}{
\extblxtestbox{\parencite[Cf.][]{geer}}
}

\TEST{Parencites note}{
\extblxtestbox{%
\parencites(glob-pre)(glob-post){sigfridsson}[190]{nussbaum}[Cf.][14]{worman}[Cf.][]{geer}}
}

\TEST{Textcite (plain)}{
\extblxtestbox{\textcite{sigfridsson}}
}

\TEST{Textcite (post)}{
\extblxtestbox{\textcite[190]{nussbaum}}
}

\TEST{Textcite (pre-post)}{
\extblxtestbox{\textcite[Cf.][190]{worman}}
}

\TEST{Textcite (pre)}{
\extblxtestbox{\textcite[Cf.][]{geer}}
}

\TEST{Textcites note}{
\extblxtestbox{%
\textcites(glob-pre)(glob-post){sigfridsson}[190]{nussbaum}[Cf.][14]{worman}[Cf.][]{geer}}
}

\TEST{Footcite (plain)}{
\extblxtestbox{\footcite{aksin}}
}

\TEST{Footcite (post)}{
\extblxtestbox{\footcite[190]{pines}}
}

\TEST{Footcite (pre-post)}{
\extblxtestbox{\footcite[Cf.][190]{aksin}}
}

\TEST{Footcite (pre)}{
\extblxtestbox{\footcite[Cf.][]{pines}}
}

\TEST{Footcites note}{
\extblxtestbox{%
\footcites(glob-pre)(glob-post){sigfridsson}[190]{nussbaum}[Cf.][14]{worman}[Cf.][]{geer}}
}

\TEST{Autocite prenote}{
\extblxtestbox{\autocite[Cf.][]{knuth:ct:a}}
}

\TEST{Autocite pre and postnote}{
\extblxtestbox{\autocite[Cf.][380]{sigfridsson}}
}

\TEST{Autocite postnote}{
\extblxtestbox{\autocite[190]{nussbaum}}
}

\TEST{Autocites note}{
\extblxtestbox{%
\autocites[190]{nussbaum}[Cf.][380]{sigfridsson}[Cf.][]{knuth:ct:a}}
}


%\nocite{*}
\OMIT
% bibliography
\printbibliography
\input{testbiblatex-doccontent}

\clearpage
\end{document}
\END
6 changes: 0 additions & 6 deletions testfiles-pdflatex-dev/latex-dev-tabular-authortitle.lvt
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,7 @@
\usepackage[backend=biber, style=ext-authortitle]{biblatex}
\usepackage{biblatex-ext-tabular}
\addbibresource{biblatex-examples.bib}
\OMIT

% set up \extblxtestbox and hack into biblatex internals to add
% some debugging info
\input{testbiblatex-boxsetup.tex}

\TIMO
\defbibtabular{bibtabular}
{\setlength{\LTpre}{0pt}%
\setlength{\LTpost}{0pt}%
Expand Down
4 changes: 0 additions & 4 deletions testfiles-pdflatex-dev/latex-dev-tabular-fail.lvt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
\addbibresource{biblatex-examples.bib}
\OMIT

% set up \extblxtestbox and hack into biblatex internals to add
% some debugging info
\input{testbiblatex-boxsetup.tex}

\begin{document}
\TIMO

Expand Down
Loading

0 comments on commit 33ac481

Please sign in to comment.