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

Roland Mas lolando at libremir.placard.fr.eu.org
Tue Nov 9 20:59:24 CET 2010


Author: lolando
Date: 2010-11-09 20:59:24 +0100 (Tue, 09 Nov 2010)
New Revision: 11490

Added:
   trunk/tests/func/config.php.ffsandbox
Log:
Added config file for running testsuite on the ffsandbox VM

Added: trunk/tests/func/config.php.ffsandbox
===================================================================
--- trunk/tests/func/config.php.ffsandbox	                        (rev 0)
+++ trunk/tests/func/config.php.ffsandbox	2010-11-09 19:59:24 UTC (rev 11490)
@@ -0,0 +1,53 @@
+<?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');
+define ('SELENIUM_RC_DIR', '/tmp/');
+
+// The forge's hostname
+define ('HOST', 'forge.local');
+
+// Base URL where FusionForge is installed
+define ('ROOT', '');
+
+// Database connection parameters.
+define('DB_TYPE', 'pgsql');         // Values: mysql, pgsql
+define('DB_NAME', getenv('DB_NAME'));
+define('DB_INIT_CMD', "/root/scripts/reload-db.sh > /dev/null 2> /dev/null");
+
+// this should be an existing user of the forge together with its password
+// (the password should be different from 'myadmin')
+define ('EXISTING_USER', 'admin');
+define ('PASSWD_OF_EXISTING_USER', 'myadmin');
+
+// Where CLI is installed
+define ('CLI_CMD', '/opt/gforge/acde/tools/gforge-cli/gforge.php');
+
+// Where Java CLI is installed
+define ('JAGOSI_CMD', '/opt/gforge/acde/tools/gforge-java-cli/');
+
+// Enter true when file is configured.
+define('CONFIGURED', getenv('CONFIGURED'));
+
+//
+// DON'T MODIFY BELOW THIS LINE UNLESS YOU KNOW WHAT YOU DO
+//
+
+// These are deduced from the previous definitions.
+
+// URL to access the application
+define ('URL', 'http://'.HOST.'/');
+
+// WSDL of the forges SOAP API
+define ('WSDL_URL', URL.'soap/index.php?wsdl');
+?>




More information about the Fusionforge-commits mailing list