#20 add soem debug info

pull/32/head
Geoffrey Merck 4 years ago
parent 7fad5bfbc3
commit ee4270940d

10
.vscode/tasks.json vendored

@ -26,10 +26,7 @@
"USE_GPSD=1",
"DStarGateway/dstargateway"
],
"group": {
"kind": "build",
"isDefault": true
},
"group": "build",
"problemMatcher": []
},
{
@ -94,7 +91,10 @@
"ENABLE_DEBUG=1",
"USE_GPSD=1"
],
"group": "build",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
}
]

@ -21,6 +21,7 @@
#include <string>
#include "AMBEFileReader.h"
#include "Log.h"
namespace AMBEFileReaderTests
{
@ -55,6 +56,10 @@ namespace AMBEFileReaderTests
{
std::string indexFile = std::string(std::filesystem::current_path()) + "/Tests/AMBEFileReader/fr_FR.indx";
std::string ambeFile = std::string(std::filesystem::current_path()) + "/Tests/AMBEFileReader/fr_FR.ambe";
CLog::logInfo("Reading file: %s", indexFile.c_str());
CLog::logInfo("Reading file: %s", ambeFile.c_str());
CAMBEFileReader reader(indexFile, ambeFile);
bool res = reader.read();
EXPECT_TRUE(res) << "read shall return true on existent files";

Loading…
Cancel
Save

Powered by TurnKey Linux.