메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. | |
리턴 | bool |
public static AreVersionsResultEqual ( string expect, |
||
expect | string | The expected version from GetFileVersions method. |
actual | The actual version from operation response. | |
리턴 | 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. |
리턴 |
public static ExtractErrorStringFromSoapFault ( System.Web.Services.Protocols.SoapException exception ) : string | ||
exception | System.Web.Services.Protocols.SoapException | The soap fault that returned from server. |
리턴 | string |
public static GetCurrentVersion ( |
||
versions | All the versions of file. | |
리턴 | string |
public static GetPreviousVersion ( |
||
versions | The versions of specified file. | |
리턴 | string |
public static GetSchemaStringFromXsdFile ( string schemaFilePath ) : string | ||
schemaFilePath | string | A parameter represents a XSD file path where the schema definitions should be loaded. |
리턴 | string |
public static Initialize ( ITestSite testSite ) : void | ||
testSite | ITestSite | The instance of ITestSite. |
리턴 | void |
public static IsCurrentVersionIncreased ( string oldVersion, string currentVersion ) : bool | ||
oldVersion | string | The old version. |
currentVersion | string | The current version. |
리턴 | 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. |
리턴 | bool |
public static IsVersionExist ( |
||
versions | All the versions of file. | |
version | string | The specified version number which will be checked. |
리턴 | bool |
public static ValidateAbsoluteUrlFormat ( |
||
url | The URL to be verified | |
리턴 | bool |