Add Tests
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#include "Test.h"
|
||||
#include <Logging.h>
|
||||
|
||||
|
||||
int main(int /*argc*/, char** /*argv*/)
|
||||
{
|
||||
Logging::OpenLog();
|
||||
Logging::SetLogMask(Logging::Severity::Info);
|
||||
|
||||
if (
|
||||
Network::Test::TestMulticastDNS()
|
||||
)
|
||||
{
|
||||
Logging::Log(Logging::Severity::Info, "Pass");
|
||||
Logging::CloseLog();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Logging::Log(Logging::Severity::Info, "Error");
|
||||
Logging::CloseLog();
|
||||
|
||||
return -1;
|
||||
}
|
||||
Reference in New Issue
Block a user