Go to the source code of this file.
◆ TEST_F() [1/3]
Definition at line 90 of file filestreamtest.cpp.
90 {
91 FILE *fp = fopen(filename_, "rb");
93 char buffer[65536];
95
96 for (size_t i = 0; i < length_; i++) {
100 }
101
104
105 fclose(fp);
106}
File byte stream for input using fread().
#define EXPECT_EQ(val1, val2)
#define ASSERT_TRUE(condition)
◆ TEST_F() [2/3]
Definition at line 108 of file filestreamtest.cpp.
108 {
109 FILE *fp = fopen(abcde_, "rb");
111 char buffer[4];
113
114 const char* c =
s.Peek4();
115 for (int i = 0; i < 4; i++)
118
119 for (int i = 0; i < 5; i++) {
124 }
128
129 fclose(fp);
130}
◆ TEST_F() [3/3]
Definition at line 132 of file filestreamtest.cpp.
132 {
133 char filename[L_tmpnam];
135
136 char buffer[65536];
138 for (size_t i = 0; i < length_; i++)
141 fclose(fp);
142
143
144 fp = fopen(filename, "rb");
146
147 for (size_t i = 0; i < length_; i++)
149
151 fclose(fp);
152
153
155}
Wrapper of C file stream for output using fwrite().
bool remove(const path &p)
FILE * TempFile(char *filename)