Click or drag to resize
WebAppInstanceTests Class
Base class for integration tests that require running web app instance.
Inheritance Hierarchy

Namespace: CMS.Tests
Assembly: CMS.Tests (in CMS.Tests.dll) Version: 9.0.0
Syntax
C#
public class WebAppInstanceTests : AutomatedTestsWithConnString

The WebAppInstanceTests type exposes the following members.

Constructors
  NameDescription
Public methodWebAppInstanceTests
Top
Properties
  NameDescription
Public propertyCurrentTestName
Current test name
(Inherited from AutomatedTests.)
Protected propertyStatic memberInstanceUrl
Url of requested web application.
Public propertyLastTestName
Last test name
(Inherited from AutomatedTests.)
Protected propertySite
Site that is running on the InstanceUrl.
Top
Methods
  NameDescription
Public methodAddExtender
Adds the test extender
(Inherited from AutomatedTests.)
Public methodCleanUpBase
Cleans test base (Restore static context)
(Inherited from AutomatedTests.)
Public methodCleanUpFixtureBase
Initializes the text fixture for all tests
(Inherited from AutomatedTests.)
Public methodDispose
Disposes the object
(Inherited from AutomatedTests.)
Protected methodEndApplication
Performs application end
(Inherited from AutomatedTests.)
Public methodFake
Returns the entry which provides the fake methods from various modules
(Inherited from AutomatedTestsWithData.)
Protected methodFakeTInfo(InfoFakeSettings)
Fakes the data for the given info
(Inherited from AutomatedTestsWithData.)
Protected methodFakeTInfo, TProvider(TProvider, Boolean)
Fakes the data for the given info and provider
(Inherited from AutomatedTestsWithData.)
Protected methodFakeLicense
Fakes the license for localhost according to related config key
(Inherited from AutomatedTestsWithData.)
Public methodFakeObjectTInfo
Fakes the data for the given info
(Inherited from AutomatedTestsWithData.)
Public methodFakeObjectsTInfo
Fakes the data for the given info
(Inherited from AutomatedTestsWithData.)
Public methodGetClassXmlSchemaT
Gets the class XML schema for the given type
(Inherited from AutomatedTestsWithData.)
Protected methodGetTestApplicationSettings
Reads settings from test application configuration file.
(Inherited from AutomatedTestsWithConnString.)
Protected methodGetTestExtenders
Gets the current test extenders
(Inherited from AutomatedTests.)
Protected methodInitApplication
Performs application initialization if not already initialized
(Inherited from AutomatedTests.)
Public methodInitBase
Inits test base (Ensures static context, reset handlers)
(Inherited from AutomatedTests.)
Public methodInitFixtureBase
Initializes the text fixture for all tests
(Inherited from AutomatedTests.)
Public methodInitWebAppInstanceTestFixture
Initializes web app instance test fixture.
Public methodInitWebAppInstanceTests
Initializes web app instance test.
Public methodResetAllFakes
Resets all fakes registered within the system
(Inherited from AutomatedTestsWithData.)
Public methodResetAppState
Resets the application state
(Inherited from AutomatedTests.)
Protected methodRunExtenderActionTCurrentLevel
Gets the current test extenders
(Inherited from AutomatedTests.)
Protected methodSetupConnectionStrings
Sets up the connection strings for the test
(Overrides AutomatedTestsWithConnStringSetupConnectionStrings.)
Protected methodTestMilestone
Milestone
(Inherited from AutomatedTests.)
Public methodTestsWithConnStringFixtureSetup
Sets up the test database before all tests
(Inherited from AutomatedTestsWithConnString.)
Public methodTestsWithConnStringFixtureTearDown
Test fixture tear down
(Inherited from AutomatedTestsWithConnString.)
Public methodTestsWithConnStringSetup
Sets up the test database
(Inherited from AutomatedTestsWithConnString.)
Public methodTestsWithConnStringTearDown
Cleans up the test database
(Inherited from AutomatedTestsWithConnString.)
Public methodTestsWithDataFixtureSetup
Fixture setup
(Inherited from AutomatedTestsWithData.)
Public methodTestsWithDataFixtureTearDown
Fixture tear down
(Inherited from AutomatedTestsWithData.)
Public methodTestsWithDataSetup
Test setup
(Inherited from AutomatedTestsWithData.)
Public methodTestsWithDataTearDown
Cleans test base (Restore static context)
(Inherited from AutomatedTestsWithData.)
Top
See Also