Update of /cvsroot/dithaka/base/src-test/misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21768/src-test/misc
Added Files:
hibernate_util.properties test.properties hibernate.properties
Log Message:
Added src-test dir with Testcase: MailForumTest. This is to test the case sensitivity of e-mail addresses and forum names.
Uses lower function in the select staments of the user e-mail addresses and forum names to make the queries case insensitive
--- NEW FILE: hibernate.properties ---
hibernate.connection.username coefficient
hibernate.connection.password coefficient
hibernate.show_sql true
#hibernate.dialect net.sf.hibernate.dialect.HSQLDialect
hibernate.dialect net.sf.hibernate.dialect.PostgreSQLDialect
#hibernate.connection.driver_class org.hsqldb.jdbcDriver
#hibernate.connection.url jdbc:hsqldb:mem:test
hibernate.connection.driver_class org.postgresql.Driver
hibernate.connection.url jdbc:postgresql://localhost/coefficient
hibernate.connection.pool_size 0
--- NEW FILE: test.properties ---
mailSmptHost = pvzmobile.dhcp.icomtek.csir.co.za
alias = pv...@co...
real = pv...@cs...
username = pvzyl
list_forum_name = tes...@pv...
testUserRealMailAddressCaseSensitivity_alias = PV...@co...
testForumMailAddressCaseSensitivity_forumName = TES...@pv...
--- NEW FILE: hibernate_util.properties ---
## This is a properties file for the HibernateUtil
## Defines the classes that I want to have configured in
## Hibernate at initialization
class_1=org.dithaka.metadata.Resource
class_2=org.dithaka.metadata.Statement
class_3=org.dithaka.messaging.Message
class_4=org.dithaka.messaging.Conversation
class_5=org.dithaka.messaging.Forum
class_6=org.dithaka.messaging.UserMailPreferences
class_7=org.dithaka.messaging.ForumChampion
class_8=org.dithaka.messaging.AliasUser
class_9=org.dithaka.messaging.MailForumSettings
## Defines the JTA Transaction Managers location by default
## it is java:/TransactionManager
#jta_transaction_manager=java:/TransactionManager
## Defines whether the HibernateUtil should create tables
## for configured objects that do not yet have a table
## This requires a patched jar of Hibernate, and defaults
## to true.
create_tables=true
|