protected function DrupalWebTestCase::curlClose

Close the cURL handler and unset the handler.

10 calls to DrupalWebTestCase::curlClose()
DrupalWebTestCase::tearDown in drupal-7.x/modules/simpletest/drupal_web_test_case.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
DrupalWebTestCase::tearDown in drupal-7.x/modules/simpletest/drupal_web_test_case.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
PollVoteCheckHostname::testHostnamePollVote in drupal-7.x/modules/poll/poll.test
Check that anonymous users with same ip cannot vote on poll more than once unless user is logged in.
PollVoteCheckHostname::testHostnamePollVote in drupal-7.x/modules/poll/poll.test
Check that anonymous users with same ip cannot vote on poll more than once unless user is logged in.
SessionHttpsTestCase::testHttpsSession in drupal-7.x/modules/simpletest/tests/session.test

... See full list

Archivo

drupal-7.x/modules/simpletest/drupal_web_test_case.php, line 1858

Class

DrupalWebTestCase
Test case for typical Drupal tests.

Código

protected function curlClose() {
  if (isset($this->curlHandle)) {
    curl_close($this->curlHandle);
    unset($this->curlHandle);
  }
}