aboutsummaryrefslogtreecommitdiff
path: root/quotest/quotest.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-27 20:19:44 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-04 18:42:11 +0200
commita26147582ce8cbd6a5206aee4b59de98c9dfe9b6 (patch)
tree5206d0c2f8cbcb5baf7f8aeb5c1f0bda12e6e662 /quotest/quotest.cpp
parentdbc78d185c4bafe03b458f9eeb7ef3af35ce2eb2 (diff)
downloadlibquotient-a26147582ce8cbd6a5206aee4b59de98c9dfe9b6.tar.gz
libquotient-a26147582ce8cbd6a5206aee4b59de98c9dfe9b6.zip
DEFINE_SIMPLE_EVENT: support custom JSON keys
Diffstat (limited to 'quotest/quotest.cpp')
-rw-r--r--quotest/quotest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/quotest/quotest.cpp b/quotest/quotest.cpp
index b6c855bb..3860ae1e 100644
--- a/quotest/quotest.cpp
+++ b/quotest/quotest.cpp
@@ -524,7 +524,8 @@ bool TestSuite::checkFileSendingOutcome(const TestToken& thisTest,
return true;
}
-DEFINE_SIMPLE_EVENT(CustomEvent, RoomEvent, "quotest.custom", int, testValue)
+DEFINE_SIMPLE_EVENT(CustomEvent, RoomEvent, "quotest.custom", int, testValue,
+ "test_value")
TEST_IMPL(sendCustomEvent)
{