summaryrefslogtreecommitdiff
path: root/support/texlab/tests/scenarios
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/tests/scenarios')
-rw-r--r--support/texlab/tests/scenarios/completion/bibtex/command/foo.bib7
-rw-r--r--support/texlab/tests/scenarios/completion/bibtex/field/foo.bib6
-rw-r--r--support/texlab/tests/scenarios/completion/bibtex/type/foo.bib3
-rw-r--r--support/texlab/tests/scenarios/completion/bibtex/word/foo.bib8
-rw-r--r--support/texlab/tests/scenarios/completion/latex/citation/bar.bib7
-rw-r--r--support/texlab/tests/scenarios/completion/latex/citation/foo.tex8
-rw-r--r--support/texlab/tests/scenarios/completion/latex/color/foo.tex3
-rw-r--r--support/texlab/tests/scenarios/completion/latex/component/foo.tex8
-rw-r--r--support/texlab/tests/scenarios/completion/latex/include/bar.tex0
-rw-r--r--support/texlab/tests/scenarios/completion/latex/include/bibliography.bib0
-rw-r--r--support/texlab/tests/scenarios/completion/latex/include/foo.tex7
-rw-r--r--support/texlab/tests/scenarios/completion/latex/include/qux/baz.tex0
-rw-r--r--support/texlab/tests/scenarios/completion/latex/label/bar.aux25
-rw-r--r--support/texlab/tests/scenarios/completion/latex/label/bar.tex6
-rw-r--r--support/texlab/tests/scenarios/completion/latex/label/foo.aux10
-rw-r--r--support/texlab/tests/scenarios/completion/latex/label/foo.tex36
-rw-r--r--support/texlab/tests/scenarios/completion/latex/preselect/foo.tex3
-rw-r--r--support/texlab/tests/scenarios/completion/latex/theorem/foo.tex5
-rw-r--r--support/texlab/tests/scenarios/completion/latex/tikz/foo.tex3
-rw-r--r--support/texlab/tests/scenarios/completion/latex/user/foo.tex5
-rw-r--r--support/texlab/tests/scenarios/definition/bibtex/string/foo.bib7
-rw-r--r--support/texlab/tests/scenarios/definition/latex/citation/bar.bib3
-rw-r--r--support/texlab/tests/scenarios/definition/latex/citation/baz.bib3
-rw-r--r--support/texlab/tests/scenarios/definition/latex/citation/foo.tex2
-rw-r--r--support/texlab/tests/scenarios/definition/latex/command/foo.tex3
-rw-r--r--support/texlab/tests/scenarios/definition/latex/label/default.tex2
-rw-r--r--support/texlab/tests/scenarios/definition/latex/label/equation.tex6
-rw-r--r--support/texlab/tests/scenarios/definition/latex/label/float.tex7
-rw-r--r--support/texlab/tests/scenarios/definition/latex/label/item.tex7
-rw-r--r--support/texlab/tests/scenarios/definition/latex/label/section.tex7
-rw-r--r--support/texlab/tests/scenarios/definition/latex/label/theorem.tex9
-rw-r--r--support/texlab/tests/scenarios/definition/latex/math_operator/foo.tex3
-rw-r--r--support/texlab/tests/scenarios/diagnostics/bibtex/foo.bib1
-rw-r--r--support/texlab/tests/scenarios/diagnostics/build/foo.log59
-rw-r--r--support/texlab/tests/scenarios/diagnostics/build/foo.tex6
-rw-r--r--support/texlab/tests/scenarios/folding/bar.bib24
-rw-r--r--support/texlab/tests/scenarios/folding/foo.tex13
-rw-r--r--support/texlab/tests/scenarios/formatting/bibtex/default/formatted.bib4
-rw-r--r--support/texlab/tests/scenarios/formatting/bibtex/default/unformatted.bib1
-rw-r--r--support/texlab/tests/scenarios/formatting/bibtex/infinite_line_length/formatted.bib3
-rw-r--r--support/texlab/tests/scenarios/formatting/bibtex/infinite_line_length/unformatted.bib1
-rw-r--r--support/texlab/tests/scenarios/hover/bibtex/field/foo.bib4
-rw-r--r--support/texlab/tests/scenarios/hover/bibtex/string_reference/foo.bib6
-rw-r--r--support/texlab/tests/scenarios/hover/bibtex/type/foo.bib5
-rw-r--r--support/texlab/tests/scenarios/hover/latex/citation/foo.bib5
-rw-r--r--support/texlab/tests/scenarios/hover/latex/citation/foo.tex4
-rw-r--r--support/texlab/tests/scenarios/hover/latex/component/foo.tex4
-rw-r--r--support/texlab/tests/scenarios/hover/latex/label/section.tex5
-rw-r--r--support/texlab/tests/scenarios/symbol/hierarchical/enumerate.aux3
-rw-r--r--support/texlab/tests/scenarios/symbol/hierarchical/enumerate.tex12
-rw-r--r--support/texlab/tests/scenarios/symbol/hierarchical/equation.aux2
-rw-r--r--support/texlab/tests/scenarios/symbol/hierarchical/equation.tex17
-rw-r--r--support/texlab/tests/scenarios/symbol/hierarchical/float.aux5
-rw-r--r--support/texlab/tests/scenarios/symbol/hierarchical/float.tex24
-rw-r--r--support/texlab/tests/scenarios/symbol/hierarchical/section.aux4
-rw-r--r--support/texlab/tests/scenarios/symbol/hierarchical/section.tex11
-rw-r--r--support/texlab/tests/scenarios/symbol/hierarchical/theorem.aux3
-rw-r--r--support/texlab/tests/scenarios/symbol/hierarchical/theorem.tex23
-rw-r--r--support/texlab/tests/scenarios/symbol/workspace/bar.bib3
-rw-r--r--support/texlab/tests/scenarios/symbol/workspace/foo.aux17
-rw-r--r--support/texlab/tests/scenarios/symbol/workspace/foo.tex38
61 files changed, 516 insertions, 0 deletions
diff --git a/support/texlab/tests/scenarios/completion/bibtex/command/foo.bib b/support/texlab/tests/scenarios/completion/bibtex/command/foo.bib
new file mode 100644
index 0000000000..918669ba68
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/bibtex/command/foo.bib
@@ -0,0 +1,7 @@
+@article{foo,
+ author = {\LaT
+}
+
+@article{foo,
+ author = {\LaT}
+}
diff --git a/support/texlab/tests/scenarios/completion/bibtex/field/foo.bib b/support/texlab/tests/scenarios/completion/bibtex/field/foo.bib
new file mode 100644
index 0000000000..6a24acd646
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/bibtex/field/foo.bib
@@ -0,0 +1,6 @@
+@article{foo,
+ titl
+
+@article{foo,
+ title = {}
+} \ No newline at end of file
diff --git a/support/texlab/tests/scenarios/completion/bibtex/type/foo.bib b/support/texlab/tests/scenarios/completion/bibtex/type/foo.bib
new file mode 100644
index 0000000000..2c645612b9
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/bibtex/type/foo.bib
@@ -0,0 +1,3 @@
+@
+@art
+@article
diff --git a/support/texlab/tests/scenarios/completion/bibtex/word/foo.bib b/support/texlab/tests/scenarios/completion/bibtex/word/foo.bib
new file mode 100644
index 0000000000..b2b9e862db
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/bibtex/word/foo.bib
@@ -0,0 +1,8 @@
+
+@article{foo,
+ author = {},
+}
+
+@comment{foo,
+ author = {},
+}
diff --git a/support/texlab/tests/scenarios/completion/latex/citation/bar.bib b/support/texlab/tests/scenarios/completion/latex/citation/bar.bib
new file mode 100644
index 0000000000..d96336de26
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/citation/bar.bib
@@ -0,0 +1,7 @@
+@article{foo:2019,
+ author = {Foo Bar},
+ title = {Baz Qux},
+ year = {2019},
+}
+
+@article{bar:2005,}
diff --git a/support/texlab/tests/scenarios/completion/latex/citation/foo.tex b/support/texlab/tests/scenarios/completion/latex/citation/foo.tex
new file mode 100644
index 0000000000..fd75f22698
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/citation/foo.tex
@@ -0,0 +1,8 @@
+\documentclass{article}
+\bibliography{bar}
+
+\begin{document}
+
+\cite{
+
+\end{document} \ No newline at end of file
diff --git a/support/texlab/tests/scenarios/completion/latex/color/foo.tex b/support/texlab/tests/scenarios/completion/latex/color/foo.tex
new file mode 100644
index 0000000000..72df702d12
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/color/foo.tex
@@ -0,0 +1,3 @@
+\color{re}
+\definecolor{foo}{
+\definecolorset{R}
diff --git a/support/texlab/tests/scenarios/completion/latex/component/foo.tex b/support/texlab/tests/scenarios/completion/latex/component/foo.tex
new file mode 100644
index 0000000000..991b7f5f68
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/component/foo.tex
@@ -0,0 +1,8 @@
+\documentclass{book}
+\usepackage{amsmath}
+\chap
+\varDel
+\begin{theind}
+\end{alig}
+\begin{doc}
+\vareps
diff --git a/support/texlab/tests/scenarios/completion/latex/include/bar.tex b/support/texlab/tests/scenarios/completion/latex/include/bar.tex
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/include/bar.tex
diff --git a/support/texlab/tests/scenarios/completion/latex/include/bibliography.bib b/support/texlab/tests/scenarios/completion/latex/include/bibliography.bib
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/include/bibliography.bib
diff --git a/support/texlab/tests/scenarios/completion/latex/include/foo.tex b/support/texlab/tests/scenarios/completion/latex/include/foo.tex
new file mode 100644
index 0000000000..545f78c491
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/include/foo.tex
@@ -0,0 +1,7 @@
+\documentclass{article}
+
+\include{}
+\input{}
+\input{qux/}
+\addbibresource{}
+
diff --git a/support/texlab/tests/scenarios/completion/latex/include/qux/baz.tex b/support/texlab/tests/scenarios/completion/latex/include/qux/baz.tex
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/include/qux/baz.tex
diff --git a/support/texlab/tests/scenarios/completion/latex/label/bar.aux b/support/texlab/tests/scenarios/completion/latex/label/bar.aux
new file mode 100644
index 0000000000..8d3449db60
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/label/bar.aux
@@ -0,0 +1,25 @@
+\relax
+\@writefile{toc}{\contentsline {section}{\numberline {2}Bar}{2}\protected@file@percent }
+\newlabel{sec:bar}{{2}{2}}
+\@setckpt{bar}{
+\setcounter{page}{3}
+\setcounter{equation}{2}
+\setcounter{enumi}{0}
+\setcounter{enumii}{0}
+\setcounter{enumiii}{0}
+\setcounter{enumiv}{0}
+\setcounter{footnote}{0}
+\setcounter{mpfootnote}{0}
+\setcounter{part}{0}
+\setcounter{section}{2}
+\setcounter{subsection}{0}
+\setcounter{subsubsection}{0}
+\setcounter{paragraph}{0}
+\setcounter{subparagraph}{0}
+\setcounter{figure}{1}
+\setcounter{table}{0}
+\setcounter{parentequation}{0}
+\setcounter{caption@flags}{0}
+\setcounter{ContinuedFloat}{0}
+\setcounter{lemma}{1}
+}
diff --git a/support/texlab/tests/scenarios/completion/latex/label/bar.tex b/support/texlab/tests/scenarios/completion/latex/label/bar.tex
new file mode 100644
index 0000000000..97dea2908f
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/label/bar.tex
@@ -0,0 +1,6 @@
+\section{Bar}%
+\label{sec:bar}
+
+Lorem ipsum dolor sit amet.
+\ref{}
+\eqref{}
diff --git a/support/texlab/tests/scenarios/completion/latex/label/foo.aux b/support/texlab/tests/scenarios/completion/latex/label/foo.aux
new file mode 100644
index 0000000000..cc82940c6b
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/label/foo.aux
@@ -0,0 +1,10 @@
+\relax
+\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Baz\relax }}{1}\protected@file@percent }
+\providecommand*\caption@xref[2]{\@setref\relax\@undefined{#1}}
+\newlabel{fig:baz}{{1}{1}}
+\@writefile{toc}{\contentsline {section}{\numberline {1}Foo}{1}\protected@file@percent }
+\newlabel{sec:foo}{{1}{1}}
+\newlabel{eq:foo}{{1}{1}}
+\newlabel{eq:bar}{{2}{1}}
+\newlabel{thm:foo}{{1}{1}}
+\@input{bar.aux}
diff --git a/support/texlab/tests/scenarios/completion/latex/label/foo.tex b/support/texlab/tests/scenarios/completion/latex/label/foo.tex
new file mode 100644
index 0000000000..c85be2fa36
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/label/foo.tex
@@ -0,0 +1,36 @@
+\documentclass{article}
+
+\usepackage{amsmath}
+\usepackage{caption}
+\usepackage{amsthm}
+\newtheorem{lemma}{Lemma}
+
+\begin{document}
+
+\section{Foo}%
+\label{sec:foo}
+
+\begin{equation}%
+\label{eq:foo}
+ 1 + 1 = 2
+\end{equation}
+
+\begin{equation}%
+\label{eq:bar}
+ 1 + 1 = 2
+\end{equation}
+
+\begin{figure}%
+\LaTeX{}
+\caption{Baz}%
+\label{fig:baz}
+\end{figure}
+
+\begin{lemma}%
+\label{thm:foo}
+ 1 + 1 = 2
+\end{lemma}
+
+\include{bar}
+
+\end{document}
diff --git a/support/texlab/tests/scenarios/completion/latex/preselect/foo.tex b/support/texlab/tests/scenarios/completion/latex/preselect/foo.tex
new file mode 100644
index 0000000000..9f62299192
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/preselect/foo.tex
@@ -0,0 +1,3 @@
+\begin{document}
+
+\end{
diff --git a/support/texlab/tests/scenarios/completion/latex/theorem/foo.tex b/support/texlab/tests/scenarios/completion/latex/theorem/foo.tex
new file mode 100644
index 0000000000..04b53ecd0e
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/theorem/foo.tex
@@ -0,0 +1,5 @@
+\documentclass{article}
+\usepackage{amsthm}
+\newtheorem{foo}{Foo}
+
+\begin{f}
diff --git a/support/texlab/tests/scenarios/completion/latex/tikz/foo.tex b/support/texlab/tests/scenarios/completion/latex/tikz/foo.tex
new file mode 100644
index 0000000000..fde20c6336
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/tikz/foo.tex
@@ -0,0 +1,3 @@
+\usepackage{tikz}
+\usepgflibrary{}
+\usetikzlibrary{}
diff --git a/support/texlab/tests/scenarios/completion/latex/user/foo.tex b/support/texlab/tests/scenarios/completion/latex/user/foo.tex
new file mode 100644
index 0000000000..e1bcaef2ab
--- /dev/null
+++ b/support/texlab/tests/scenarios/completion/latex/user/foo.tex
@@ -0,0 +1,5 @@
+\foo
+\fo
+\begin{foo}
+\end{foo}
+\begin{fo}
diff --git a/support/texlab/tests/scenarios/definition/bibtex/string/foo.bib b/support/texlab/tests/scenarios/definition/bibtex/string/foo.bib
new file mode 100644
index 0000000000..9326d87cdd
--- /dev/null
+++ b/support/texlab/tests/scenarios/definition/bibtex/string/foo.bib
@@ -0,0 +1,7 @@
+@string{foo = "Foo"}
+
+@string{bar = "Bar"}
+
+@article{baz,
+ author = bar
+}
diff --git a/support/texlab/tests/scenarios/definition/latex/citation/bar.bib b/support/texlab/tests/scenarios/definition/latex/citation/bar.bib
new file mode 100644
index 0000000000..af2d2d9e66
--- /dev/null
+++ b/support/texlab/tests/scenarios/definition/latex/citation/bar.bib
@@ -0,0 +1,3 @@
+@article{foo,}
+
+@article{bar,}
diff --git a/support/texlab/tests/scenarios/definition/latex/citation/baz.bib b/support/texlab/tests/scenarios/definition/latex/citation/baz.bib
new file mode 100644
index 0000000000..af2d2d9e66
--- /dev/null
+++ b/support/texlab/tests/scenarios/definition/latex/citation/baz.bib
@@ -0,0 +1,3 @@
+@article{foo,}
+
+@article{bar,}
diff --git a/support/texlab/tests/scenarios/definition/latex/citation/foo.tex b/support/texlab/tests/scenarios/definition/latex/citation/foo.tex
new file mode 100644
index 0000000000..a6d704b46d
--- /dev/null
+++ b/support/texlab/tests/scenarios/definition/latex/citation/foo.tex
@@ -0,0 +1,2 @@
+\bibliography{bar}
+\cite{bar}
diff --git a/support/texlab/tests/scenarios/definition/latex/command/foo.tex b/support/texlab/tests/scenarios/definition/latex/command/foo.tex
new file mode 100644
index 0000000000..29b8ea127e
--- /dev/null
+++ b/support/texlab/tests/scenarios/definition/latex/command/foo.tex
@@ -0,0 +1,3 @@
+\newcommand{\foo}{Foo}
+
+\foo
diff --git a/support/texlab/tests/scenarios/definition/latex/label/default.tex b/support/texlab/tests/scenarios/definition/latex/label/default.tex
new file mode 100644
index 0000000000..263c0e861e
--- /dev/null
+++ b/support/texlab/tests/scenarios/definition/latex/label/default.tex
@@ -0,0 +1,2 @@
+\label{foo}
+\ref{foo}
diff --git a/support/texlab/tests/scenarios/definition/latex/label/equation.tex b/support/texlab/tests/scenarios/definition/latex/label/equation.tex
new file mode 100644
index 0000000000..436d886457
--- /dev/null
+++ b/support/texlab/tests/scenarios/definition/latex/label/equation.tex
@@ -0,0 +1,6 @@
+\begin{equation}%
+\label{eq:foo}
+ Foo
+\end{equation}
+
+\ref{eq:foo}
diff --git a/support/texlab/tests/scenarios/definition/latex/label/float.tex b/support/texlab/tests/scenarios/definition/latex/label/float.tex
new file mode 100644
index 0000000000..9f3cd97fae
--- /dev/null
+++ b/support/texlab/tests/scenarios/definition/latex/label/float.tex
@@ -0,0 +1,7 @@
+\begin{figure}
+Foo
+\caption{Bar}
+\label{fig}
+\end{figure}
+
+\ref{fig}
diff --git a/support/texlab/tests/scenarios/definition/latex/label/item.tex b/support/texlab/tests/scenarios/definition/latex/label/item.tex
new file mode 100644
index 0000000000..a04034f0f8
--- /dev/null
+++ b/support/texlab/tests/scenarios/definition/latex/label/item.tex
@@ -0,0 +1,7 @@
+\begin{enumerate}
+ \item Foo
+ \item\label{bar} Bar
+ \item Baz
+\end{enumerate}
+
+\ref{bar}
diff --git a/support/texlab/tests/scenarios/definition/latex/label/section.tex b/support/texlab/tests/scenarios/definition/latex/label/section.tex
new file mode 100644
index 0000000000..9dd7eeec33
--- /dev/null
+++ b/support/texlab/tests/scenarios/definition/latex/label/section.tex
@@ -0,0 +1,7 @@
+\section{Foo}
+\label{sec:foo}
+
+\section{Bar}
+\label{sec:bar}
+
+\ref{sec:foo}
diff --git a/support/texlab/tests/scenarios/definition/latex/label/theorem.tex b/support/texlab/tests/scenarios/definition/latex/label/theorem.tex
new file mode 100644
index 0000000000..52cac48394
--- /dev/null
+++ b/support/texlab/tests/scenarios/definition/latex/label/theorem.tex
@@ -0,0 +1,9 @@
+\usepackage{amsthm}
+\newtheorem{lemma}{Lemma}
+
+\begin{lemma}%
+\label{thm:foo}
+ Foo
+\end{lemma}
+
+\ref{thm:foo}
diff --git a/support/texlab/tests/scenarios/definition/latex/math_operator/foo.tex b/support/texlab/tests/scenarios/definition/latex/math_operator/foo.tex
new file mode 100644
index 0000000000..1953dc269c
--- /dev/null
+++ b/support/texlab/tests/scenarios/definition/latex/math_operator/foo.tex
@@ -0,0 +1,3 @@
+\DeclareMathOperator{\foo}{foo}
+
+\foo
diff --git a/support/texlab/tests/scenarios/diagnostics/bibtex/foo.bib b/support/texlab/tests/scenarios/diagnostics/bibtex/foo.bib
new file mode 100644
index 0000000000..43890b16c1
--- /dev/null
+++ b/support/texlab/tests/scenarios/diagnostics/bibtex/foo.bib
@@ -0,0 +1 @@
+@article
diff --git a/support/texlab/tests/scenarios/diagnostics/build/foo.log b/support/texlab/tests/scenarios/diagnostics/build/foo.log
new file mode 100644
index 0000000000..e51517e553
--- /dev/null
+++ b/support/texlab/tests/scenarios/diagnostics/build/foo.log
@@ -0,0 +1,59 @@
+This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/Arch Linux) (preloaded format=latex 2019.4.26) 31 MAY 2019 17:55
+entering extended mode
+ restricted \write18 enabled.
+ %&-line parsing enabled.
+**foo.tex
+(./foo.tex
+LaTeX2e <2018-12-01>
+(/usr/share/texmf-dist/tex/latex/base/article.cls
+Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
+(/usr/share/texmf-dist/tex/latex/base/size10.clo
+File: size10.clo 2018/09/03 v1.4i Standard LaTeX file (size option)
+)
+\c@part=\count80
+\c@section=\count81
+\c@subsection=\count82
+\c@subsubsection=\count83
+\c@paragraph=\count84
+\c@subparagraph=\count85
+\c@figure=\count86
+\c@table=\count87
+\abovecaptionskip=\skip41
+\belowcaptionskip=\skip42
+\bibindent=\dimen102
+) (./foo.aux)
+\openout1 = `foo.aux'.
+
+LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 2.
+LaTeX Font Info: ... okay on input line 2.
+LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 2.
+LaTeX Font Info: ... okay on input line 2.
+LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 2.
+LaTeX Font Info: ... okay on input line 2.
+LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 2.
+LaTeX Font Info: ... okay on input line 2.
+LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 2.
+LaTeX Font Info: ... okay on input line 2.
+LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 2.
+LaTeX Font Info: ... okay on input line 2.
+
+! Undefined control sequence.
+l.4 \foo
+
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+
+(./foo.aux) )
+Here is how much of TeX's memory you used:
+ 199 strings out of 492617
+ 2074 string characters out of 6135203
+ 59592 words of memory out of 5000000
+ 4199 multiletter control sequences out of 15000+600000
+ 3640 words of font info for 14 fonts, out of 8000000 for 9000
+ 1141 hyphenation exceptions out of 8191
+ 23i,1n,17p,127b,36s stack positions out of 5000i,500n,10000p,200000b,80000s
+
+No pages of output.
diff --git a/support/texlab/tests/scenarios/diagnostics/build/foo.tex b/support/texlab/tests/scenarios/diagnostics/build/foo.tex
new file mode 100644
index 0000000000..d8c1e22e35
--- /dev/null
+++ b/support/texlab/tests/scenarios/diagnostics/build/foo.tex
@@ -0,0 +1,6 @@
+\documentclass{article}
+\begin{document}
+
+\foo
+
+\end{document}
diff --git a/support/texlab/tests/scenarios/folding/bar.bib b/support/texlab/tests/scenarios/folding/bar.bib
new file mode 100644
index 0000000000..a292b387fb
--- /dev/null
+++ b/support/texlab/tests/scenarios/folding/bar.bib
@@ -0,0 +1,24 @@
+@preamble{"Foo Bar Baz"}
+
+@string{foo = "foo"}
+
+@article{Rivest:1978:MOD:359340.359342,
+ author = {Rivest, R. L. and Shamir, A. and Adleman, L.},
+ title = {A Method for Obtaining Digital Signatures and Public-key Cryptosystems},
+ journal = {Commun. ACM},
+ issue_date = {Feb. 1978},
+ volume = {21},
+ number = {2},
+ month = feb,
+ year = {1978},
+ issn = {0001-0782},
+ pages = {120--126},
+ numpages = {7},
+ url = {http://doi.acm.org/10.1145/359340.359342},
+ doi = {10.1145/359340.359342},
+ acmid = {359342},
+ publisher = {ACM},
+ address = {New York, NY, USA},
+ keywords = {authentication, cryptography, digital signatures, electronic funds transfer, electronic mail,
+ factorization, message-passing, prime number, privacy, public-key cryptosystems, security},
+}
diff --git a/support/texlab/tests/scenarios/folding/foo.tex b/support/texlab/tests/scenarios/folding/foo.tex
new file mode 100644
index 0000000000..a742bad397
--- /dev/null
+++ b/support/texlab/tests/scenarios/folding/foo.tex
@@ -0,0 +1,13 @@
+\documentclass{article}
+
+\usepackage{amsmath}
+
+\begin{document}
+
+\section{Foo}
+
+\subsection{Bar}
+
+\section{Baz}
+
+\end{document}
diff --git a/support/texlab/tests/scenarios/formatting/bibtex/default/formatted.bib b/support/texlab/tests/scenarios/formatting/bibtex/default/formatted.bib
new file mode 100644
index 0000000000..1044ed1efd
--- /dev/null
+++ b/support/texlab/tests/scenarios/formatting/bibtex/default/formatted.bib
@@ -0,0 +1,4 @@
+@article{foo,
+ author = {Foo Bar},
+ title = {Baz Qux},
+} \ No newline at end of file
diff --git a/support/texlab/tests/scenarios/formatting/bibtex/default/unformatted.bib b/support/texlab/tests/scenarios/formatting/bibtex/default/unformatted.bib
new file mode 100644
index 0000000000..e8d1b9c403
--- /dev/null
+++ b/support/texlab/tests/scenarios/formatting/bibtex/default/unformatted.bib
@@ -0,0 +1 @@
+@article{foo, author = {Foo Bar}, title = {Baz Qux}}
diff --git a/support/texlab/tests/scenarios/formatting/bibtex/infinite_line_length/formatted.bib b/support/texlab/tests/scenarios/formatting/bibtex/infinite_line_length/formatted.bib
new file mode 100644
index 0000000000..febd1a8079
--- /dev/null
+++ b/support/texlab/tests/scenarios/formatting/bibtex/infinite_line_length/formatted.bib
@@ -0,0 +1,3 @@
+@article{foo,
+ title = {Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.},
+} \ No newline at end of file
diff --git a/support/texlab/tests/scenarios/formatting/bibtex/infinite_line_length/unformatted.bib b/support/texlab/tests/scenarios/formatting/bibtex/infinite_line_length/unformatted.bib
new file mode 100644
index 0000000000..3ef68c5756
--- /dev/null
+++ b/support/texlab/tests/scenarios/formatting/bibtex/infinite_line_length/unformatted.bib
@@ -0,0 +1 @@
+@article{foo, title = {Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.} }
diff --git a/support/texlab/tests/scenarios/hover/bibtex/field/foo.bib b/support/texlab/tests/scenarios/hover/bibtex/field/foo.bib
new file mode 100644
index 0000000000..9d0a961b7a
--- /dev/null
+++ b/support/texlab/tests/scenarios/hover/bibtex/field/foo.bib
@@ -0,0 +1,4 @@
+@article{foo,
+ author = {Foo Bar},
+ bar = {Baz Qux},
+} \ No newline at end of file
diff --git a/support/texlab/tests/scenarios/hover/bibtex/string_reference/foo.bib b/support/texlab/tests/scenarios/hover/bibtex/string_reference/foo.bib
new file mode 100644
index 0000000000..434bb80185
--- /dev/null
+++ b/support/texlab/tests/scenarios/hover/bibtex/string_reference/foo.bib
@@ -0,0 +1,6 @@
+@string{foo = "foo {bar} baz"}
+
+@article{bar,
+ author = foo # bar,
+ title = "Qux",
+}
diff --git a/support/texlab/tests/scenarios/hover/bibtex/type/foo.bib b/support/texlab/tests/scenarios/hover/bibtex/type/foo.bib
new file mode 100644
index 0000000000..708bf7bbff
--- /dev/null
+++ b/support/texlab/tests/scenarios/hover/bibtex/type/foo.bib
@@ -0,0 +1,5 @@
+@article{foo,}
+
+@bar{bar,}
+
+@baz{baz,}
diff --git a/support/texlab/tests/scenarios/hover/latex/citation/foo.bib b/support/texlab/tests/scenarios/hover/latex/citation/foo.bib
new file mode 100644
index 0000000000..ce704dcff8
--- /dev/null
+++ b/support/texlab/tests/scenarios/hover/latex/citation/foo.bib
@@ -0,0 +1,5 @@
+@article{foo, author = {Foo Bar}, title = {Baz Qux}, year = {2019}}
+
+@article{bar, author = {Baz Qux}, title = {Foo Bar}, year = {2019}}
+
+@article{baz,}
diff --git a/support/texlab/tests/scenarios/hover/latex/citation/foo.tex b/support/texlab/tests/scenarios/hover/latex/citation/foo.tex
new file mode 100644
index 0000000000..7ec4a6cdf2
--- /dev/null
+++ b/support/texlab/tests/scenarios/hover/latex/citation/foo.tex
@@ -0,0 +1,4 @@
+\bibliography{foo}
+
+\cite{foo}
+\cite{baz}
diff --git a/support/texlab/tests/scenarios/hover/latex/component/foo.tex b/support/texlab/tests/scenarios/hover/latex/component/foo.tex
new file mode 100644
index 0000000000..c111318484
--- /dev/null
+++ b/support/texlab/tests/scenarios/hover/latex/component/foo.tex
@@ -0,0 +1,4 @@
+\documentclass{article}
+\usepackage{amsmath}
+\documentclass{foo}
+\usepackage{foo}
diff --git a/support/texlab/tests/scenarios/hover/latex/label/section.tex b/support/texlab/tests/scenarios/hover/latex/label/section.tex
new file mode 100644
index 0000000000..75a5d120b5
--- /dev/null
+++ b/support/texlab/tests/scenarios/hover/latex/label/section.tex
@@ -0,0 +1,5 @@
+\documentclass{article}
+\begin{document}
+\section{Foo}
+\label{sec:foo}
+\end{document}
diff --git a/support/texlab/tests/scenarios/symbol/hierarchical/enumerate.aux b/support/texlab/tests/scenarios/symbol/hierarchical/enumerate.aux
new file mode 100644
index 0000000000..40fcc334fa
--- /dev/null
+++ b/support/texlab/tests/scenarios/symbol/hierarchical/enumerate.aux
@@ -0,0 +1,3 @@
+\relax
+\newlabel{it:foo}{{1}{1}}
+\newlabel{it:qux}{{2}{1}}
diff --git a/support/texlab/tests/scenarios/symbol/hierarchical/enumerate.tex b/support/texlab/tests/scenarios/symbol/hierarchical/enumerate.tex
new file mode 100644
index 0000000000..bbf85f2ee6
--- /dev/null
+++ b/support/texlab/tests/scenarios/symbol/hierarchical/enumerate.tex
@@ -0,0 +1,12 @@
+\documentclass{article}
+
+\begin{document}
+
+\begin{enumerate}
+ \item\label{it:foo} Foo
+ \item\label{it:bar} Bar
+ \item[Baz] Baz
+ \item[Qux]\label{it:qux} Qux
+\end{enumerate}
+
+\end{document}
diff --git a/support/texlab/tests/scenarios/symbol/hierarchical/equation.aux b/support/texlab/tests/scenarios/symbol/hierarchical/equation.aux
new file mode 100644
index 0000000000..f7d3f25421
--- /dev/null
+++ b/support/texlab/tests/scenarios/symbol/hierarchical/equation.aux
@@ -0,0 +1,2 @@
+\relax
+\newlabel{eq:foo}{{1}{1}}
diff --git a/support/texlab/tests/scenarios/symbol/hierarchical/equation.tex b/support/texlab/tests/scenarios/symbol/hierarchical/equation.tex
new file mode 100644
index 0000000000..0999f270fa
--- /dev/null
+++ b/support/texlab/tests/scenarios/symbol/hierarchical/equation.tex
@@ -0,0 +1,17 @@
+\documentclass{article}
+
+\begin{document}
+
+\begin{equation}\label{eq:foo}
+ Foo
+\end{equation}
+
+\begin{equation}\label{eq:bar}
+ Bar
+\end{equation}
+
+\begin{equation}
+ Baz
+\end{equation}
+
+\end{document}
diff --git a/support/texlab/tests/scenarios/symbol/hierarchical/float.aux b/support/texlab/tests/scenarios/symbol/hierarchical/float.aux
new file mode 100644
index 0000000000..a23cc632d1
--- /dev/null
+++ b/support/texlab/tests/scenarios/symbol/hierarchical/float.aux
@@ -0,0 +1,5 @@
+\relax
+\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Foo}}{1}\protected@file@percent }
+\newlabel{fig:foo}{{1}{1}}
+\@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces Bar}}{1}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces Baz}}{1}\protected@file@percent }
diff --git a/support/texlab/tests/scenarios/symbol/hierarchical/float.tex b/support/texlab/tests/scenarios/symbol/hierarchical/float.tex
new file mode 100644
index 0000000000..e8f65b9f3a
--- /dev/null
+++ b/support/texlab/tests/scenarios/symbol/hierarchical/float.tex
@@ -0,0 +1,24 @@
+\documentclass{article}
+
+\begin{document}
+
+\begin{figure}
+ Foo
+ \caption{Foo}\label{fig:foo}
+\end{figure}
+
+\begin{figure}
+ Bar
+ \caption{Bar}\label{fig:bar}
+\end{figure}
+
+\begin{figure}
+ Baz
+ \caption{Baz}
+\end{figure}
+
+\begin{figure}
+ Qux
+\end{figure}
+
+\end{document}
diff --git a/support/texlab/tests/scenarios/symbol/hierarchical/section.aux b/support/texlab/tests/scenarios/symbol/hierarchical/section.aux
new file mode 100644
index 0000000000..d8c1d2c24f
--- /dev/null
+++ b/support/texlab/tests/scenarios/symbol/hierarchical/section.aux
@@ -0,0 +1,4 @@
+\relax
+\@writefile{toc}{\contentsline {section}{\numberline {1}Foo}{1}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {2}Bar}{1}\protected@file@percent }
+\newlabel{sec:bar}{{2}{1}}
diff --git a/support/texlab/tests/scenarios/symbol/hierarchical/section.tex b/support/texlab/tests/scenarios/symbol/hierarchical/section.tex
new file mode 100644
index 0000000000..ca2de74578
--- /dev/null
+++ b/support/texlab/tests/scenarios/symbol/hierarchical/section.tex
@@ -0,0 +1,11 @@
+\documentclass{article}
+
+\begin{document}
+
+\section{Foo}
+
+\section{Bar}\label{sec:bar}
+
+\subsection{Baz}\label{sec:baz}
+
+\end{document}
diff --git a/support/texlab/tests/scenarios/symbol/hierarchical/theorem.aux b/support/texlab/tests/scenarios/symbol/hierarchical/theorem.aux
new file mode 100644
index 0000000000..ad163aeeae
--- /dev/null
+++ b/support/texlab/tests/scenarios/symbol/hierarchical/theorem.aux
@@ -0,0 +1,3 @@
+\relax
+\newlabel{thm:foo}{{1}{1}}
+\newlabel{thm:bar}{{2}{1}}
diff --git a/support/texlab/tests/scenarios/symbol/hierarchical/theorem.tex b/support/texlab/tests/scenarios/symbol/hierarchical/theorem.tex
new file mode 100644
index 0000000000..e147cd6f90
--- /dev/null
+++ b/support/texlab/tests/scenarios/symbol/hierarchical/theorem.tex
@@ -0,0 +1,23 @@
+\documentclass{article}
+\usepackage{amsthm}
+\newtheorem{lemma}{Lemma}
+
+\begin{document}
+
+\begin{lemma}[Foo]\label{thm:foo}
+ Foo
+\end{lemma}
+
+\begin{lemma}\label{thm:bar}
+ Bar
+\end{lemma}
+
+\begin{lemma}\label{thm:baz}
+ Baz
+\end{lemma}
+
+\begin{lemma}[Qux]
+ Qux
+\end{lemma}
+
+\end{document} \ No newline at end of file
diff --git a/support/texlab/tests/scenarios/symbol/workspace/bar.bib b/support/texlab/tests/scenarios/symbol/workspace/bar.bib
new file mode 100644
index 0000000000..1fd540db29
--- /dev/null
+++ b/support/texlab/tests/scenarios/symbol/workspace/bar.bib
@@ -0,0 +1,3 @@
+@article{foo,}
+
+@string{bar = "bar"}
diff --git a/support/texlab/tests/scenarios/symbol/workspace/foo.aux b/support/texlab/tests/scenarios/symbol/workspace/foo.aux
new file mode 100644
index 0000000000..9713a1f333
--- /dev/null
+++ b/support/texlab/tests/scenarios/symbol/workspace/foo.aux
@@ -0,0 +1,17 @@
+\relax
+\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Bar\relax }}{1}\protected@file@percent }
+\providecommand*\caption@xref[2]{\@setref\relax\@undefined{#1}}
+\newlabel{fig:bar}{{1}{1}}
+\@writefile{toc}{\contentsline {section}{\numberline {1}Foo}{1}\protected@file@percent }
+\newlabel{sec:foo}{{1}{1}}
+\newlabel{eq:foo}{{1}{1}}
+\@writefile{toc}{\contentsline {section}{\numberline {2}Bar}{1}\protected@file@percent }
+\newlabel{sec:bar}{{2}{1}}
+\@writefile{toc}{\contentsline {section}{\numberline {3}Baz}{1}\protected@file@percent }
+\newlabel{sec:baz}{{3}{1}}
+\newlabel{itm:foo}{{1}{1}}
+\newlabel{itm:bar}{{2}{1}}
+\newlabel{itm:baz}{{3}{1}}
+\@writefile{toc}{\contentsline {section}{\numberline {4}Qux}{1}\protected@file@percent }
+\newlabel{sec:qux}{{4}{1}}
+\newlabel{thm:qux}{{1}{1}}
diff --git a/support/texlab/tests/scenarios/symbol/workspace/foo.tex b/support/texlab/tests/scenarios/symbol/workspace/foo.tex
new file mode 100644
index 0000000000..292cc5369b
--- /dev/null
+++ b/support/texlab/tests/scenarios/symbol/workspace/foo.tex
@@ -0,0 +1,38 @@
+\documentclass{article}
+\usepackage{caption}
+\usepackage{amsmath}
+\usepackage{amsthm}
+
+\begin{document}
+
+\section{Foo}\label{sec:foo}
+
+\begin{equation}\label{eq:foo}
+ Foo
+\end{equation}
+
+\section{Bar}\label{sec:bar}
+
+\begin{figure}
+ Bar
+ \caption{Bar}
+ \label{fig:bar}
+\end{figure}
+
+\section{Baz}\label{sec:baz}
+
+\begin{enumerate}
+ \item\label{itm:foo} Foo
+ \item\label{itm:bar} Bar
+ \item\label{itm:baz} Baz
+\end{enumerate}
+
+\section{Qux}\label{sec:qux}
+
+\newtheorem{lemma}{Lemma}
+
+\begin{lemma}[Qux]\label{thm:qux}
+ Qux
+\end{lemma}
+
+\end{document}