<commit_before><?php

namespace test;

require_once __DIR__.'/../vendor/autoload.php';
require_once __DIR__.'/../vendor/vierbergenlars/simpletest/autorun.php';

$loader = new \Composer\Autoload\ClassLoader();
$loader->add('test', __DIR__.'/..');
$loader->register();

class NorchClientTests extends \TestSuite
{
    public function __construct()
    {
        parent::__construct('Norch Client tests');
        $this->add(new transport\http);
        $this->add(new searchresult\hit);
        $this->add(new searchresult\facet);
        $this->add(new searchresult\searchresult);
        $this->add(new searchquery\query);
        $this->add(new searchquery\querybuilder);
        $this->add(new searchindex\index);
        $this->add(new client);
    }
}
<commit_msg>Ignore transport tests when in CI<commit_after><?php

namespace test;

require_once __DIR__.'/../vendor/autoload.php';
require_once __DIR__.'/../vendor/vierbergenlars/simpletest/autorun.php';

$loader = new \Composer\Autoload\ClassLoader();
$loader->add('test', __DIR__.'/..');
$loader->register();

class NorchClientTests extends \TestSuite
{
    public function __construct()
    {
        parent::__construct('Norch Client tests');
        if (getenv('CI'))
            $this->add(new transport\http);
        $this->add(new searchresult\hit);
        $this->add(new searchresult\facet);
        $this->add(new searchresult\searchresult);
        $this->add(new searchquery\query);
        $this->add(new searchquery\querybuilder);
        $this->add(new searchindex\index);
        $this->add(new client);
    }
}

{'fraction_non_alphanumeric': 0.1626733921815889, 'fraction_numerical': 0.0, 'mean_word_length': 3.3360655737704916, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, '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': '2039762', 'n_tokens_mistral': 500, 'n_tokens_neox': 500, 'n_words': 85}