Class XMLTestDataProvider
java.lang.Object
org.alfresco.utility.data.provider.XMLTestDataProvider
Provides test data providers based on XML input file
This class is working in correlation with
XMLDataConfig annotation- Author:
- Paul Brodner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object[][]getAllData(Method m) Return the data for your environment CallingXMLTestData#create()will generate via CMIS entire structure in alfrescoGet all Queries from the input xml "*.xml" used as input data in testsGet all Folder Models from the input xml "*.xml" used as input data in tests
-
Constructor Details
-
XMLTestDataProvider
public XMLTestDataProvider()
-
-
Method Details
-
getSitesData
Get all Folder Models from the input xml "*.xml" used as input data in tests- Returns:
- iterator over the list of List
sites data - Throws:
Exception
-
getUsersData
- Throws:
Exception
-
getQueriesData
Get all Queries from the input xml "*.xml" used as input data in tests- Returns:
- iterator over the list of folder model objects
- Throws:
Exception
-
getAllData
Return the data for your environment CallingXMLTestData#create()will generate via CMIS entire structure in alfresco- Returns:
XMLTestData- Throws:
Exception
-