Add Tests

This commit is contained in:
2020-06-14 16:33:19 +02:00
parent c1951f0e4d
commit b22c2b2f4d
6 changed files with 236 additions and 2 deletions
+24
View File
@@ -0,0 +1,24 @@
#include "Test.h"
#include <Logging.h>
int main(int /*argc*/, char** /*argv*/)
{
Logging::OpenLog();
Logging::SetLogMask(Logging::Severity::Info);
if (
Http::Test::TestHttpClient()
)
{
Logging::Log(Logging::Severity::Info, "Pass");
Logging::CloseLog();
return 0;
}
Logging::Log(Logging::Severity::Info, "Error");
Logging::CloseLog();
return -1;
}