Scroom 0.14-48-ga0fee447
Loading...
Searching...
No Matches
logger-tests.cc File Reference
#include <sstream>
#include <spdlog/sinks/ostream_sink.h>
#include <spdlog/spdlog.h>
#include <gtest/gtest.h>
#include <scroom/logger.hh>
Include dependency graph for logger-tests.cc:

Classes

class  LoggerTests
 

Functions

output erase (output.find_last_not_of("\r\n")+1)
 
 EXPECT_EQ (testMessage, output)
 

Variables

const std::string testMessage = "hello from logger"
 
auto output = oss.str()
 

Function Documentation

◆ erase()

output erase ( output.find_last_not_of("\r\n")+  1)

◆ EXPECT_EQ()

EXPECT_EQ ( testMessage  ,
output   
)

Variable Documentation

◆ output

auto output = oss.str()

◆ testMessage

const std::string testMessage = "hello from logger"