<commit_before><?php
require_once 'PHPUnit/Framework.php';

require_once dirname(__FILE__).'/../../source/CAS/CookieJar.php';


/**
 * Test harness for the cookie Jar to allow us to test protected methods.
 *
 */
class CAS_CookieJarExposed extends CAS_CookieJar {
    public function __call($method, array $args = array()) {
        if (!method_exists($this, $method))
            throw new BadMethodCallException("method '$method' does not exist");
        return call_user_method_array($method, $this, $args);
    }
}


/**
 * Test class for verifying the operation of cookie handling methods used in
 * serviceWeb() proxy calls.
 *
 *
 * Generated by PHPUnit on 2010-09-07 at 13:33:53.
 */
class CookieJarTest extends PHPUnit_Framework_TestCase
{
    /**
     * @var CASClient
     */
    protected $object;

    /**
     * Sets up the fixture, for example, opens a network connection.
     * This method is called before a test is executed.
     */
    protected function setUp()
    {<commit_msg>Remove the deprecated function call_user_method_array() from the test framework<commit_after><?php
require_once 'PHPUnit/Framework.php';

require_once dirname(__FILE__).'/../../source/CAS/CookieJar.php';


/**
 * Test harness for the cookie Jar to allow us to test protected methods.
 *
 */
class CAS_CookieJarExposed extends CAS_CookieJar {
    public function __call($method, array $args = array()) {
        if (!method_exists($this, $method))
            throw new BadMethodCallException("method '$method' does not exist");
        return call_user_func_array(array($this, $method), $args);
    }
}


/**
 * Test class for verifying the operation of cookie handling methods used in
 * serviceWeb() proxy calls.
 *
 *
 * Generated by PHPUnit on 2010-09-07 at 13:33:53.
 */
class CookieJarTest extends PHPUnit_Framework_TestCase
{
    /**
     * @var CASClient
     */
    protected $object;

    /**
     * Sets up the fixture, for example, opens a network connection.
     * This method is called before a test is executed.
     */
    protected function setUp()
    {
{'fraction_non_alphanumeric': 0.10998552821997105, 'fraction_numerical': 0.013506994693680656, 'mean_word_length': 3.206896551724138, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2986169', 'n_tokens_mistral': 627, 'n_tokens_neox': 583, 'n_words': 196}