summaryrefslogtreecommitdiff
path: root/tests/test_domain_cpp.py
diff options
context:
space:
mode:
authorJakob Lykke Andersen <Jakob@caput.dk>2017-10-03 14:35:10 +0200
committerJakob Lykke Andersen <Jakob@caput.dk>2017-10-03 14:35:10 +0200
commit6d610980583f26247504058790c00be93ca901f3 (patch)
tree0c9aa6cc367b3f4e33060b2d7abeecef44b078bb /tests/test_domain_cpp.py
parent0aa5c1b697ea3cddd503a58b5786537ca2d26420 (diff)
downloadsphinx-git-6d610980583f26247504058790c00be93ca901f3.tar.gz
C++, add test case for sphinx-doc/sphinx#4096
Diffstat (limited to 'tests/test_domain_cpp.py')
-rw-r--r--tests/test_domain_cpp.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py
index 08ca6f962..2932f356f 100644
--- a/tests/test_domain_cpp.py
+++ b/tests/test_domain_cpp.py
@@ -508,6 +508,13 @@ def test_attributes():
# raise DefinitionError("")
+@pytest.mark.sphinx(testroot='domain-cpp')
+def test_build_domain_cpp_misuse_of_roles(app, status, warning):
+ app.builder.build_all()
+
+ # TODO: properly check for the warnings we expect
+
+
@pytest.mark.sphinx(testroot='domain-cpp', confoverrides={'add_function_parentheses': True})
def test_build_domain_cpp_with_add_function_parentheses_is_True(app, status, warning):
app.builder.build_all()