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_test_dcp_autoloader.php
Go to the documentation of this file.
1
<?php
2
/*
3
* @author Anakeen
4
* @package FDL
5
*/
6
7
namespace
Dcp\Pu;
8
/**
9
* @author Anakeen
10
* @package Dcp\Pu
11
*/
12
13
require_once
'PU_testcase_dcp_commonfamily.php'
;
14
15
class
TestAutoloader
extends
TestCaseDcpCommonFamily
16
{
17
/**
18
* import TST_DEFAULTFAMILY1 family
19
* @static
20
* @return string
21
*/
22
protected
static
function
getCommonImportFile
()
23
{
24
return
"PU_data_dcp_goodfamily3.ods"
;
25
}
26
/**
27
* @dataProvider dataDAutoloadFamily
28
*/
29
public
function
testAutoloadFamily
(
$className
)
30
{
31
32
$this->assertTrue(class_exists(
$className
) , sprintf(
"class not found %s"
,
$className
));
33
}
34
35
public
function
dataDAutoloadFamily
()
36
{
37
return
array(
38
array(
39
"Account"
40
) ,
41
array(
42
"Doc"
43
) ,
44
array(
45
"DocHisto"
46
) ,
47
array(
48
"_TST_GOODFAMAL1"
49
) ,
50
array(
51
"_TST_GOODFAMAL2"
52
) ,
53
array(
54
"_BASE"
55
) ,
56
array(
57
"_IUSER"
58
) ,
59
array(
60
"_DIR"
61
)
62
);
63
}
64
}
65
?>
Dcp\Pu\TestCaseDcpCommonFamily
Definition:
PU_testcase_dcp_commonfamily.php:15
Dcp\Pu\TestAutoloader\testAutoloadFamily
testAutoloadFamily($className)
Definition:
PU_test_dcp_autoloader.php:29
Dcp\Pu\TestAutoloader
Definition:
PU_test_dcp_autoloader.php:15
Dcp\Pu\TestAutoloader\dataDAutoloadFamily
dataDAutoloadFamily()
Definition:
PU_test_dcp_autoloader.php:35
$className
$className
Definition:
updatetitles.php:23
Dcp\Pu\TestAutoloader\getCommonImportFile
static getCommonImportFile()
Definition:
PU_test_dcp_autoloader.php:22
← centre documentaire
© anakeen