Core
3.2
PHP API documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
PU_framework_dcp.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Dcp\Pu;
4
/**
5
* @author Anakeen
6
* @package Dcp\Pu
7
*/
8
9
//require_once 'PHPUnit/Framework.php';
10
11
12
$pubdir
=
"."
;
13
set_include_path(get_include_path() . PATH_SEPARATOR .
"$pubdir/DCPTEST:$pubdir/WHAT"
);
14
include_once (
"FDL/Class.Doc.php"
);
15
class
FrameworkDcp
extends
\PHPUnit_Framework_TestSuite
16
{
17
protected
function
setUp
()
18
{
19
20
global
$action
;
21
22
if
(!$action) {
23
WhatInitialisation
();
24
setSystemLogin
(
"admin"
);
25
}
26
}
27
28
protected
function
tearDown
()
29
{
30
31
}
32
33
34
}
35
?>
$action
global $action
Definition:
accountRefreshGroup.php:16
Dcp\Pu\$pubdir
$pubdir
Definition:
PU_framework_dcp.php:12
Dcp\Pu\FrameworkDcp
Definition:
PU_framework_dcp.php:15
WhatInitialisation
WhatInitialisation($session=null)
Definition:
Lib.Common.php:767
Dcp\Pu\FrameworkDcp\tearDown
tearDown()
Definition:
PU_framework_dcp.php:28
Dcp\Pu\FrameworkDcp\setUp
setUp()
Definition:
PU_framework_dcp.php:17
setSystemLogin
setSystemLogin($login)
Definition:
Lib.Common.php:786
← centre documentaire
© anakeen