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: 8.2.23
Syntax
C#
public abstract class AutomatedTestsWithData : AutomatedTests

The AutomatedTestsWithData type exposes the following members.

Constructors
  NameDescription
Protected methodAutomatedTestsWithData
Top
Methods
  NameDescription
Public methodCleanUpBase
Cleans test base (Restore static context)
(Inherited from AutomatedTests.)
Public methodCleanUpFakes
Cleans test base (Restore static context)
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
Protected methodFakeTInfo
Fakes the data for the given info
Protected methodFakeTInfo, TProvider(TProvider, Boolean)
Fakes the data for the given info and provider
Public methodFakeObjectTInfo
Fakes the data for the given info
Public methodFakeObjectsTInfo
Fakes the data for the given info
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
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
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 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