UnitTestUtilities Class

Assembly
UnitTest.dll
Namespace
Terrasoft.UnitTest
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["UnitTestUtilities"] class Type type-node

Syntax

public static class UnitTestUtilities

Properties

Name Value Summary
WorkspaceName string
static

Methods

Name Value Summary
AddLicOperation(TestUserConnection, string, string) void
static
CreateAndPrepareUserConnection() TestUserConnection
static
CreateColumn(string, EntitySchema, DataValueType) EntitySchemaColumn
static
CreateDbSecurityEngine(TestUserConnection) DBSecurityEngine
static
CreateEntity(UserConnection, Dictionary<string, object>, string, bool) void
static
CreateIntgTestUserConnection() TestUserConnection
static
CreateLookupColumn(string, EntitySchema, EntitySchema, DataValueTypeManager) EntitySchemaColumn
static
CreateLookupColumn(TestEntitySchemaManager, string, string, string) EntitySchemaColumn
static
CreateTestEntitySchemaManager(AppConnection) TestEntitySchemaManager
static
CreateTestUserConnection() TestUserConnection
static
GetSecureTextMockDataValueTypeManagerManager() DataValueTypeManager
static
GetTestDataWithStructure(EntitySchemaManager, Guid[]) TestData
static
GetTestDataWithStructure(EntitySchemaManager, string[]) TestData
static
MockLookupColumnsReferenceSchema(TestEntitySchemaManager, EntitySchema) void
static
MockLookupColumnsReferenceSchemas(TestEntitySchemaManager) void
static
RevokeLicOperation(TestUserConnection, string) void
static
SetCurrentUserTimeZone(SysUserInfo, TimeZoneInfo) void
static
SetupCurrentUser(TestUserConnection, Nullable<Guid>, string, Nullable<Guid>) void
static
SetupCurrentUser(TestUserConnection, TestEntitySchemaManager, Nullable<Guid>, string, Nullable<Guid>) void
static
SetupDb(TestUserConnection) void
static
SetupDbEditRights(DBSecurityEngine) void
static
SetupDummyExecutor(DBExecutor, TestData, string, object[]) void
static
SetupPartsOfDbExecutor(TestUserConnection) void
static
SetupSysWorkspace(TestUserConnection, Nullable<Guid>) SysWorkspace
static