Server IP : 172.67.158.161 / Your IP : 18.191.117.57 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/cwd/wp-content/plugins/duplicator-pro/classes/utilities/tests/ |
Upload File : |
<?php defined("ABSPATH") or die(""); /** * Test to debug test manager * Never used in production * * Standard: PSR-2 * @link http://www.php-fig.org/psr/psr-2 * * @package DUP_PRO * @subpackage classes/utilities/test * @copyright (c) 2017, Snapcreek LLC * @license https://opensource.org/licenses/GPL-3.0 GNU Public License * @since 3.7.9 * */ class DUP_PRO_Test_package_build extends DUP_PRO_U_Test_abstract { public function clear() { } public function inizialize() { self::clear(); } /** * @param string $scope * @return [DUP_PRO_Test_result] */ public function test($scope) { $result = array(); $test = new DUP_PRO_U_Test_result(DUP_PRO_U_Test_result::TEST_WAIT, 'Package initialized', '', 'test_check_pack_init no_display'); $result[] = $test; $test = new DUP_PRO_U_Test_result(DUP_PRO_U_Test_result::TEST_WAIT, 'Package scan', '', 'test_check_pack_scan no_display'); $result[] = $test; $test = new DUP_PRO_U_Test_result(DUP_PRO_U_Test_result::TEST_WAIT, 'Package build start', '', 'test_check_pack_start no_display'); $result[] = $test; $test = new DUP_PRO_U_Test_result(DUP_PRO_U_Test_result::TEST_WAIT, 'Package db done', '', 'test_check_database no_display'); $result[] = $test; $test = new DUP_PRO_U_Test_result(DUP_PRO_U_Test_result::TEST_WAIT, 'Package archive done', '', 'test_check_archive no_display'); $result[] = $test; $test = new DUP_PRO_U_Test_result(DUP_PRO_U_Test_result::TEST_WAIT, 'Package storage done', '', 'test_check_storage no_display'); $result[] = $test; $test = new DUP_PRO_U_Test_result(DUP_PRO_U_Test_result::TEST_WAIT, 'Package build completed', '', 'test_check_completed no_display'); $result[] = $test; $test = new DUP_PRO_U_Test_result(DUP_PRO_U_Test_result::TEST_WAIT, 'Package cleanup', '', 'test_check_clean no_display'); $result[] = $test; return $result; } }