aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/CMakeLists.txt1
-rw-r--r--vespalib/src/tests/coro/csi/CMakeLists.txt11
-rw-r--r--vespalib/src/tests/coro/csi/csi_test.cpp8
-rw-r--r--vespalib/src/tests/coro/csi/test.proto15
4 files changed, 35 insertions, 0 deletions
diff --git a/vespalib/CMakeLists.txt b/vespalib/CMakeLists.txt
index 83711ab8200..f60f1463980 100644
--- a/vespalib/CMakeLists.txt
+++ b/vespalib/CMakeLists.txt
@@ -48,6 +48,7 @@ vespa_define_module(
src/tests/compression
src/tests/coro/active_work
src/tests/coro/async_io
+ src/tests/coro/csi
src/tests/coro/detached
src/tests/coro/generator
src/tests/coro/lazy
diff --git a/vespalib/src/tests/coro/csi/CMakeLists.txt b/vespalib/src/tests/coro/csi/CMakeLists.txt
new file mode 100644
index 00000000000..5987428fe65
--- /dev/null
+++ b/vespalib/src/tests/coro/csi/CMakeLists.txt
@@ -0,0 +1,11 @@
+# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+vespa_add_executable(vespalib_csi_test_app TEST
+ SOURCES
+ csi_test.cpp
+ DEPENDS
+ vespalib
+ GTest::GTest
+)
+vespa_generate_protobuf_csi(vespalib_csi_test_app ./test.proto)
+vespa_add_test(NAME vespalib_csi_test_app COMMAND vespalib_csi_test_app)
diff --git a/vespalib/src/tests/coro/csi/csi_test.cpp b/vespalib/src/tests/coro/csi/csi_test.cpp
new file mode 100644
index 00000000000..301c12b2cec
--- /dev/null
+++ b/vespalib/src/tests/coro/csi/csi_test.cpp
@@ -0,0 +1,8 @@
+// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+#include <vespa/vespalib/gtest/gtest.h>
+
+TEST(CoroRpcTest, dummy_test) {
+}
+
+GTEST_MAIN_RUN_ALL_TESTS()
diff --git a/vespalib/src/tests/coro/csi/test.proto b/vespalib/src/tests/coro/csi/test.proto
new file mode 100644
index 00000000000..3e53ade7cfb
--- /dev/null
+++ b/vespalib/src/tests/coro/csi/test.proto
@@ -0,0 +1,15 @@
+// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+syntax = "proto3";
+
+message TestRequest {
+ string name = 1;
+}
+
+message TestReply {
+ string name = 1;
+}
+
+service TestService {
+ rpc my_test (TestRequest) returns (TestReply) {}
+}