C# Класс Microsoft.Protocols.TestSuites.MS_AUTHWS.TestSuiteBase

Наследование: Microsoft.Protocols.TestTools.TestClassBase
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
GenerateRandomString ( int size ) : string

This method is used to generate random string in the range A-Z with the specified string size.

GetCookieName ( int cookieIndex, CookieContainer cookieContainer ) : string

This method is used to get the specified cookie name exists on the server.

GetCookieNumber ( CookieContainer cookieContainer ) : int

This method is used to get count of the cookies exist on the server.

TestCleanup ( ) : void

Clean up the test.

TestInitialize ( ) : void

Initialize the test.

Приватные методы

Метод Описание
ClassCleanup ( ) : void
ClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext ) : void
GetFormsAuthenticationServiceUrl ( ) : string

This method is used to get the Forms Authentication Service Url on the server.

Описание методов

GenerateRandomString() защищенный Метод

This method is used to generate random string in the range A-Z with the specified string size.
protected GenerateRandomString ( int size ) : string
size int A parameter represents the generated string size.
Результат string

GetCookieName() защищенный Метод

This method is used to get the specified cookie name exists on the server.
protected GetCookieName ( int cookieIndex, CookieContainer cookieContainer ) : string
cookieIndex int The cookie index which name to be returned.
cookieContainer System.Net.CookieContainer The cookie container which contains the specified cookie.
Результат string

GetCookieNumber() защищенный Метод

This method is used to get count of the cookies exist on the server.
protected GetCookieNumber ( CookieContainer cookieContainer ) : int
cookieContainer System.Net.CookieContainer The cookie container which contains the specified cookie.
Результат int

TestCleanup() защищенный Метод

Clean up the test.
protected TestCleanup ( ) : void
Результат void

TestInitialize() защищенный Метод

Initialize the test.
protected TestInitialize ( ) : void
Результат void