summaryrefslogtreecommitdiff
path: root/support/texlab/tests/scenarios/hover
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/tests/scenarios/hover')
-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
7 files changed, 33 insertions, 0 deletions
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}