Add test case for DontEchoStdinToStdoutRAII
This commit is contained in:
parent
e5d8bf82c3
commit
89ee45be0b
@ -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
|
||||
|
8
test/cpp-utils/io/DontEchoStdinToStdoutRAIITest.cpp
Normal file
8
test/cpp-utils/io/DontEchoStdinToStdoutRAIITest.cpp
Normal file
@ -0,0 +1,8 @@
|
||||
#include <cpp-utils/io/DontEchoStdinToStdoutRAII.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
using cpputils::DontEchoStdinToStdoutRAII;
|
||||
|
||||
TEST(DontEchoStdinToStdoutRAIITest, DoesntCrash) {
|
||||
DontEchoStdinToStdoutRAII a;
|
||||
}
|
Loading…
Reference in New Issue
Block a user