From faec132618ac44d412fcc991217c224d74589ae0 Mon Sep 17 00:00:00 2001 From: "kevin.larke" Date: Sun, 19 Apr 2020 13:02:25 -0400 Subject: [PATCH] main.cpp : Added test for cwSpScQueueTmpl. --- src/cwtest/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cwtest/main.cpp b/src/cwtest/main.cpp index b31008d..9cc5d38 100644 --- a/src/cwtest/main.cpp +++ b/src/cwtest/main.cpp @@ -10,6 +10,7 @@ #include "cwObject.h" #include "cwThread.h" #include "cwSpScBuf.h" +#include "cwSpScQueueTmpl.h" #include "cwThreadMach.h" #include "cwWebSock.h" #include "cwWebSockSvr.h" @@ -188,6 +189,7 @@ void objectTest( cw::object_t* cfg, int argc, const char* argv[] ) void timeTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::time::test(); } void threadTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::threadTest(); } void spscBuf( cw::object_t* cfg, int argc, const char* argv[] ) { cw::spsc_buf::test(); } +void spscQueueTmpl( cw::object_t* cfg, int argc, const char* argv[] ) { cw::testSpScQueueTmpl(); } void websockSrvTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::websockSrvTest(); } void serialPortSrvTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::serialPortSrvTest(); } void midiDeviceTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::midi::device::test();} @@ -417,6 +419,7 @@ int main( int argc, const char* argv[] ) { "time", timeTest }, { "thread", threadTest }, { "spscBuf", spscBuf }, + { "spscQueueTmpl", spscQueueTmpl }, { "websockSrv", websockSrvTest }, { "serialSrv", serialPortSrvTest }, { "midiDevice", midiDeviceTest },