2 * PROJECT: ReactOS Automatic Testing Utility
3 * LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
4 * PURPOSE: Class implementing a journaled test list for the Crash Recovery feature
5 * COPYRIGHT: Copyright 2009 Colin Finck <colin@reactos.org>
8 class CJournaledTestList
: public CTestList
12 size_t m_ListIterator
;
13 vector
<CTestInfo
> m_List
;
14 wstring m_JournalFile
;
16 void LoadJournalFile();
17 void OpenJournal(DWORD DesiredAccess
, bool CreateNew
= false);
18 void SerializeIntoJournal(const string
& String
);
19 void SerializeIntoJournal(const wstring
& String
);
20 void UnserializeFromBuffer(char** Buffer
, string
& Output
);
21 void UnserializeFromBuffer(char** Buffer
, wstring
& Output
);
23 void WriteInitialJournalFile();
26 CJournaledTestList(CTest
* Test
);
27 ~CJournaledTestList();
29 CTestInfo
* GetNextTestInfo();