SaveConfiguration method |
Applies to
TTestSuite
Declaration
Procedure SaveConfiguration(const iniFile :TIniFile; const section :string);
Description
The enabled/disabled state of each contained test will be saved to the given TIniFile under the given section name.
Parameters |
iniFile | The TIniFile to save the configuration to. |
section | The name of the section the configuration will be saved to. |
procedure TTestSuite.SaveConfiguration(const iniFile: TIniFile; const section :string); var i :integer; Tests :IInterfaceList; begin inherited SaveConfiguration(iniFile, section); Tests := self.Tests; for i := 0 to Tests.count-1 do (Tests[i] as ITest).SaveConfiguration(iniFile, section + '.' + self.GetName); End; |
|