Method | Description | |
---|---|---|
AreVersionsResultEqual ( |
Verify whether the expected versions from GetVersions operation are equal to the responses of other operations.
|
|
AreVersionsResultEqual ( string expect, |
Verify whether the expected versions from GetFileVersions are equal to the actual operation response.
|
|
ConstructDocFileFullUrl ( |
Generate a doc full URL.
|
|
ExtractErrorStringFromSoapFault ( System.Web.Services.Protocols.SoapException exception ) : string |
This method is used to extract error string from soap fault.
|
|
GetCurrentVersion ( |
Get the current version.
|
|
GetPreviousVersion ( |
Get the latest version that is less than the current version.
|
|
GetSchemaStringFromXsdFile ( string schemaFilePath ) : string |
A method used to get the schema from XSD file. It is designed to read schema definition from XSD file.
|
|
Initialize ( ITestSite testSite ) : void |
Initialize the AdapterHelper class.
|
|
IsCurrentVersionIncreased ( string oldVersion, string currentVersion ) : bool |
Check whether the current version was increased.
|
|
IsExistElementInSoapBody ( string soapBody, string elementName ) : bool |
Verify whether the specified element exists in SOAP body.
|
|
IsVersionExist ( |
Verify whether the specified version exists in all the versions of the file.
|
|
ValidateAbsoluteUrlFormat ( |
This method is used to verify URL format.
|
Method | Description | |
---|---|---|
AreVersionNumberEqual ( Collection |
Verify whether the two version numbers are equal.
|
|
CompareVersionNumber ( string versionA, string versionB ) : int |
Compare the version numbers.
|
|
ConvertVersionDataArrayToVersionNumberCollection ( |
Convert an array of VersionData object to a version numbers collection.
|
|
ConvertVersionDataToString ( |
Convert an array of VersionData to string.
|
public static AreVersionsResultEqual ( |
||
expect | The expected versions from GetVersions operation response. | |
actual | The actual versions from other operations response. | |
return | bool |
public static AreVersionsResultEqual ( string expect, |
||
expect | string | The expected version from GetFileVersions method. |
actual | The actual version from operation response. | |
return | bool |
public static ConstructDocFileFullUrl ( |
||
requestUrl | A Uri indicates the absolute URL for the site collection. | |
docLibName | string | The name of library in which a document will be created. |
docName | string | The name of document that will be created. |
return |
public static ExtractErrorStringFromSoapFault ( System.Web.Services.Protocols.SoapException exception ) : string | ||
exception | System.Web.Services.Protocols.SoapException | The soap fault that returned from server. |
return | string |
public static GetCurrentVersion ( |
||
versions | All the versions of file. | |
return | string |
public static GetPreviousVersion ( |
||
versions | The versions of specified file. | |
return | string |
public static GetSchemaStringFromXsdFile ( string schemaFilePath ) : string | ||
schemaFilePath | string | A parameter represents a XSD file path where the schema definitions should be loaded. |
return | string |
public static Initialize ( ITestSite testSite ) : void | ||
testSite | ITestSite | The instance of ITestSite. |
return | void |
public static IsCurrentVersionIncreased ( string oldVersion, string currentVersion ) : bool | ||
oldVersion | string | The old version. |
currentVersion | string | The current version. |
return | bool |
public static IsExistElementInSoapBody ( string soapBody, string elementName ) : bool | ||
soapBody | string | A string value indicates the SOAP body. |
elementName | string | A string value indicates the element name. |
return | bool |
public static IsVersionExist ( |
||
versions | All the versions of file. | |
version | string | The specified version number which will be checked. |
return | bool |
public static ValidateAbsoluteUrlFormat ( |
||
url | The URL to be verified | |
return | bool |