diff options
| author | Garrett D'Amore <garrett@damore.org> | 2020-01-12 16:11:19 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-01-12 23:03:06 -0800 |
| commit | 7b4a0a996aa6ed3e8fbbd9fd0e28811725707605 (patch) | |
| tree | c06211c9972d2b311116c8b4fee536896f38b394 /src/protocol/pubsub0/CMakeLists.txt | |
| parent | 4299a5b4edc59753a6ec857fabedadf1504c4243 (diff) | |
| download | nng-7b4a0a996aa6ed3e8fbbd9fd0e28811725707605.tar.gz nng-7b4a0a996aa6ed3e8fbbd9fd0e28811725707605.tar.bz2 nng-7b4a0a996aa6ed3e8fbbd9fd0e28811725707605.zip | |
Add PUB/SUB test suite.
This gets near 100% coverage of the PUB/SUB protocols.
The remaining uncovered bits will need to have a mock protocol that
runs slower, so that we can inject both back pressure, and also so
that we can inject "erroroneous" messages.
Diffstat (limited to 'src/protocol/pubsub0/CMakeLists.txt')
| -rw-r--r-- | src/protocol/pubsub0/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/protocol/pubsub0/CMakeLists.txt b/src/protocol/pubsub0/CMakeLists.txt index 23874662..8687de4e 100644 --- a/src/protocol/pubsub0/CMakeLists.txt +++ b/src/protocol/pubsub0/CMakeLists.txt @@ -21,4 +21,8 @@ nng_defines_if(NNG_PROTO_PUB0 NNG_HAVE_PUB0) nng_sources_if(NNG_PROTO_SUB0 sub.c xsub.c) nng_headers_if(NNG_PROTO_SUB0 nng/protocol/pubsub0/sub.h) -nng_defines_if(NNG_PROTO_SUB0 NNG_HAVE_SUB0)
\ No newline at end of file +nng_defines_if(NNG_PROTO_SUB0 NNG_HAVE_SUB0) + +nng_test(pub_test) +nng_test(sub_test) +nng_test(xsub_test) |
