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

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

The IntegrationTests type exposes the following members.

Constructors
Methods
  NameDescription
Public methodCleanUpBase
Cleans test base (Restore static context)
(Inherited from AutomatedTests.)
Public methodCleanUpDatabase
Cleans up the test database
Public methodCleanUpFakes
Cleans test base (Restore static context)
(Inherited from AutomatedTestsWithData.)
Public methodCleanUpFixtureBase
Initializes the text fixture for all tests
(Inherited from AutomatedTests.)
Public methodDispose
Disposes the object
(Inherited from AutomatedTests.)
Public methodFake
Returns the entry which provides the fake methods from various modules
(Inherited from AutomatedTestsWithData.)
Protected methodFakeTInfo, TProvider(TProvider, Boolean)
Fakes the data for the given info and provider
(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.)
Protected methodGetClassAndAssemblyCategories
Get categories assigned to current test class and assembly.
(Inherited from AutomatedTests.)
Public methodGetClassXmlSchemaT
Gets the class XML schema for the given type
(Inherited from AutomatedTestsWithData.)
Public methodInitBase
Inits test base (Ensures static context, reset handlers)
(Inherited from AutomatedTests.)
Public methodInitDatabase
Sets up the test database
Public methodInitFixtureBase
Initializes the text fixture for all tests
(Inherited from AutomatedTests.)
Public methodResetAllFakes
Resets all fakes registered within the system
(Inherited from AutomatedTestsWithData.)
Protected methodSetupConnectionStrings
Sets up the connection strings for the test
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyLockContext Obsolete.
If true, the test locks the context
(Inherited from AutomatedTests.)
Public propertyTestOMSeparation
If true, the test will simulate the run in a context of separated OM database
Public propertyUniqueStaticContext Obsolete.
If true, the test uses it's own unique static context. Note that this only applies to static variables defined through CMSStatic and CMSStaticObject.
(Inherited from AutomatedTests.)
Top
See Also