Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
4 | | CiviCRM version 4.3 | | |
5 | +--------------------------------------------------------------------+ | |
6 | | Copyright CiviCRM LLC (c) 2004-2013 | | |
7 | +--------------------------------------------------------------------+ | |
8 | | This file is a part of CiviCRM. | | |
9 | | | | |
10 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
11 | | under the terms of the GNU Affero General Public License | | |
12 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
13 | | | | |
14 | | CiviCRM is distributed in the hope that it will be useful, but | | |
15 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
16 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
17 | | See the GNU Affero General Public License for more details. | | |
18 | | | | |
19 | | You should have received a copy of the GNU Affero General Public | | |
20 | | License along with this program; if not, contact CiviCRM LLC | | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
24 | +--------------------------------------------------------------------+ | |
25 | */ | |
26 | ||
6a488035 TO |
27 | require_once 'CiviTest/CiviSeleniumTestCase.php'; |
28 | ||
29 | // name of the class doesn't end with Test on purpose - this way this | |
30 | // webtest is not picked up by the suite, since it needs to run | |
31 | // on specially prepare sandbox | |
32 | // more details: http://wiki.civicrm.org/confluence/display/CRMDOC40/Release+testing+script+documentation | |
33 | class WebTest_Release_ReleaseTestCase extends CiviSeleniumTestCase { | |
34 | ||
35 | /** | |
36 | * Constructor | |
37 | * | |
38 | * Because we are overriding the parent class constructor, we | |
39 | * need to show the same arguments as exist in the constructor of | |
40 | * PHPUnit_Framework_TestCase, since | |
41 | * PHPUnit_Framework_TestSuite::createTest() creates a | |
42 | * ReflectionClass of the Test class and checks the constructor | |
43 | * of that class to decide how to set up the test. | |
44 | * | |
45 | * @param string $name | |
46 | * @param array $data | |
47 | * @param string $dataName | |
48 | */ | |
49 | function __construct($name = NULL, array$data = array( | |
50 | ), $dataName = '', array$browser = array()) { | |
51 | parent::__construct($name, $data, $dataName, $browser); | |
52 | ||
53 | require_once 'CiviTest/ReleaseTestSettings.php'; | |
54 | $this->settings = new ReleaseTestSettings(); | |
55 | } | |
56 | ||
6a488035 TO |
57 | protected function setUp() { |
58 | parent::setUp(); | |
59 | } | |
60 | } | |
61 |