[Fusionforge-commits] r7473 - trunk/tests/func

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Apr 22 19:06:41 CEST 2009


Author: aljeux
Date: 2009-04-22 19:06:41 +0200 (Wed, 22 Apr 2009)
New Revision: 7473

Added:
   trunk/tests/func/config.php.sample
Removed:
   trunk/tests/func/config.php
Modified:
   trunk/tests/func/README.TXT
Log:
Moved configuration file to .sample

Modified: trunk/tests/func/README.TXT
===================================================================
--- trunk/tests/func/README.TXT	2009-04-22 17:06:35 UTC (rev 7472)
+++ trunk/tests/func/README.TXT	2009-04-22 17:06:41 UTC (rev 7473)
@@ -17,7 +17,12 @@
 On a debian system using iceweasel and java in /usr/lib/j2re1.5-sun:
 PATH=/usr/lib/j2re1.5-sun/bin:/usr/lib/iceweasel:/bin java -jar selenium-server.jar -interactive
 
-Second step, before launching tests, edit file 'tests/config.php'.
+Second step, before launching tests, copy file 'config.php.sample'
+to 'config.php' and edit the file.
+
+cp config.php.sample config.php
+vi config.php
+
 Once configured, run the test suite.
 
 # For PostgreSQL: (NOTE: seems no needed)

Deleted: trunk/tests/func/config.php
===================================================================
--- trunk/tests/func/config.php	2009-04-22 17:06:35 UTC (rev 7472)
+++ trunk/tests/func/config.php	2009-04-22 17:06:41 UTC (rev 7473)
@@ -1,30 +0,0 @@
-<?php
-/*
- * DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER 
- * DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER 
- * 
- * Running the test suite will drop your current database, this is
- * to be used only on test environment.
- * 
- * DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER 
- * DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER 
- */
-
-// Host where selenium-rc is running
-define ('SELENIUM_RC_HOST', 'localhost');
-
-// URL to access the application
-define ('URL', 'http://test.local/');
-
-// Base URL where FusionForge is installed
-define ('BASE', '');
-
-// Database connection parameters.
-define('DB_TYPE', 'pgsql');         // Values: mysql, pgsql
-define('DB_NAME', 'fforge');
-define('DB_USER', 'gforge');
-define('DB_PASSWORD', '@@FFDB_PASS@@');
-
-// Enter true when file is configured.
-define('CONFIGURED', false);
-?>

Copied: trunk/tests/func/config.php.sample (from rev 7472, trunk/tests/func/config.php)
===================================================================
--- trunk/tests/func/config.php.sample	                        (rev 0)
+++ trunk/tests/func/config.php.sample	2009-04-22 17:06:41 UTC (rev 7473)
@@ -0,0 +1,30 @@
+<?php
+/*
+ * DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER 
+ * DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER 
+ * 
+ * Running the test suite will drop your current database, this is
+ * to be used only on test environment.
+ * 
+ * DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER 
+ * DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER DANGER 
+ */
+
+// Host where selenium-rc is running
+define ('SELENIUM_RC_HOST', 'localhost');
+
+// URL to access the application
+define ('URL', 'http://test.local/');
+
+// Base URL where FusionForge is installed
+define ('BASE', '');
+
+// Database connection parameters.
+define('DB_TYPE', 'pgsql');         // Values: mysql, pgsql
+define('DB_NAME', 'fforge');
+define('DB_USER', 'gforge');
+define('DB_PASSWORD', '@@FFDB_PASS@@');
+
+// Enter true when file is configured.
+define('CONFIGURED', false);
+?>




More information about the Fusionforge-commits mailing list