mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-05-30 00:55:12 +00:00
Initial commit
This commit is contained in:
commit
c5e731d8ae
2773 changed files with 600767 additions and 0 deletions
11
drupal7/web/modules/system/tests/cron_queue_test.info
Normal file
11
drupal7/web/modules/system/tests/cron_queue_test.info
Normal file
|
@ -0,0 +1,11 @@
|
|||
name = Cron Queue test
|
||||
description = 'Support module for the cron queue runner.'
|
||||
package = Testing
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
hidden = TRUE
|
||||
|
||||
; Information added by Drupal.org packaging script on 2024-03-06
|
||||
version = "7.100"
|
||||
project = "drupal"
|
||||
datestamp = "1709734591"
|
27
drupal7/web/modules/system/tests/cron_queue_test.module
Normal file
27
drupal7/web/modules/system/tests/cron_queue_test.module
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_cron_queue_info().
|
||||
*/
|
||||
function cron_queue_test_cron_queue_info() {
|
||||
$queues['cron_queue_test_exception'] = array(
|
||||
'worker callback' => 'cron_queue_test_exception',
|
||||
);
|
||||
$queues['cron_queue_test_callback'] = array(
|
||||
'worker callback' => array('CronQueueTestCallbackClass', 'foo'),
|
||||
);
|
||||
|
||||
return $queues;
|
||||
}
|
||||
|
||||
function cron_queue_test_exception($item) {
|
||||
throw new Exception('That is not supposed to happen.');
|
||||
}
|
||||
|
||||
class CronQueueTestCallbackClass {
|
||||
|
||||
static public function foo() {
|
||||
// Do nothing.
|
||||
}
|
||||
|
||||
}
|
11
drupal7/web/modules/system/tests/system_cron_test.info
Normal file
11
drupal7/web/modules/system/tests/system_cron_test.info
Normal file
|
@ -0,0 +1,11 @@
|
|||
name = System Cron Test
|
||||
description = 'Support module for testing the system_cron().'
|
||||
package = Testing
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
hidden = TRUE
|
||||
|
||||
; Information added by Drupal.org packaging script on 2024-03-06
|
||||
version = "7.100"
|
||||
project = "drupal"
|
||||
datestamp = "1709734591"
|
15
drupal7/web/modules/system/tests/system_cron_test.module
Normal file
15
drupal7/web/modules/system/tests/system_cron_test.module
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Helper module for CronRunTestCase::testCronCacheExpiration().
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_flush_caches().
|
||||
*/
|
||||
function system_cron_test_flush_caches() {
|
||||
// Set a variable to indicate that this hook was invoked.
|
||||
variable_set('system_cron_test_flush_caches', 1);
|
||||
return array();
|
||||
}
|
BIN
drupal7/web/modules/system/tests/system_test_archive.tar.gz
Normal file
BIN
drupal7/web/modules/system/tests/system_test_archive.tar.gz
Normal file
Binary file not shown.
BIN
drupal7/web/modules/system/tests/system_test_archive_abs.tgz
Normal file
BIN
drupal7/web/modules/system/tests/system_test_archive_abs.tgz
Normal file
Binary file not shown.
BIN
drupal7/web/modules/system/tests/system_test_archive_rel.tar
Normal file
BIN
drupal7/web/modules/system/tests/system_test_archive_rel.tar
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue