C# Class Microsoft.Protocols.TestSuites.MS_DWSS.MS_DWSSSUTControlAdapter

The implement of IMS_DWSSSUTControlAdapter interface.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_DWSSSUTControlAdapter
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
AddList ( string listName, int templateID, string baseUrl ) : bool

Creates a list in site collection.

DeleteList ( string listName, string baseUrl ) : bool

Delete the specified list in the base site.

Initialize ( ITestSite testSite ) : void

Initialize SUT control adapter.

Private Methods

Method Description
RedirectBaseUrl ( string baseUrl ) : void

Redirect the base URL of the List Web service.

Method Details

AddList() public method

Creates a list in site collection.
public AddList ( string listName, int templateID, string baseUrl ) : bool
listName string The name of list that will be created in site collection.
templateID int A 32-bit integer that specifies the list template to use.
baseUrl string The site URL for connecting with the specified Document Workspace site.
return bool

DeleteList() public method

Delete the specified list in the base site.
public DeleteList ( string listName, string baseUrl ) : bool
listName string The name of list which will be deleted.
baseUrl string The site URL for connecting with the specified Document Workspace site.
return bool

Initialize() public method

Initialize SUT control adapter.
public Initialize ( ITestSite testSite ) : void
testSite ITestSite The test site instance associated with the current adapter.
return void