Flexberry ORM ODataService 5.2.0-beta01
Класс NewPlatform.Flexberry.ORM.ODataService.Tests.Offline.OfflineAuditServiceIntegratedTest

ORM-integrated unit test for OfflineAuditService. Подробнее...

Граф наследования:NewPlatform.Flexberry.ORM.ODataService.Tests.Offline.OfflineAuditServiceIntegratedTest:
NewPlatform.Flexberry.ORM.ODataService.Tests.BaseIntegratedTest

Открытые члены

 OfflineAuditServiceIntegratedTest ()
 Initializes a new instance of the OfflineAuditServiceIntegratedTest class. Подробнее...
 
void TestSettingAuditFieldsForTypeWithEnabledAudit ()
 Unit test for AuditService.AddCreateAuditInformation and AuditService.AddEditAuditInformation. Tests correctness of setting of audit fields from IDataObjectWithAuditFields for the type with enabled audit. Подробнее...
 
- Открытые члены унаследованные от NewPlatform.Flexberry.ORM.ODataService.Tests.BaseIntegratedTest
void Dispose ()
 Deletes the temporary databases and perform other cleaning. Подробнее...
 

Защищенные члены

override MSSQLDataService CreateMssqlDataService (string connectionString)
 Creates the MSSQLDataService instance for temp database with offline audit service for testing. Подробнее...
 
override PostgresDataService CreatePostgresDataService (string connectionString)
 Creates the PostgresDataService instance for temp database with offline audit service for testing. Подробнее...
 
AuditService GetAuditServiceForTest ()
 Gets the offline audit service for the test. Подробнее...
 
- Защищенные члены унаследованные от NewPlatform.Flexberry.ORM.ODataService.Tests.BaseIntegratedTest
 BaseIntegratedTest (string tempDbNamePrefix, bool useGisDataService=false)
 Initializes a new instance of the BaseIntegratedTest class. Подробнее...
 
virtual OracleDataService CreateOracleDataService (string connectionString)
 Creates the OracleDataService instance for temp database. Подробнее...
 
virtual void Dispose (bool disposing)
 Deletes the temporary databases and perform other cleaning. Подробнее...
 

Дополнительные унаследованные члены

- Свойства унаследованные от NewPlatform.Flexberry.ORM.ODataService.Tests.BaseIntegratedTest
virtual string MssqlScript [get]
 
virtual string PostgresScript [get]
 
virtual string OracleScript [get]
 
IEnumerable< IDataService > DataServices [get]
 Data services for temp databases. Подробнее...
 

Подробное описание

ORM-integrated unit test for OfflineAuditService.

См. также
BaseOrmIntegratedTest

Конструктор(ы)

NewPlatform.Flexberry.ORM.ODataService.Tests.Offline.OfflineAuditServiceIntegratedTest.OfflineAuditServiceIntegratedTest ( )
inline

Initializes a new instance of the OfflineAuditServiceIntegratedTest class.

Методы

override MSSQLDataService NewPlatform.Flexberry.ORM.ODataService.Tests.Offline.OfflineAuditServiceIntegratedTest.CreateMssqlDataService ( string  connectionString)
inlineprotectedvirtual

Creates the MSSQLDataService instance for temp database with offline audit service for testing.

Аргументы
connectionStringThe connection string.
Возвращает
The MSSQLDataService instance.

Переопределяет метод предка NewPlatform.Flexberry.ORM.ODataService.Tests.BaseIntegratedTest.

override PostgresDataService NewPlatform.Flexberry.ORM.ODataService.Tests.Offline.OfflineAuditServiceIntegratedTest.CreatePostgresDataService ( string  connectionString)
inlineprotectedvirtual

Creates the PostgresDataService instance for temp database with offline audit service for testing.

Аргументы
connectionStringThe connection string.
Возвращает
The PostgresDataService instance.

Переопределяет метод предка NewPlatform.Flexberry.ORM.ODataService.Tests.BaseIntegratedTest.

AuditService NewPlatform.Flexberry.ORM.ODataService.Tests.Offline.OfflineAuditServiceIntegratedTest.GetAuditServiceForTest ( )
inlineprotected

Gets the offline audit service for the test.

Возвращает
Returns instance of the OfflineAuditService class that will be used for the test.
void NewPlatform.Flexberry.ORM.ODataService.Tests.Offline.OfflineAuditServiceIntegratedTest.TestSettingAuditFieldsForTypeWithEnabledAudit ( )
inline

Unit test for AuditService.AddCreateAuditInformation and AuditService.AddEditAuditInformation. Tests correctness of setting of audit fields from IDataObjectWithAuditFields for the type with enabled audit.