hibernated.tests

HibernateD - Object-Relation Mapping for D programming language, with interface similar to Hibernate.

Hibernate documentation can be found here: http://hibernate.org/docs

Source file hibernated/tests.d.

This module contains unit tests for functional testing on real DB.

Members

Classes

AccountType
class AccountType
Undocumented in source.
Address
class Address
Undocumented in source.
Customer
class Customer
Undocumented in source.
EMName
class EMName
Undocumented in source.
EMUser
class EMUser
Undocumented in source.
EvenMoreInfo
class EvenMoreInfo
Undocumented in source.
GeneratorTest
class GeneratorTest
Undocumented in source.
MoreInfo
class MoreInfo
Undocumented in source.
Person
class Person
Undocumented in source.
Role
class Role
Undocumented in source.
T1
class T1
Undocumented in source.
TypeTest
class TypeTest
Undocumented in source.
User
class User
Undocumented in source.

Functions

closeUnitTestDataSource
void closeUnitTestDataSource()
Undocumented in source. Be warned that the author may not have intended to support it.
getUnitTestDataSource
DataSource getUnitTestDataSource()

will return null if DB tests are disabled

getUnitTestDialect
Dialect getUnitTestDialect()
Undocumented in source. Be warned that the author may not have intended to support it.
recreateTestSchema
void recreateTestSchema(bool dropTables, bool createTables, bool fillTables)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

DB_TESTS_ENABLED
bool DB_TESTS_ENABLED;
Undocumented in source.
UNIT_TEST_CREATE_TABLES_SCRIPT
string[] UNIT_TEST_CREATE_TABLES_SCRIPT;
Undocumented in source.
UNIT_TEST_DROP_TABLES_SCRIPT
string[] UNIT_TEST_DROP_TABLES_SCRIPT;
Undocumented in source.
UNIT_TEST_FILL_TABLES_SCRIPT
string[] UNIT_TEST_FILL_TABLES_SCRIPT;
Undocumented in source.
_unitTestConnectionPool
DataSource _unitTestConnectionPool;
Undocumented in source.

Meta

Authors

Vadim Lopatin