Add test case for DontEchoStdinToStdoutRAII

This commit is contained in:
Sebastian Messmer 2018-05-19 15:48:16 -07:00
parent e5d8bf82c3
commit 89ee45be0b
2 changed files with 9 additions and 0 deletions

View File

@ -21,6 +21,7 @@ set(SOURCES
tempfile/TempDirTest.cpp
network/CurlHttpClientTest.cpp
network/FakeHttpClientTest.cpp
io/DontEchoStdinToStdoutRAIITest.cpp
io/ConsoleIncludeTest.cpp
io/ConsoleTest_AskYesNo.cpp
io/ConsoleTest_Print.cpp

View File

@ -0,0 +1,8 @@
#include <cpp-utils/io/DontEchoStdinToStdoutRAII.h>
#include <gtest/gtest.h>
using cpputils::DontEchoStdinToStdoutRAII;
TEST(DontEchoStdinToStdoutRAIITest, DoesntCrash) {
DontEchoStdinToStdoutRAII a;
}