diff --git a/PowerEditor/Test/FunctionList/php/unitTest b/PowerEditor/Test/FunctionList/php/unitTest index 6fe49bbc..32a4c600 100644 --- a/PowerEditor/Test/FunctionList/php/unitTest +++ b/PowerEditor/Test/FunctionList/php/unitTest @@ -14,6 +14,32 @@ ************************************************************************ */ require_once "../PagSeguroLibrary/PagSeguroLibrary.php"; + +function for123(){ + alert 'nothing'; +} + +abstract class PageGrille extends PageMotsBleus{ + abstract function GetTypeGrille() ; // blabla blabla + abstract function GetGrilleJSON($p_grilleId); // Retourn JSON + + function CleanStr($pStr){ + return str_replace ( "\\" , "" , $pStr); + } + + function GetJavascriptMajax() { + return "ABC"; + } +} + +function stringContainAsterisk_test1(){ + $target = '/path/to/files/*'; +} + +function stringContainAsterisk_test2(){ + $target = '/path/to/files/*.jpg'; +} + class NotificationListener { public static function main() @@ -86,4 +112,5 @@ class NotificationListener echo LogPagSeguro::getHtml($count); } } + NotificationListener::main(); \ No newline at end of file diff --git a/PowerEditor/Test/FunctionList/php/unitTest.expected.result b/PowerEditor/Test/FunctionList/php/unitTest.expected.result index 76a5e174..e062fcd3 100644 --- a/PowerEditor/Test/FunctionList/php/unitTest.expected.result +++ b/PowerEditor/Test/FunctionList/php/unitTest.expected.result @@ -1 +1 @@ -{"nodes":[{"leaves":["main","transactionNotification","authorizationNotification","preApprovalNotification","printLog"],"name":"NotificationListener"}],"root":"unitTest"} \ No newline at end of file +{"leaves":["for123()","stringContainAsterisk_test1()","stringContainAsterisk_test2()"],"nodes":[{"leaves":["GetTypeGrille","GetGrilleJSON","CleanStr","GetJavascriptMajax"],"name":"PageGrille"},{"leaves":["main","transactionNotification","authorizationNotification","preApprovalNotification","printLog"],"name":"NotificationListener"}],"root":"unitTest"} \ No newline at end of file diff --git a/PowerEditor/installer/functionList/php.xml b/PowerEditor/installer/functionList/php.xml index 693df268..76879366 100644 --- a/PowerEditor/installer/functionList/php.xml +++ b/PowerEditor/installer/functionList/php.xml @@ -12,40 +12,189 @@ - - - + - + - + - - + + + - - -