uw                                       Tue, 26 Jul 2011 09:33:01 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=313702

Log:
Would be nice if tests get updated whenever a feature is added by the person 
adding the feature...

Changed paths:
    U   
php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
    U   
php/php-src/branches/PHP_5_4/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
    U   php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt

Modified: 
php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt 
    2011-07-26 09:30:49 UTC (rev 313701)
+++ 
php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt 
    2011-07-26 09:33:01 UTC (rev 313702)
@@ -15,13 +15,18 @@
                'MYSQL_ATTR_FOUND_ROWS'                                         
=> true,
                'MYSQL_ATTR_IGNORE_SPACE'                                       
=> true,
                'MYSQL_ATTR_INIT_COMMAND'                                       
=> true,
+               "MYSQL_ATTR_SSL_KEY"                                            
=> true,
+               "MYSQL_ATTR_SSL_CERT"                                           
=> true,
+               "MYSQL_ATTR_SSL_CA"                                             
        => true,
+               "MYSQL_ATTR_SSL_CAPATH"                                         
=> true,
+               "MYSQL_ATTR_SSL_CIPHER"                                         
=> true,
        );

        if (!MySQLPDOTest::isPDOMySQLnd()) {
-               $expected['MYSQL_ATTR_MAX_BUFFER_SIZE']                 = true;
-               $expected['MYSQL_ATTR_READ_DEFAULT_FILE']       = true;
-               $expected['MYSQL_ATTR_READ_DEFAULT_GROUP']      = true;
-               $expected['MYSQL_ATTR_COMPRESS']                                
                = true;
+               $expected['MYSQL_ATTR_MAX_BUFFER_SIZE']                 = true;
+               $expected['MYSQL_ATTR_READ_DEFAULT_FILE']               = true;
+               $expected['MYSQL_ATTR_READ_DEFAULT_GROUP']              = true;
+               $expected['MYSQL_ATTR_COMPRESS']                                
= true;
        }

        /*

Modified: 
php/php-src/branches/PHP_5_4/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_4/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt 
    2011-07-26 09:30:49 UTC (rev 313701)
+++ 
php/php-src/branches/PHP_5_4/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt 
    2011-07-26 09:33:01 UTC (rev 313702)
@@ -15,13 +15,18 @@
                'MYSQL_ATTR_FOUND_ROWS'                                         
=> true,
                'MYSQL_ATTR_IGNORE_SPACE'                                       
=> true,
                'MYSQL_ATTR_INIT_COMMAND'                                       
=> true,
+               "MYSQL_ATTR_SSL_KEY"                                            
=> true,
+               "MYSQL_ATTR_SSL_CERT"                                           
=> true,
+               "MYSQL_ATTR_SSL_CA"                                             
        => true,
+               "MYSQL_ATTR_SSL_CAPATH"                                         
=> true,
+               "MYSQL_ATTR_SSL_CIPHER"                                         
=> true,
        );

        if (!MySQLPDOTest::isPDOMySQLnd()) {
-               $expected['MYSQL_ATTR_MAX_BUFFER_SIZE']                 = true;
-               $expected['MYSQL_ATTR_READ_DEFAULT_FILE']       = true;
-               $expected['MYSQL_ATTR_READ_DEFAULT_GROUP']      = true;
-               $expected['MYSQL_ATTR_COMPRESS']                                
                = true;
+               $expected['MYSQL_ATTR_MAX_BUFFER_SIZE']                 = true;
+               $expected['MYSQL_ATTR_READ_DEFAULT_FILE']               = true;
+               $expected['MYSQL_ATTR_READ_DEFAULT_GROUP']              = true;
+               $expected['MYSQL_ATTR_COMPRESS']                                
= true;
        }

        /*

Modified: php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
===================================================================
--- php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt        
2011-07-26 09:30:49 UTC (rev 313701)
+++ php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt        
2011-07-26 09:33:01 UTC (rev 313702)
@@ -15,13 +15,18 @@
                'MYSQL_ATTR_FOUND_ROWS'                                         
=> true,
                'MYSQL_ATTR_IGNORE_SPACE'                                       
=> true,
                'MYSQL_ATTR_INIT_COMMAND'                                       
=> true,
+               "MYSQL_ATTR_SSL_KEY"                                            
=> true,
+               "MYSQL_ATTR_SSL_CERT"                                           
=> true,
+               "MYSQL_ATTR_SSL_CA"                                             
        => true,
+               "MYSQL_ATTR_SSL_CAPATH"                                         
=> true,
+               "MYSQL_ATTR_SSL_CIPHER"                                         
=> true,
        );

        if (!MySQLPDOTest::isPDOMySQLnd()) {
-               $expected['MYSQL_ATTR_MAX_BUFFER_SIZE']                 = true;
-               $expected['MYSQL_ATTR_READ_DEFAULT_FILE']       = true;
-               $expected['MYSQL_ATTR_READ_DEFAULT_GROUP']      = true;
-               $expected['MYSQL_ATTR_COMPRESS']                                
                = true;
+               $expected['MYSQL_ATTR_MAX_BUFFER_SIZE']                 = true;
+               $expected['MYSQL_ATTR_READ_DEFAULT_FILE']               = true;
+               $expected['MYSQL_ATTR_READ_DEFAULT_GROUP']              = true;
+               $expected['MYSQL_ATTR_COMPRESS']                                
= true;
        }

        /*

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to