CsvDataSource Methods |
The CsvDataSource type exposes the following members.
Name | Description | |
---|---|---|
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from DataSource.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ImportData |
Imports the data from the Comma-separated value (CSV) File specified in FileName property.
(Overrides DataSourceImportData(TestCase).) | |
ReadData |
Fetches the next row from the Data. This function can only be called when Headers and Data are imported.
(Inherited from DataSource.) | |
ResetCursor |
Resets the current cursor to line 0, This function will be called systematically by the DataDrivenTestCase before the test.
(Inherited from DataSource.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ToStringOrXml |
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.) | |
ToXmlString |
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.) |