[Phpmyadmin-git] [phpmyadmin/phpmyadmin] 581f8e: Define MYSQL_VERSION string constant if not alread...

Michal Čihař michal at cihar.com
Sat Mar 15 08:26:49 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: 581f8e4d945a6e034b106583cdde9bce56f7f7e8
      https://github.com/phpmyadmin/phpmyadmin/commit/581f8e4d945a6e034b106583cdde9bce56f7f7e8
  Author: Jeff Chan <jefftchan at gmail.com>
  Date:   2014-03-14 (Fri, 14 Mar 2014)

  Changed paths:
    M test/classes/plugin/export/PMA_ExportLatex_test.php
    M test/classes/plugin/export/PMA_ExportSql_test.php
    M test/classes/plugin/export/PMA_ExportXml_test.php

  Log Message:
  -----------
  Define MYSQL_VERSION string constant if not already defined

These tests were failing when run individually since the constant was
not defined. This patch defines the constant if it doesn't exist.

Signed-off-by: Jeff Chan <jefftchan at gmail.com>


  Commit: 69e2f227ab76bb9223e0028ede52a64aade88243
      https://github.com/phpmyadmin/phpmyadmin/commit/69e2f227ab76bb9223e0028ede52a64aade88243
  Author: Jeff Chan <jefftchan at gmail.com>
  Date:   2014-03-14 (Fri, 14 Mar 2014)

  Changed paths:
    M test/classes/config/PMA_Form_test.php
    M test/libraries/PMA_ConfigGenerator_test.php
    M test/libraries/PMA_server_databases_test.php
    M test/libraries/PMA_server_user_groups_test.php

  Log Message:
  -----------
  Move slow tests in HHVM to medium group

Signed-off-by: Jeff Chan <jefftchan at gmail.com>


  Commit: 719babd2c6472b839125c8097428c3f8277f8a45
      https://github.com/phpmyadmin/phpmyadmin/commit/719babd2c6472b839125c8097428c3f8277f8a45
  Author: Jeff Chan <jefftchan at gmail.com>
  Date:   2014-03-14 (Fri, 14 Mar 2014)

  Changed paths:
    M test/classes/navigation/PMA_Navigation_test.php
    M test/classes/plugin/export/PMA_ExportXml_test.php
    M test/libraries/PMA_server_user_groups_test.php

  Log Message:
  -----------
  Import dependencies to make tests friendlier to running independently

The HHVM test runner runs the unit tests in parallel. Currently some tests
fail because not all the dependencies are properly included.

Signed-off-by: Jeff Chan <jefftchan at gmail.com>


  Commit: 3e65f88dee063c1f279789cfa64bb93082066228
      https://github.com/phpmyadmin/phpmyadmin/commit/3e65f88dee063c1f279789cfa64bb93082066228
  Author: Jeff Chan <jefftchan at gmail.com>
  Date:   2014-03-14 (Fri, 14 Mar 2014)

  Changed paths:
    M test/classes/plugin/auth/PMA_AuthenticationCookie_test.php

  Log Message:
  -----------
  Fix AuthenticationCookieTest::testAuth to have proper includes

Also change testAuthSetUserWithHeaders to have more flexible assertion

Signed-off-by: Jeff Chan <jefftchan at gmail.com>


  Commit: 40f9df6fcc327b096a041818e481bd4a7a45f0ae
      https://github.com/phpmyadmin/phpmyadmin/commit/40f9df6fcc327b096a041818e481bd4a7a45f0ae
  Author: Michal Čihař <michal at cihar.com>
  Date:   2014-03-15 (Sat, 15 Mar 2014)

  Changed paths:
    M test/classes/config/PMA_Form_test.php
    M test/classes/navigation/PMA_Navigation_test.php
    M test/classes/plugin/auth/PMA_AuthenticationCookie_test.php
    M test/classes/plugin/export/PMA_ExportLatex_test.php
    M test/classes/plugin/export/PMA_ExportSql_test.php
    M test/classes/plugin/export/PMA_ExportXml_test.php
    M test/libraries/PMA_ConfigGenerator_test.php
    M test/libraries/PMA_server_databases_test.php
    M test/libraries/PMA_server_user_groups_test.php

  Log Message:
  -----------
  Merge pull request #1067 from jeffchan/fix-tests

Fix unit test running individually by file


Compare: https://github.com/phpmyadmin/phpmyadmin/compare/bb280c8cc120...40f9df6fcc32


More information about the Git mailing list