public class AssetOwnerFactory extends Object
| Constructor and Description |
|---|
AssetOwnerFactory(String testCaseName,
String serverName,
String serverPlatformRootURL,
AuditLog auditLog)
Simple constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAsset(String userId)
Create an asset and return its GUID.
|
String |
getSchemaType(String userId,
String assetGUID)
Create a schemaType and return its GUID.
|
public AssetOwnerFactory(String testCaseName, String serverName, String serverPlatformRootURL, AuditLog auditLog) throws FVTUnexpectedCondition
testCaseName - calling test caseserverName - server nameserverPlatformRootURL - server locationauditLog - logging destinationFVTUnexpectedCondition - something went wrongpublic String getAsset(String userId) throws FVTUnexpectedCondition
userId - calling userFVTUnexpectedCondition - the test case failedpublic String getSchemaType(String userId, String assetGUID) throws FVTUnexpectedCondition
userId - calling userassetGUID - unique id of the schemaType managerFVTUnexpectedCondition - the test case failedCopyright © 2018–2020 ODPi. All rights reserved.