public interface SeLionDataProvider
Modifier and Type | Method and Description |
---|---|
Object[][] |
getAllData()
Generates a two dimensional array for TestNG DataProvider from the data file.
|
Hashtable<String,Object> |
getDataAsHashtable()
A utility method to give output data as HashTable.
|
Iterator<Object[]> |
getDataByFilter(DataProviderFilter dataFilter)
Generates an object array in iterator as TestNG DataProvider from the data filtered per
dataFilter . |
Object[][] |
getDataByIndex(int[] indexes)
Generates an object array in iterator as TestNG DataProvider from the data filtered per given indexes.
|
Object[][] |
getDataByIndex(String indexes)
Generates an object array in iterator as TestNG DataProvider from the data filtered per given indexes string.
|
Object[][] |
getDataByKeys(String[] keys)
Generates a two dimensional array for TestNG DataProvider from the data representing a map of name value
collection filtered by keys.
|
Object[][] getAllData() throws IOException
IOException
Iterator<Object[]> getDataByFilter(DataProviderFilter dataFilter) throws IOException
dataFilter
.dataFilter
- an implementation class of DataProviderFilter
IOException
Object[][] getDataByIndex(String indexes) throws IOException
DataProviderException
when an unexpected error occurs during data provision from
data file.indexes
- The indexes for which data is to be fetched as a conforming string pattern.IOException
Object[][] getDataByIndex(int[] indexes) throws IOException
DataProviderException
when an unexpected error occurs during data provision from
data file.indexes
- The indexes for which data is to be fetched as a conforming string pattern.IOException
Object[][] getDataByKeys(String[] keys)
keys
- The string keys to filter the data.Copyright © 2016 PayPal Open Source. All rights reserved.