PrintBufferData reads the backup file created by Test framework to store test data during execution of a test. RunTest creates the backup file when you specify the ba
option. The syntax of PrintBufferData is:
PrintBufferData FileName
You cannot choose a name for backup files. RunTest automatically creates a file name with the format, <TestName>_temp
when the -ba
option is specified. For example, the following command automatically creates a backup file called TSimpleObjectTest_temp
to hold all test data generated by TSimpleObjectTest during its execution.
RunTest -ba -t TSimpleObjectTest SampleObjectTestLIb
Again, only data streamed by the test into TTieredTextBuffer via OutputTextStream() is saved.
To read the file, issue the command:
PrintBufferData TSimpleObjectTest_temp
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker