move sentry code around and add a stub unittest for it

This commit is contained in:
Benjamin Sergeant
2019-10-25 14:46:10 -07:00
parent 7e67598360
commit 0e73fe51e9
8 changed files with 59 additions and 3 deletions

View File

@ -0,0 +1,30 @@
/*
* IXSentryClientTest.cpp
* Author: Benjamin Sergeant
* Copyright (c) 2019 Machine Zone. All rights reserved.
*/
#include "IXTest.h"
#include "catch.hpp"
#include <iostream>
#include <string.h>
using namespace ix;
namespace ix
{
TEST_CASE("sentry", "[sentry]")
{
SECTION("Attempt to perform nil")
{
#if 0
SentryClient sentryClient;
std::string stack = "";
auto frames = sentryClient.parseLuaStackTrace(stack);
REQUIRE(frames.size() > 0);
#endif
}
}
} // namespace ix