UnitTests Class |
Namespace: CMS.Tests
public class UnitTests : AutomatedTestsWithData
The UnitTests type exposes the following members.
Name | Description | |
---|---|---|
UnitTests |
Constructor
| |
UnitTests(Boolean) | Obsolete.
Constructor
|
Name | Description | |
---|---|---|
CleanUpBase |
Cleans test base (Restore static context)
(Inherited from AutomatedTests.) | |
CleanUpFakes |
Cleans test base (Restore static context)
(Inherited from AutomatedTestsWithData.) | |
CleanUpFixtureBase |
Initializes the text fixture for all tests
(Inherited from AutomatedTests.) | |
Dispose |
Disposes the object
(Inherited from AutomatedTests.) | |
Fake |
Returns the entry which provides the fake methods from various modules
(Inherited from AutomatedTestsWithData.) | |
FakeTInfo, TProvider(TProvider, Boolean) |
Fakes the data for the given info and provider
(Inherited from AutomatedTestsWithData.) | |
FakeObjectTInfo |
Fakes the data for the given info
(Inherited from AutomatedTestsWithData.) | |
FakeObjectsTInfo |
Fakes the data for the given info
(Inherited from AutomatedTestsWithData.) | |
GetClassAndAssemblyCategories |
Get categories assigned to current test class and assembly.
(Inherited from AutomatedTests.) | |
GetClassXmlSchemaT |
Gets the class XML schema for the given type
(Inherited from AutomatedTestsWithData.) | |
InitBase |
Inits test base (Ensures static context, reset handlers)
(Inherited from AutomatedTests.) | |
InitFixtureBase |
Initializes the text fixture for all tests
(Inherited from AutomatedTests.) | |
InitTestFakes |
Initializes the test
| |
ResetAllFakes |
Resets all fakes
(Overrides AutomatedTestsWithDataResetAllFakes.) |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
LockContext | Obsolete.
If true, the test locks the context
(Inherited from AutomatedTests.) | |
UniqueStaticContext | 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.) |