Skip to content

Instantly share code, notes, and snippets.

@ayushchd
Created February 12, 2013 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayushchd/7620a376873237680412 to your computer and use it in GitHub Desktop.
Save ayushchd/7620a376873237680412 to your computer and use it in GitHub Desktop.
PHPUnit Errors
PHP Notice: Undefined index: test_header in /Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/core/PMA_headerLocation_test.php on line 59
Notice: Undefined index: test_header in /Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/core/PMA_headerLocation_test.php on line 59
PHPUnit 3.7.13 by Sebastian Bergmann.
Configuration read from /Users/ayushchd/Sites/htdocs/phpmyadmin/phpunit.xml
.........................I.................I........II....... 61 / 1151 ( 5%)
............................................................. 122 / 1151 ( 10%)
....................................................FNot supported query: SELECT *, `TABLE_SCHEMA` AS `Db`, `TABLE_NAME` AS `Name`, `TABLE_TYPE` AS `TABLE_TYPE`, `ENGINE` AS `Engine`, `ENGINE` AS `Type`, `VERSION` AS `Version`, `ROW_FORMAT` AS `Row_format`, `TABLE_ROWS` AS `Rows`, `AVG_ROW_LENGTH` AS `Avg_row_length`, `DATA_LENGTH` AS `Data_length`, `MAX_DATA_LENGTH` AS `Max_data_length`, `INDEX_LENGTH` AS `Index_length`, `DATA_FREE` AS `Data_free`, `AUTO_INCREMENT` AS `Auto_increment`, `CREATE_TIME` AS `Create_time`, `UPDATE_TIME` AS `Update_time`, `CHECK_TIME` AS `Check_time`, `TABLE_COLLATION` AS `Collation`, `CHECKSUM` AS `Checksum`, `CREATE_OPTIONS` AS `Create_options`, `TABLE_COMMENT` AS `Comment` FROM `information_schema`.`TABLES` t WHERE `TABLE_SCHEMA` IN ('pma_test') AND t.`TABLE_NAME` = 'table1' ORDER BY Name ASC
Not supported query: SHOW TABLE STATUS FROM `pma_test` LIKE 'table1%'
Not supported query: SELECT *, `TABLE_SCHEMA` AS `Db`, `TABLE_NAME` AS `Name`, `TABLE_TYPE` AS `TABLE_TYPE`, `ENGINE` AS `Engine`, `ENGINE` AS `Type`, `VERSION` AS `Version`, `ROW_FORMAT` AS `Row_format`, `TABLE_ROWS` AS `Rows`, `AVG_ROW_LENGTH` AS `Avg_row_length`, `DATA_LENGTH` AS `Data_length`, `MAX_DATA_LENGTH` AS `Max_data_length`, `INDEX_LENGTH` AS `Index_length`, `DATA_FREE` AS `Data_free`, `AUTO_INCREMENT` AS `Auto_increment`, `CREATE_TIME` AS `Create_time`, `UPDATE_TIME` AS `Update_time`, `CHECK_TIME` AS `Check_time`, `TABLE_COLLATION` AS `Collation`, `CHECKSUM` AS `Checksum`, `CREATE_OPTIONS` AS `Create_options`, `TABLE_COMMENT` AS `Comment` FROM `information_schema`.`TABLES` t WHERE `TABLE_SCHEMA` IN ('pma_test') AND t.`TABLE_NAME` = 'table1' ORDER BY Name ASC
Not supported query: SHOW TABLE STATUS FROM `pma_test` LIKE 'table1%'
........ 183 / 1151 ( 15%)
............................................................. 244 / 1151 ( 21%)
............................................................. 305 / 1151 ( 26%)
............................................................. 366 / 1151 ( 31%)
............................................................. 427 / 1151 ( 37%)
............................................................. 488 / 1151 ( 42%)
.......................................E..................... 549 / 1151 ( 47%)
............................................................. 610 / 1151 ( 52%)
............................................................. 671 / 1151 ( 58%)
............................................................. 732 / 1151 ( 63%)
...............................E............................. 793 / 1151 ( 68%)
............................................................. 854 / 1151 ( 74%)
............................................................. 915 / 1151 ( 79%)
............................................................. 976 / 1151 ( 84%)
............................................................. 1037 / 1151 ( 90%)
............................................................. 1098 / 1151 ( 95%)
.......................................S...........FI
Time: 25 seconds, Memory: 110.25Mb
There were 2 errors:
1) PMA_headerLocation_test::testSendHeaderLocationWithSidUrlWithQuestionMark
runkit_constant_redefine(): Only user defined constants may be removed.
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/core/PMA_headerLocation_test.php:127
/usr/local/php5-20130103-080303/bin/phpunit:46
2) PMA_whichCrlf_test::testWhichCrlf
Constant PMA_USR_OS already defined
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/common/PMA_whichCrlf_test.php:47
/usr/local/php5-20130103-080303/bin/phpunit:46
--
There were 2 failures:
1) PMA_Menu_Test::testTable
This test printed output: Not supported query: SELECT *, `TABLE_SCHEMA` AS `Db`, `TABLE_NAME` AS `Name`, `TABLE_TYPE` AS `TABLE_TYPE`, `ENGINE` AS `Engine`, `ENGINE` AS `Type`, `VERSION` AS `Version`, `ROW_FORMAT` AS `Row_format`, `TABLE_ROWS` AS `Rows`, `AVG_ROW_LENGTH` AS `Avg_row_length`, `DATA_LENGTH` AS `Data_length`, `MAX_DATA_LENGTH` AS `Max_data_length`, `INDEX_LENGTH` AS `Index_length`, `DATA_FREE` AS `Data_free`, `AUTO_INCREMENT` AS `Auto_increment`, `CREATE_TIME` AS `Create_time`, `UPDATE_TIME` AS `Update_time`, `CHECK_TIME` AS `Check_time`, `TABLE_COLLATION` AS `Collation`, `CHECKSUM` AS `Checksum`, `CREATE_OPTIONS` AS `Create_options`, `TABLE_COMMENT` AS `Comment` FROM `information_schema`.`TABLES` t WHERE `TABLE_SCHEMA` IN ('pma_test') AND t.`TABLE_NAME` = 'table1' ORDER BY Name ASC
Not supported query: SHOW TABLE STATUS FROM `pma_test` LIKE 'table1%'
Not supported query: SELECT *, `TABLE_SCHEMA` AS `Db`, `TABLE_NAME` AS `Name`, `TABLE_TYPE` AS `TABLE_TYPE`, `ENGINE` AS `Engine`, `ENGINE` AS `Type`, `VERSION` AS `Version`, `ROW_FORMAT` AS `Row_format`, `TABLE_ROWS` AS `Rows`, `AVG_ROW_LENGTH` AS `Avg_row_length`, `DATA_LENGTH` AS `Data_length`, `MAX_DATA_LENGTH` AS `Max_data_length`, `INDEX_LENGTH` AS `Index_length`, `DATA_FREE` AS `Data_free`, `AUTO_INCREMENT` AS `Auto_increment`, `CREATE_TIME` AS `Create_time`, `UPDATE_TIME` AS `Update_time`, `CHECK_TIME` AS `Check_time`, `TABLE_COLLATION` AS `Collation`, `CHECKSUM` AS `Checksum`, `CREATE_OPTIONS` AS `Create_options`, `TABLE_COMMENT` AS `Comment` FROM `information_schema`.`TABLES` t WHERE `TABLE_SCHEMA` IN ('pma_test') AND t.`TABLE_NAME` = 'table1' ORDER BY Name ASC
Not supported query: SHOW TABLE STATUS FROM `pma_test` LIKE 'table1%'
/usr/local/php5-20130103-080303/bin/phpunit:46
2) Environment_Test::testMySQL
Error: Execution aborted after 1 second
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/Environment_test.php:62
/usr/local/php5-20130103-080303/bin/phpunit:46
--
There were 5 incomplete tests:
1) PMA_ConfigTest::testCheckWebServerOs
This test did not perform any assertions
/usr/local/php5-20130103-080303/bin/phpunit:46
2) PMA_ConfigTest::testCheckIsHttps
This test has not been implemented yet.
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/classes/PMA_Config_test.php:620
/usr/local/php5-20130103-080303/bin/phpunit:46
3) PMA_ConfigTest::testGetThemeUniqueValue
This test has not been implemented yet.
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/classes/PMA_Config_test.php:737
/usr/local/php5-20130103-080303/bin/phpunit:46
4) PMA_ConfigTest::testCheckPermissions
This test has not been implemented yet.
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/classes/PMA_Config_test.php:751
/usr/local/php5-20130103-080303/bin/phpunit:46
5) Environment_Test::testSession
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/Environment_test.php:83
/usr/local/php5-20130103-080303/bin/phpunit:46
--
There was 1 skipped test:
1) PMA_langList_test::testLangListWithDir
Cannot open file with locales
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/select_lang/PMA_langList_test.php:34
/usr/local/php5-20130103-080303/bin/phpunit:46
FAILURES!
Tests: 1151, Assertions: 1946, Failures: 2, Errors: 2, Incomplete: 5, Skipped: 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment