1 /* 2 * PROJECT: ReactOS Automatic Testing Utility 3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+) 4 * PURPOSE: Class implementing a virtual test list for the tests to be ran 5 * COPYRIGHT: Copyright 2009 Colin Finck (colin@reactos.org) 6 */ 7 8 #include "precomp.h" 9 10 /** 11 * Constructs a CVirtualTestList object for an associated CTest-derived object. 12 * 13 * @param Test 14 * Pointer to a CTest-derived object, for which this test list shall serve. 15 */ CVirtualTestList(CTest * Test)16CVirtualTestList::CVirtualTestList(CTest* Test) 17 : CTestList(Test) 18 { 19 } 20 21 /** 22 * Interface to other classes for receiving information about the next test to be run. 23 * 24 * @return 25 * A pointer to a CTestInfo object, which contains all available information about the next test. 26 * The caller needs to free that object. 27 */ 28 CTestInfo* GetNextTestInfo()29CVirtualTestList::GetNextTestInfo() 30 { 31 return m_Test->GetNextTestInfo(); 32 } 33