Click or drag to resize
AutomatedTestsWithData Class
Base class for automated tests with data support
Inheritance Hierarchy

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

The AutomatedTestsWithData type exposes the following members.

Constructors
  NameDescription
Protected methodAutomatedTestsWithData
Top
Properties
  NameDescription
Protected propertyStatic memberConnectionAvailable
Indicates whether the db connection is available
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
Protected methodFakeTInfo(InfoFakeSettings)
Fakes the data for the given info
Protected methodFakeTInfo, TProvider(TProvider, Boolean)
Fakes the data for the given info and provider
Protected methodFakeLicense
Fakes the license for localhost according to related config key
Public methodFakeObjectTInfo
Fakes the data for the given info
Public methodFakeObjectsTInfo
Fakes the data for the given info
Public methodGetClassXmlSchemaT
Gets the class XML schema for the given type
Protected methodGetTestExtenders
Gets the current test extenders
(Inherited from AutomatedTests.)
Protected methodStatic memberGetTestGuid
Gets a predictable test GUID for the given ID
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
Public methodResetAppState
Resets the application state
(Inherited from AutomatedTests.)
Protected methodRunExtenderActionTCurrentLevel
Gets the current test extenders
(Inherited from AutomatedTests.)
Protected methodTestMilestone
Milestone
(Inherited from AutomatedTests.)
Public methodTestsWithDataFixtureSetup
Fixture setup
Public methodTestsWithDataFixtureTearDown
Fixture tear down
Public methodTestsWithDataSetup
Test setup
Public methodTestsWithDataTearDown
Cleans test base (Restore static context)
Top
See Also