db_truncate |
function |
includes/database/database.inc |
Returns a new TruncateQuery object for the active database. |
db_run_tasks |
function |
includes/install.inc |
Ensures the environment for a Backdrop database on a predefined connection. |
run_phpcs.sh |
file |
misc/zen-ci/run_phpcs.sh |
#!/bin/sh
##
# Run phpcs code standards tests.
#
# This utilizes the PHP_CodeSniffer (phpcs) library included as part of the
# contrib "coder" module.
##
# Set site path
SITEPATH="$HOME/www"
# Go to domain directory.
cd… |
run-tests.sh |
file |
scripts/run-tests.sh |
This script runs Backdrop tests from command line. |
truncate_utf8 |
function |
includes/unicode.inc |
Truncates a UTF-8-encoded string safely to a number of characters. |
TruncateQuery |
class |
includes/database/query.inc |
General class for an abstracted TRUNCATE operation. |
run_tests.php |
file |
misc/zen-ci/run_tests.php |
This script file is executed on the Zen.ci platform for running tests. |
CronRunTestCase |
class |
modules/system/tests/system.test |
|
drupal_cron_run |
function |
includes/drupal.inc |
Executes a cron run when called. |
system_run_cron |
function |
modules/system/system.admin.inc |
Menu callback: run cron manually. |
install_run_task |
function |
includes/install.core.inc |
Runs an individual installation task. |
backdrop_cron_run |
function |
includes/common.inc |
Executes a cron run when called. |
install_run_tasks |
function |
includes/install.core.inc |
Runs all tasks for the current installation request. |
views_ui_truncate |
function |
modules/views_ui/views_ui.module |
Truncate strings to a set length and provide a ... if they truncated. |
FilterUnitTestCase |
class |
modules/filter/tests/filter.test |
Unit tests for core filters. |
TruncateQuery_mysql |
class |
drivers/database_mysql/query.inc |
|
simpletest_run_tests |
function |
modules/simpletest/simpletest.module |
Actually runs tests. |
BackdropTestCase::run |
function |
modules/simpletest/backdrop_web_test_case.php |
Run all tests in this class. |
drupal_truncate_bytes |
function |
includes/drupal.inc |
Truncates a UTF-8-encoded string safely to a number of bytes. |
system_authorized_run |
function |
modules/system/system.module |
Setup and invoke an operation using authorize.php. |
TruncateQuery::$table |
property |
includes/database/query.inc |
The table to truncate. |
CronRunTestCase::setUp |
function |
modules/system/tests/system.test |
Sets up a Backdrop site for running functional and integration tests. |
TruncateQuery::execute |
function |
includes/database/query.inc |
Executes the TRUNCATE query. |
system_run_cron_submit |
function |
modules/system/system.admin.inc |
Submit callback; run cron. |
_search_index_truncate |
function |
modules/search/search.module |
Helper function for array_walk in search_index_split. |
MockTestConnection::run |
function |
modules/simpletest/tests/filetransfer.test |
|
authorize_run_operation |
function |
includes/authorize.inc |
Runs the operation specified in $_SESSION['authorize_operation']. |
backdrop_truncate_bytes |
function |
includes/unicode.inc |
Truncates a UTF-8-encoded string safely to a number of bytes. |
DatabaseTasks::runTasks |
function |
includes/install.inc |
Run database tasks and tests to see if Backdrop can run on the database. |
CronRunTestCase::$profile |
property |
modules/system/tests/system.test |
The profile to install as a basis for testing. |
system_run_automated_cron |
function |
modules/system/system.module |
Run the automated cron if enabled. |
TruncateQuery::__toString |
function |
includes/database/query.inc |
Implements PHP magic __toString method to convert the query to a string. |
TruncateQuery::__construct |
function |
includes/database/query.inc |
Constructs a TruncateQuery object. |
system_menu_tree_prune_tree |
function |
modules/system/system.menu.inc |
Prune a tree so that it begins at the specified level. |
INSTALL_TASK_RUN_IF_REACHED |
constant |
includes/install.core.inc |
Run the task on each installation request until the database is set up. |
DatabaseTasks::runTestQuery |
function |
includes/install.inc |
Run SQL tests to ensure the database can execute commands with the current user. |
BackdropErrorHandlerUnitTest |
class |
modules/simpletest/tests/error.test |
Tests Backdrop error and exception handlers. |
CronRunTestCase::testCronRun |
function |
modules/system/tests/system.test |
Test cron runs. |
BackdropWebTestCase::cronRun |
function |
modules/simpletest/backdrop_web_test_case.php |
Runs cron in the Backdrop installed by SimpleTest. |
DatabaseConnection::truncate |
function |
includes/database/database.inc |
Prepares and returns a TRUNCATE query object. |
installer_authorize_run_update |
function |
modules/installer/installer.authorize.inc |
Updates existing projects when invoked by authorize.php. |
DatabaseDeleteTruncateTestCase |
class |
modules/simpletest/tests/database_test.test |
Delete/Truncate tests. |
installer_authorize_run_install |
function |
modules/installer/installer.authorize.inc |
Installs a new project when invoked by authorize.php. |
INSTALL_TASK_RUN_IF_NOT_COMPLETED |
constant |
includes/install.core.inc |
Global flag to indicate that a task should be run on each installation
request that reaches it, until the database is set up and we are able to
record the fact that it already ran. |
FilterUnitTestCase::testFilterXSS |
function |
modules/filter/tests/filter.test |
Tests limiting allowed tags and XSS prevention. |
FilterUnitTestCase::testUrlFilter |
function |
modules/filter/tests/filter.test |
Tests the URL filter. |
UnicodeUnitTest::runTruncateTests |
function |
modules/simpletest/tests/unicode.test |
Runs test cases for helperTestTruncate(). |
FilterUnitTestCase::testHtmlFilter |
function |
modules/filter/tests/filter.test |
Tests filter settings, defaults, access restrictions and similar. |
CronRunTestCase::testAutomaticCron |
function |
modules/system/tests/system.test |
Ensure that the automatic cron run feature is working. |
BackdropErrorHandlerUnitTest::setUp |
function |
modules/simpletest/tests/error.test |
Sets up a Backdrop site for running functional and integration tests. |