atoulme | b80b468 | 2009-01-22 13:08:36 +0000 | [diff] [blame] | 1 | <?php |
| 2 | /******************************************************************************* |
| 3 | * Copyright (c) 2007-2009 Intalio, Inc. |
| 4 | * All rights reserved. This program and the accompanying materials |
| 5 | * are made available under the terms of the Eclipse Public License v1.0 |
| 6 | * which accompanies this distribution, and is available at |
| 7 | * http://www.eclipse.org/legal/epl-v10.html |
| 8 | * |
| 9 | * Contributors: |
| 10 | * Antoine Toulme, Intalio Inc. |
| 11 | *******************************************************************************/ |
| 12 | // this file should be included in the spec files. |
| 13 | // it will open a connection to a test database. |
| 14 | |
| 15 | error_reporting(E_ALL); |
| 16 | ini_set('display_errors', '1'); |
| 17 | |
atoulme | 12882d5 | 2009-01-26 18:39:17 +0000 | [diff] [blame] | 18 | require_once(dirname(__FILE__) . "/../classes/system/dbconnection.class.php"); |
atoulme | b80b468 | 2009-01-22 13:08:36 +0000 | [diff] [blame] | 19 | |
atoulme | 12882d5 | 2009-01-26 18:39:17 +0000 | [diff] [blame] | 20 | DBConnection::connect(dirname(__FILE__) . '/test.ini'); |
atoulme | b80b468 | 2009-01-22 13:08:36 +0000 | [diff] [blame] | 21 | ?> |