summaryrefslogtreecommitdiff
path: root/tests/test_domain_cpp.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-10-05 00:48:50 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-10-05 00:48:50 +0900
commitc57cd9cb064e63b8303697a31c97679dd8b09d9a (patch)
tree4eb7bbb5e657cdaaf5a6892a98f61d82f2d02e3a /tests/test_domain_cpp.py
parentfda530b8907e1de0016e2c507611b3363cfa18ed (diff)
parenta7bc29f1bd31b5a3b2aefdc580d91a18851e268a (diff)
downloadsphinx-git-c57cd9cb064e63b8303697a31c97679dd8b09d9a.tar.gz
Merge branch 'stable'
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 1229e550d..8c0fae2e3 100644
--- a/tests/test_domain_cpp.py
+++ b/tests/test_domain_cpp.py
@@ -598,6 +598,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()