Go to the documentation of this file.
   13 #include <gtest/gtest.h> 
   16 #include "../../include/ecl/devices/shared_file.hpp" 
   41     for (
unsigned int i = 0; i < 3; ++i ) {
 
   42         n = file.write(
"Thread\n",7);
 
   59 TEST(SharedFileTests,allEggsInTheBasket) {
 
   64     for (
unsigned int i = 0; i < 3; ++i ) {
 
   65         n = file.
write(
"Main\n",5);
 
   76 int main(
int argc, 
char **argv) {
 
   78     testing::InitGoogleTest(&argc,argv);
 
   79     return RUN_ALL_TESTS();
 
  
TEST(SharedFileTests, allEggsInTheBasket)
long write(const char &c)
Write a character to the buffer.
Frameworks created for the unit tests.
int main(int argc, char **argv)
@ New
Opens a new object (deletes existing objects).
Multi-instance (also thread-safe) output file device.
bool flush()
Flush the internal buffer.
Embedded control libraries.
ecl_devices
Author(s): Daniel Stonier 
autogenerated on Wed Mar 2 2022 00:16:45