| 48 | |
| 49 | |
| 50 | std::string makeTestFile(const std::string& filename) |
| 51 | { |
| 52 | TSTRING testfile = TwTestPath(filename); |
| 53 | cFileArchive filearch; |
| 54 | filearch.OpenReadWrite(testfile.c_str()); |
| 55 | filearch.Seek(0, cBidirArchive::BEGINNING); |
| 56 | filearch.WriteString(_T("This is a test")); |
| 57 | filearch.Close(); |
| 58 | |
| 59 | return testfile; |
| 60 | } |
| 61 | |
| 62 | //Tests the functions that are currently implemented in win32fsservices. |
| 63 | void TestReadDir() |