Gentics Portal.Node PHP API
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
All
Classes
Namespaces
Functions
Variables
Pages
tests
GWebTestCase.php
1
<?php
2
/**
3
* Gentics Portal.Node PHP
4
* Author & Copyright (c) by Gentics Software GmbH
5
* sales@gentics.com
6
* http://www.gentics.com
7
* Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8
* You must not use this software without a valid license agreement.
9
*
10
* Change the following URL based on your server configuration
11
* Make sure the URL ends with a slash so that we can use relative URLs in test cases
12
*/
13
define(
'TEST_BASE_URL'
,
'http://gportal.loc/'
);
14
15
/**
16
* The base class for functional test cases.
17
* In this class, we set the base URL for the test application.
18
* We also provide some common methods to be used by concrete test classes.
19
*/
20
class
GWebTestCase
extends
CWebTestCase
21
{
22
protected
$captureScreenshotOnFailure = TRUE;
23
protected
$screenshotUrl =
'http://127.0.0.1/selenium_screenshots'
;
24
protected
$screenshotPath =
'/var/www/selenium_screenshots'
;
25
26
/**
27
* Sets up before each test method runs.
28
* This mainly sets the base URL for the test application.
29
*/
30
protected
function
setUp
()
31
{
32
parent::setUp
();
33
$this->setBrowserUrl(TEST_BASE_URL);
34
$this->setBrowser(
'*firefox'
);
35
}
36
}
Generated on Thu Feb 6 2014 15:47:55 for Gentics Portal.Node PHP API by
1.8.1.2