Merge pull request #11241 from mattwire/CRM-21392_find_groups_viewcomponents
[civicrm-core.git] / tests / phpunit / WebTest / Release / ReleaseTestCase.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
2fe49090 4 | CiviCRM version 5 |
6a488035 5 +--------------------------------------------------------------------+
8c9251b3 6 | Copyright CiviCRM LLC (c) 2004-2018 |
6a488035
TO
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 +--------------------------------------------------------------------+
d25dd0ee 25 */
6a488035 26
6a488035
TO
27require_once 'CiviTest/CiviSeleniumTestCase.php';
28
4cbe18b8 29/**
4f1f1f2a
CW
30 * name of the class doesn't end with Test on purpose - this way this
31 * webtest is not picked up by the suite, since it needs to run
32 * on specially prepare sandbox
33 * more details: http://wiki.civicrm.org/confluence/display/CRMDOC/Release+testing+script
4cbe18b8
EM
34 * Class WebTest_Release_ReleaseTestCase
35 */
6a488035
TO
36class WebTest_Release_ReleaseTestCase extends CiviSeleniumTestCase {
37
38 /**
eceb18cc 39 * Constructor.
6a488035
TO
40 *
41 * Because we are overriding the parent class constructor, we
42 * need to show the same arguments as exist in the constructor of
43 * PHPUnit_Framework_TestCase, since
44 * PHPUnit_Framework_TestSuite::createTest() creates a
45 * ReflectionClass of the Test class and checks the constructor
46 * of that class to decide how to set up the test.
47 *
e16033b4
TO
48 * @param string $name
49 * @param array $data
50 * @param string $dataName
2a6da8d7 51 * @param array $browser
6a488035 52 */
ae5ffbb7 53 public function __construct($name = NULL, array$data = array(), $dataName = '', array$browser = array()) {
6a488035
TO
54 parent::__construct($name, $data, $dataName, $browser);
55
56 require_once 'CiviTest/ReleaseTestSettings.php';
57 $this->settings = new ReleaseTestSettings();
58 }
59
6a488035
TO
60 protected function setUp() {
61 parent::setUp();
62 }
96025800 63
6a488035 64}