<commit_before><?php

namespace Doctrine\Tests\DBAL;

use Doctrine\Tests\DBAL\Component;
use Doctrine\Tests\DBAL\Ticker;
use Doctrine\Tests\DBAL\Functional;

if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Dbal_Platforms_AllTests::main');
}

require_once __DIR__ . '/../TestInit.php';

class AllTests
{
    public static function main()
    {
        \PHPUnit_TextUI_TestRunner::run(self::suite());
    }

    public static function suite()
    {
        $suite = new \Doctrine\Tests\DbalTestSuite('Doctrine DBAL');

        // Platform tests
        $suite->addTestSuite('Doctrine\Tests\DBAL\Platforms\SqlitePlatformTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Platforms\MySqlPlatformTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Platforms\PostgreSqlPlatformTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Platforms\MsSqlPlatformTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Platforms\OraclePlatformTest');

        // Type tests
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\ArrayTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\ObjectTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\DateTimeTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\DateTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\TimeTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\BooleanTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\DecimalTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\IntegerTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\SmallIntTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\StringTest');

        // Driver manager test
        $suite->addTestSuite('Doctrine\Tests\DBAL\DriverManagerTest');

        // Connection test<commit_msg>[2.0] - DDC-169 - Added DropSchemaSql Visitor - Refactored Visitor package a bit, however its still not very appealing to have that much use statements cluttered in the code<commit_after><?php

namespace Doctrine\Tests\DBAL;

use Doctrine\Tests\DBAL\Component;
use Doctrine\Tests\DBAL\Ticker;
use Doctrine\Tests\DBAL\Functional;

if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Dbal_Platforms_AllTests::main');
}

require_once __DIR__ . '/../TestInit.php';

class AllTests
{
    public static function main()
    {
        \PHPUnit_TextUI_TestRunner::run(self::suite());
    }

    public static function suite()
    {
        $suite = new \Doctrine\Tests\DbalTestSuite('Doctrine DBAL');

        // Platform tests
        $suite->addTestSuite('Doctrine\Tests\DBAL\Platforms\SqlitePlatformTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Platforms\MySqlPlatformTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Platforms\PostgreSqlPlatformTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Platforms\MsSqlPlatformTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Platforms\OraclePlatformTest');

        // Type tests
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\ArrayTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\ObjectTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\DateTimeTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\DateTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\TimeTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\BooleanTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\DecimalTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\IntegerTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\SmallIntTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Types\StringTest');

        // Schema tests
        $suite->addTestSuite('Doctrine\Tests\DBAL\Schema\ColumnTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Schema\IndexTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Schema\TableTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Schema\SchemaTest');
        $suite->addTestSuite('Doctrine\Tests\DBAL\Schema\Visitor\SchemaSqlCollectorTest');

        // Driver manager test
        $suite->addTestSuite('Doctrine\Tests\DBAL\DriverManagerTest');

        // Connection test
{'fraction_non_alphanumeric': 0.1459802538787024, 'fraction_numerical': 0.0011753643629525152, 'mean_word_length': 3.786276715410574, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 40, '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': '4137913', 'n_tokens_mistral': 1325, 'n_tokens_neox': 1310, 'n_words': 143}