Author: tchemit Date: 2012-06-25 19:29:26 +0200 (Mon, 25 Jun 2012) New Revision: 3547 Url: http://chorem.org/repositories/revision/pollen/3547 Log: use better test configuration (just db config and nothing to do with aplication config) Added: trunk/pollen-persistence/src/test/resources/db.properties Removed: trunk/pollen-persistence/src/test/resources/pollen-fake.properties Added: trunk/pollen-persistence/src/test/resources/db.properties =================================================================== --- trunk/pollen-persistence/src/test/resources/db.properties (rev 0) +++ trunk/pollen-persistence/src/test/resources/db.properties 2012-06-25 17:29:26 UTC (rev 3547) @@ -0,0 +1,6 @@ +hibernate.show_sql=false +hibernate.hbm2ddl.auto=update +hibernate.dialect=org.hibernate.dialect.H2Dialect +hibernate.connection.username=sa +hibernate.connection.password=sa +hibernate.connection.driver_class=org.h2.Driver Deleted: trunk/pollen-persistence/src/test/resources/pollen-fake.properties =================================================================== --- trunk/pollen-persistence/src/test/resources/pollen-fake.properties 2012-06-25 17:28:57 UTC (rev 3546) +++ trunk/pollen-persistence/src/test/resources/pollen-fake.properties 2012-06-25 17:29:26 UTC (rev 3547) @@ -1,39 +0,0 @@ -### -# #%L -# Pollen :: Persistence -# $Id$ -# $HeadURL$ -# %% -# Copyright (C) 2009 - 2012 CodeLutin -# %% -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# #L% -### -hibernate.show_sql=false -hibernate.hbm2ddl.auto=update -hibernate.dialect=org.hibernate.dialect.H2Dialect -hibernate.connection.username=sa -hibernate.connection.password=sa -hibernate.connection.driver_class=org.h2.Driver - -# Migration configuration -topia.service.migration=org.nuiton.topia.migration.TopiaMigrationEngine -topia.service.migration.callback=org.chorem.pollen.entities.migration.PollenMigrationCallback -topia.service.migration.showSql=true - -siteUrl=http://meFake/pollen -upImgDir=${testDirectory}/.pollen/uploadedImages -feedDir=${testDirectory}/.pollen/feeds -tmpDir=${testDirectory}/.pollen/tmpDir -pollen.emails.directory=${testDirectory}/.pollen/emails