main.cpp : Added ioTest().

This commit is contained in:
kpl 2020-02-13 11:31:05 -05:00
parent 7db4474dd5
commit b08ddaebcf

View File

@ -26,6 +26,8 @@
#include "cwMdns.h" #include "cwMdns.h"
#include "cwDnsSd.h" #include "cwDnsSd.h"
#include "cwEuCon.h" #include "cwEuCon.h"
#include "cwIo.h"
#include "cwIoTest.h"
//#include "cwNbMem.h" //#include "cwNbMem.h"
#include <iostream> #include <iostream>
@ -138,7 +140,7 @@ void audioBufTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::
void audioDevTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::audio::device::test( argc, argv ); } void audioDevTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::audio::device::test( argc, argv ); }
void audioDevAlsaTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::audio::device::alsa::report(); } void audioDevAlsaTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::audio::device::alsa::report(); }
void audioDevRpt( cw::object_t* cfg, int argc, const char* argv[] ) { cw::audio::device::report(); } void audioDevRpt( cw::object_t* cfg, int argc, const char* argv[] ) { cw::audio::device::report(); }
//void nbmemTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::nbmem::test(); } void ioTest( cw::object_t* cfg, int argc, const char* argv[] ) { cw::io::test(); }
void socketTest( cw::object_t* cfg, int argc, const char* argv[] ) void socketTest( cw::object_t* cfg, int argc, const char* argv[] )
{ {
@ -290,6 +292,7 @@ int main( int argc, const char* argv[] )
{ "dnssd", dnsSdTest }, { "dnssd", dnsSdTest },
{ "eucon", euConTest }, { "eucon", euConTest },
{ "dirEntry", dirEntryTest }, { "dirEntry", dirEntryTest },
{ "io", ioTest },
{ "stub", stubTest }, { "stub", stubTest },
{ nullptr, nullptr } { nullptr, nullptr }
}; };