Method | Description | |
---|---|---|
CreateContentType ( string contentTypeDisplayName ) : string |
Create a ContentType.
|
|
GenerateContentTypeProperties ( ) : UpdateContentTypeContentTypeProperties |
Generate contentType properties.
|
|
GenerateDeleteFieldsDefinition ( ) : |
Get a list of fields to be deleted on the content type.
|
|
GenerateInvalidDisplayName ( CONST_CHARS invalidString ) : string |
Generate invalid display name for operation CreateContentType.
|
|
GenerateInvalidUrl ( string relatedInvalidUrl ) : string |
Get invalid URL.
|
|
GenerateNewFields ( ) : |
Generate newField parameter with specified newFieldOption.
|
|
GenerateNewFieldsForUpdate ( ) : |
Generate newField parameter with specified newFieldOption.
|
|
GenerateRandomString ( int size ) : string |
This method is used to generate random string in the range A-Z with the specified string size.
|
|
GenerateUpdateFields ( ) : |
Generate updateFields parameter with specified newFieldOption.
|
|
GetErrorCode ( string errorString ) : string |
Extract error code from error string.
|
|
GetSoapVersion ( ) : SoapProtocolVersion |
Get Soap version.
|
|
InitPrivateVariables ( ) : void |
Initialize variables using for test case class.
|
|
InitUpdateColumn ( ) : void |
Do initialization for Updated columns with new fields.
|
|
TestCleanup ( ) : void |
Clean up the test.
|
Method | Description | |
---|---|---|
ClassCleanup ( ) : void | ||
ClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext ) : void | ||
TestCaseInitialize ( ) : void |
protected CreateContentType ( string contentTypeDisplayName ) : string | ||
contentTypeDisplayName | string | Display name will store in server. |
return | string |
protected GenerateContentTypeProperties ( ) : UpdateContentTypeContentTypeProperties | ||
return | UpdateContentTypeContentTypeProperties |
protected GenerateDeleteFieldsDefinition ( ) : |
||
return |
protected GenerateInvalidDisplayName ( CONST_CHARS invalidString ) : string | ||
invalidString | CONST_CHARS | InValid sign. |
return | string |
protected GenerateInvalidUrl ( string relatedInvalidUrl ) : string | ||
relatedInvalidUrl | string | Invalid related URL |
return | string |
protected GenerateNewFields ( ) : |
||
return |
protected GenerateNewFieldsForUpdate ( ) : |
||
return |
protected GenerateRandomString ( int size ) : string | ||
size | int | A parameter represents the generated string size. |
return | string |
protected GenerateUpdateFields ( ) : |
||
return |
protected GetErrorCode ( string errorString ) : string | ||
errorString | string | An error string from soap exception. |
return | string |
protected GetSoapVersion ( ) : SoapProtocolVersion | ||
return | SoapProtocolVersion |