summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI/codemodel-v2-ClientStateful-check.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-18 13:39:25 (GMT)
committerBrad King <brad.king@kitware.com>2018-12-12 11:40:10 (GMT)
commit3e922ceb5e8cc4c4d72ddcbd8b485803c49d84f1 (patch)
treee44164dc568a4798ecda54b0d82c115748e9d1a1 /Tests/RunCMake/FileAPI/codemodel-v2-ClientStateful-check.cmake
parent555fa77a35b15cf1ed5163bf9fa1782079534ef1 (diff)
downloadCMake-3e922ceb5e8cc4c4d72ddcbd8b485803c49d84f1.zip
CMake-3e922ceb5e8cc4c4d72ddcbd8b485803c49d84f1.tar.gz
CMake-3e922ceb5e8cc4c4d72ddcbd8b485803c49d84f1.tar.bz2
fileapi: add codemodel v2
Start with v2 to distinguish it from server-mode v1. Issue: #18398
Diffstat (limited to 'Tests/RunCMake/FileAPI/codemodel-v2-ClientStateful-check.cmake')
-rw-r--r--Tests/RunCMake/FileAPI/codemodel-v2-ClientStateful-check.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/FileAPI/codemodel-v2-ClientStateful-check.cmake b/Tests/RunCMake/FileAPI/codemodel-v2-ClientStateful-check.cmake
new file mode 100644
index 0000000..cdbfe7c
--- /dev/null
+++ b/Tests/RunCMake/FileAPI/codemodel-v2-ClientStateful-check.cmake
@@ -0,0 +1,11 @@
+set(expect
+ query
+ query/client-foo
+ query/client-foo/query.json
+ reply
+ reply/codemodel-v2-[0-9a-f]+.json
+ reply/index-[0-9.T-]+.json
+ )
+check_api("^${expect}$")
+
+check_python(codemodel-v2)