Click or drag to resize
AutomatedTestsWithConnString Class
Base class for tests that use connection string from config file
Inheritance Hierarchy

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

The AutomatedTestsWithConnString type exposes the following members.

Constructors
  NameDescription
Protected methodAutomatedTestsWithConnString
Top
Properties
  NameDescription
Public propertyCurrentTestName
Current test name
(Inherited from AutomatedTests.)
Public propertyLastTestName
Last test name
(Inherited from AutomatedTests.)
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.
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 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
Protected methodTestMilestone
Milestone
(Inherited from AutomatedTests.)
Public methodTestsWithConnStringFixtureSetup
Sets up the test database before all tests
Public methodTestsWithConnStringFixtureTearDown
Test fixture tear down
Public methodTestsWithConnStringSetup
Sets up the test database
Public methodTestsWithConnStringTearDown
Cleans up the test database
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