function SimpleTestFunctionalTest::inCURL

Check if the test is being run from inside a CURL request.

8 calls to SimpleTestFunctionalTest::inCURL()
SimpleTestFunctionalTest::setUp in drupal-7.x/modules/simpletest/simpletest.test
Sets up a Drupal site for running functional and integration tests.
SimpleTestFunctionalTest::setUp in drupal-7.x/modules/simpletest/simpletest.test
Sets up a Drupal site for running functional and integration tests.
SimpleTestFunctionalTest::testInternalBrowser in drupal-7.x/modules/simpletest/simpletest.test
Test the internal browsers functionality.
SimpleTestFunctionalTest::testInternalBrowser in drupal-7.x/modules/simpletest/simpletest.test
Test the internal browsers functionality.
SimpleTestFunctionalTest::testUserAgentValidation in drupal-7.x/modules/simpletest/simpletest.test
Test validation of the User-Agent header we use to perform test requests.

... See full list

Archivo

drupal-7.x/modules/simpletest/simpletest.test, line 316
Tests for simpletest.module.

Class

SimpleTestFunctionalTest

Código

function inCURL() {
  return (bool) drupal_valid_test_ua();
}