Click or drag to resize
UnitTests Class
Base class for integration tests
Inheritance Hierarchy

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

The UnitTests type exposes the following members.

Constructors
  NameDescription
Protected methodUnitTests
Constructor
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 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
(Overrides AutomatedTestsWithDataResetAllFakes.)
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
(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.)
Public methodUnitTestsSetUp
Initializes the test
Top
See Also