Commit Graph

185 Commits (1d1669b4f4e5838b88421a80d2aa729857d14d9a)

Author SHA1 Message Date
catch 8426bf5fba Issue #3056877 by alexpott, Lendude: Remove usage of TestBase static functions because they are deprecated 2019-06-10 14:35:59 +01:00
catch 2be8f41983 Issue #3056875 by alexpott: Remove drupal-phpunit-upgrade-check from run-tests.sh and docs relating to drupal-phpunit-upgrade 2019-05-24 14:14:15 +01:00
Alex Pott bed931bb31
Issue #3008870 by amateescu, kostyashupenko, mondrake, jibran, alexpott: Drop support for PHPUnit 4.8 once PHP 5 is no longer supported (8.8.x) 2019-05-24 11:43:45 +01:00
Gábor Hojtsy 90e5675856 Issue #3050275 by Balu Ertl, borisson_: Replace remaining references of PSR-0 to PSR-4 instead 2019-05-15 15:32:10 +02:00
Alex Pott be9af5bda6
Issue #3039572 by Lendude, Mile23: Prevent tests with multiple groups running multiple times 2019-03-14 09:31:35 +00:00
Alex Pott 2af907ca36
Issue #2296615 by Mile23, chr.fritsch, jibran, borisson_, dawehner, alexpott, andypost: Accurately support multiple @groups per test class 2019-03-11 17:02:19 +00:00
Alex Pott 3f2ab9daa7
Issue #3037218 by kim.pepper, dww, Mile23: run-tests.sh with --browser throws error Class 'FileSystemInterface' not found 2019-03-04 12:04:07 +00:00
Alex Pott 76bf269417
Issue #2244513 by kim.pepper, phenaproxima, 20th, andrei.dincu, beejeebus, Berdir, alexpott, jibran, andypost, larowlan, Chadwick Wood, acbramley, Wim Leers, sun, xjm, YesCT, chx, tim.plunkett: Move the unmanaged file APIs to the file_system service (file.inc) 2019-02-23 22:35:15 +00:00
xjm 57170a6ad7 Revert "Issue #2244513 by kim.pepper, phenaproxima, 20th, andrei.dincu, beejeebus, Berdir, jibran, alexpott, andypost, larowlan, Chadwick Wood, Wim Leers, acbramley, YesCT, sun, tim.plunkett, chx: Move the unmanaged file APIs to the file_system service (file.inc)"
This reverts commit 56be1a032e.
2019-02-23 13:09:49 -06:00
Alex Pott 56be1a032e
Issue #2244513 by kim.pepper, phenaproxima, 20th, andrei.dincu, beejeebus, Berdir, jibran, alexpott, andypost, larowlan, Chadwick Wood, Wim Leers, acbramley, YesCT, sun, tim.plunkett, chx: Move the unmanaged file APIs to the file_system service (file.inc) 2019-02-23 13:45:05 +00:00
Alex Pott 551cb08ba2
Issue #1252606 followup by mondrake: Add crop anchor option to Scale and Crop image effect 2018-05-22 09:36:47 +01:00
Alex Pott bf864999b4
Issue #1252606 by rlhawk, dsnopek, attiks, alansaviolobo, MariaDenysyuk, j0rd, sushyl, Adysone, Alan Evans, mondrake, andypost, alexpott, sun, tstoeckler: Add crop anchor option to Scale and Crop image effect 2018-05-18 11:19:21 +01:00
Nathaniel Catchpole c2585a1888 Issue #2961691 by alexpott, Berdir, timmillwood, idebr: Change SYMFONY_DEPRECATIONS_HELPER back to strict 2018-05-11 15:20:00 +01:00
Alex Pott 3c82d71d7b
Issue #2935255 by Jo Fitzgerald, kim.pepper, voleger, alexpott, martin107, jibran, catch: Remove all usages of drupal_get_message and drupal_set_message in core lib 2018-05-07 11:08:12 +01:00
Nathaniel Catchpole 065807745f Issue #2932606 by jibran, mpdonadio, alexpott, catch: Use PHPUnit 6 for PHP 7.0 / 7.1 testing 2018-04-03 12:41:33 +01:00
Alex Pott b9a310e29e
Issue #2957367 by pifagor, jhodgdon: Message on PHPUnit requirements problem needs small update 2018-04-03 12:43:32 +02:00
Alex Pott 42e71505f5
Issue #2945247 by Mile23: Remove usages of @deprecated simpletest functions 2018-03-15 00:06:13 +00:00
Nathaniel Catchpole 45cf042073 Issue #2937469 by alexpott, Mixologic: Automatic upgrade to PHPUnit 6 is dangerous 2018-02-07 22:43:24 +00:00
Lee Rowlands 7a72d35e1a
Issue #2935215 by alexpott: Apply coding standards to Drupal 8 PHP code in core/scripts 2018-01-24 07:03:08 +10:00
Lee Rowlands 32cc90b3c1
Issue #2933424 by David_Rothstein, harsha012, jhodgdon, vaplas: English-specific links to php.net shouldn't be used in non-translatable strings 2018-01-05 08:09:08 +10:00
Nathaniel Catchpole 03fd77c842 Issue #2927806 by alexpott, mondrake, jibran, Mile23: Use PHPUnit 6 for testing when PHP version >= 7.2 2017-12-22 12:47:46 +00:00
Nathaniel Catchpole 75dcf9af44 Issue #2870194 by alexpott, Mile23, jibran, larowlan, tim.plunkett: Ensure that process-isolated tests can use Symfony's PHPunit bridge to catch usages of deprecated code 2017-11-09 12:51:06 +00:00
Nathaniel Catchpole a16b7dd636 Issue #2869120 by penyaskito, Mixologic, Berdir: run-tests.sh ignores classes if they have whitespace before the declaration using --directory 2017-04-20 00:06:50 +01:00
Alex Pott 75f0c02a79 Issue #2850797 by maxocub, dawehner, alexpott: Prepare our phpunit tests to be BC compatible with phpunit 5.x/6.x 2017-04-04 15:29:18 +01:00
Alex Pott fa4c50a86e Issue #2841948 by Mile23, dawehner: Modify run-tests.sh to show file paths of all discovered tests 2017-01-11 11:30:55 +00:00
xjm 1ac9846eac Issue #2829484 by vegantriathlete, 20th, xjm: Incorrect spelling of possessive "its own" in multiple comments 2017-01-05 07:26:27 -06:00
Alex Pott c80250661b Issue #2807271 by Mile23: run-tests.sh needs to output an exception to stderr for the testbot 2016-09-27 17:10:35 +01:00
Nathaniel Catchpole 1975fe0892 Issue #2804675 by alexpott, hideaway: Tests using TestDatabase class are stuck in an infinite loop in Windows (8.2.0-rc2 only) 2016-09-26 16:22:24 +01:00
Nathaniel Catchpole 8a5abfc0fa Issue #2791163 by alexpott, dawehner: Random automatic testing failures on SQLite with PHP 5.5 2016-09-16 11:35:51 +01:00
Alex Pott b8500a9310 Issue #2780093 by Mile23: Have simpletest, run-tests.sh enforce their dependency on PHPUnit 2016-08-25 11:04:13 +01:00
Nathaniel Catchpole 74d2937c1d Issue #2776071 by damiankloip, neclimdul, Mixologic: run-tests.sh does not return a non zero status when tests fail with exception 2016-08-11 11:49:54 +01:00
Nathaniel Catchpole 8658fc3baf Revert "Issue #2776071 by damiankloip: run-tests.sh does not return a non zero status when tests fail with exception"
This reverts commit b026909edb.
2016-08-04 21:21:30 +01:00
Nathaniel Catchpole b026909edb Issue #2776071 by damiankloip: run-tests.sh does not return a non zero status when tests fail with exception 2016-08-04 13:47:58 +01:00
Nathaniel Catchpole f90b3df951 Issue #2575725 by alexpott, lokapujya, rajeshwari10, Torenware, andrewbelcher, pashupathi nath gajawada, jonathan1055: Uncaught PHP Exception when selecting too many PHPunit tests in UI 2016-06-16 13:18:16 +01:00
Nathaniel Catchpole a1d5f88226 Issue #2687837 by alexpott: run-tests.sh --types does not work with --directory 2016-03-16 20:11:46 +09:00
Alex Pott 7e01fa5342 Issue #2680057 by alexpott, dawehner, isntall: Allow to not override the simpletest results on a new test run 2016-03-11 21:55:44 +00:00
Alex Pott 9683891396 Issue #2670978 by dawehner, isntall, jibran, alexpott: Allow to run just specific types when running all tests 2016-03-09 11:38:47 +00:00
Alex Pott dd13af2145 Issue #2655102 by edurenye: Run test --browser missing CSS and images 2016-01-25 18:24:28 +00:00
Alex Pott cc75430124 Issue #2605290 by sanduhrs, Mile23: Improve docs, coding standards for run-tests.sh 2015-12-21 13:17:15 +00:00
Alex Pott 37705f2a82 Issue #2189345 by benjy, sanduhrs, Mile23, joshtaylor, jbekker, klausi, sun, zaporylie, pfrenssen, jsacksick: run-tests.sh should exit with a failure code if any tests failed 2015-11-17 14:42:51 +00:00
xjm 20621c288b Issue #2580293 by alexpott, claudiu.cristea, Mixologic, catch, Fabianx: Patch having test with "PHP Fatal error" is marked as PASSED 2015-11-12 16:09:06 -06:00
Alex Pott 7d05e583e1 Revert "Issue #2510380 by Wim Leers, DuaelFr, mlewand, quicksketch, Reinmar, oleq: Images cannot be linked in CKEditor"
This reverts commit 2d342c0f63.
2015-11-03 17:27:58 +00:00
Alex Pott 2d342c0f63 Issue #2510380 by Wim Leers, DuaelFr, mlewand, quicksketch, Reinmar, oleq: Images cannot be linked in CKEditor 2015-11-03 15:15:57 +00:00
Nathaniel Catchpole 8b65164c5a Issue #2533800 by alexpott: Remove all unused use statements from core 2015-10-08 20:46:26 +01:00
catch c1aa46fbe6 Issue #2567183 by dawehner, pfrenssen, hussainweb: Re-export all built-in configuration in core 2015-09-23 12:37:12 +02:00
Alex Pott e38ae9918e Issue #2527486 followup by rocketeerbkw: --browser in run-tests.sh broken 2015-09-13 12:21:04 +01:00
effulgentsia da501fe7ec Issue #2566319 by alexpott: run-tests.sh should have a non-HTML mode 2015-09-11 20:52:02 -07:00
Nathaniel Catchpole a42acf9965 Issue #2551981 by jthorson: Add --directory option to run-tests.sh test discovery 2015-09-03 21:37:42 +01:00
Alex Pott d5821399fc Issue #2304461 by dawehner, neclimdul, naveenvalecha, jibran, tim.plunkett, phenaproxima, Xano, hussainweb, sun, hitesh-jain, amateescu, alexpott, daffie, Mile23, Wim Leers, larowlan: KernelTestBaseTNG™ 2015-08-18 01:25:27 +01:00
Nathaniel Catchpole a4e16d6e66 Issue #2527486 by alexpott: --browser in run-tests.sh broken 2015-07-06 16:16:24 +01:00
Alex Pott 300f14e860 Issue #2232861 by grom358, daffie, alexpott, larowlan, pfrenssen, hussainweb, pcambra, jibran, phenaproxima, moshe weitzman, nick_schuch: Create BrowserTestBase for web-testing on top of Mink 2015-04-12 12:08:53 +01:00
webchick 74c98d386d Issue #2465611 by alexpott: Fix --xml option in run-tests.sh 2015-04-04 15:29:59 -07:00
Alex Pott 8b2f85b5c8 Issue #2458045 by webflo: Remove calls to core/vendor/autoload.php 2015-03-24 11:49:33 +00:00
Alex Pott c42d69a15d Issue #2417727 by Berdir: Notice: Undefined offset: 1 in core/scripts/run-tests.sh on line 952 2015-03-13 15:33:04 +00:00
catch 95fe74d571 Issue #2406681 by tstoeckler, hussainweb, alexpott, ParisLiakos, almaudoh, tadityar: Add an autoload.php in the repo root to control the autoloader of front controllers 2015-03-11 08:31:22 +00:00
webchick 488f5584c9 Issue #2315791 by alexpott, cilefen, dawehner: Add functionality to open results in browser window to run-tests.sh 2015-03-07 12:45:08 +11:00
Nathaniel Catchpole ad2a66dec5 Issue #2422745 by alexpott: Reduce simpletest memory limit 2015-02-12 12:46:56 +00:00
Nathaniel Catchpole 77a6a2620b Issue #2421335 by alexpott: Using run-tests.sh with the --list option should not require a db (of any kind) 2015-02-06 15:29:51 +00:00
Alex Pott f46d6ad949 Issue #2358079 by pwolanin, Berdir: Require a specific placeholder format in db_query() in order to trigger argument expansion, and require explicit 'IN' parameter for conditions 2015-02-03 09:42:28 +00:00
webchick 4378277e19 Issue #2390749 by alexpott: run-tests.sh should allow single test methods to be run 2014-12-10 11:11:32 -08:00
Alex Pott 290712e156 Issue #2376039 by znerol, Wim Leers, alexpott: Undefined property ContainerAwareEventDispatcherTest::results in run-tests.sh 2014-11-20 05:41:34 +00:00
Alex Pott a269fc2923 Revert "Issue #2189345 by sanduhrs, jbekker, joshtaylor, benjy, sun: run-tests.sh should exit with a failure code if any tests failed"
This reverts commit 1edfae732f.
2014-11-19 21:11:33 +00:00
Alex Pott ec7abdfb53 Revert "Issue #2376039 by znerol, Wim Leers, alexpott: Undefined property ContainerAwareEventDispatcherTest::results in run-tests.sh"
This reverts commit cbc449b890.
2014-11-19 21:11:24 +00:00
Alex Pott cbc449b890 Issue #2376039 by znerol, Wim Leers, alexpott: Undefined property ContainerAwareEventDispatcherTest::results in run-tests.sh 2014-11-19 20:04:10 +00:00
Alex Pott 1edfae732f Issue #2189345 by sanduhrs, jbekker, joshtaylor, benjy, sun: run-tests.sh should exit with a failure code if any tests failed 2014-11-18 22:24:22 +00:00
Nathaniel Catchpole 66762a5361 Issue #2340667 by YesCT, Pedro Lozano, alexpott, martin107: Protect Drupal\Core\Language\Language::id, and use getId(). 2014-10-13 10:10:32 +01:00
webchick d3295bf1f4 Issue #2347493 by Sutharsan | bzrudi71: Fixed Writing test results leads to FATAL because of memory_limit. 2014-10-03 07:05:31 -07:00
webchick 2634b437c0 Issue #2343389 by ricardoamaro, Sutharsan: Fixed Drupal core testing fails to write results because of SQLITE limitation . 2014-10-01 01:11:18 -07:00
Alex Pott 86da882d4d Issue #2332071 by sun: Fixed Custom port in run-tests.sh --dburl is not parsed. 2014-09-09 12:44:19 +01:00
webchick 06adfe58db Issue #2310415 by cilefen, ednawig, TravisCarden: Fixed run-tests.sh does not handle the error when invalid test groups/classes are specified. 2014-08-28 23:38:35 -07:00
Alex Pott 8f04acbb77 Issue #2309221 by mikey_p: Drupal\Core\Datetime\Date should be renamed to DateFormatter. 2014-08-05 11:39:21 +01:00
Nathaniel Catchpole 6b93ac73a4 Issue #1285726 by kim.pepper, InternetDevels, alexpott, RobLoach: Remove XML-RPC. 2014-07-31 16:12:18 +01:00
Alex Pott 5783e08f16 Issue #2149197 by penyaskito, mikey_p, vijaycs85, herom: Replace format_interval with \Drupal::service('date')->formatInterval(). 2014-07-24 15:54:28 +01:00
webchick 30c2afed20 Issue #697760 by sun: Replace getInfo() in tests with native phpDoc + annotations (following PHPUnit). 2014-07-10 20:50:37 -07:00
Nathaniel Catchpole 5e58da00e6 Issue #2016629 by larowlan, neclimdul, sun, alexpott, jibran, ParisLiakos, donquixote, effulgentsia, msonnabaum: Refactor bootstrap to better utilize the kernel. 2014-06-26 11:47:01 +01:00
Alex Pott 6d2ce628bc Revert "Issue #2016629 by larowlan, neclimdul, sun, alexpott, jibran, ParisLiakos, donquixote, effulgentsia, msonnabaum: Refactor bootstrap to better utilize the kernel."
This reverts commit cda051c425.
2014-06-05 12:53:24 -05:00
Nathaniel Catchpole cda051c425 Issue #2016629 by larowlan, neclimdul, sun, alexpott, jibran, ParisLiakos, donquixote, effulgentsia, msonnabaum: Refactor bootstrap to better utilize the kernel. 2014-06-05 11:30:04 +01:00
Dries 41888bb26f Issue #2226301 by alexpott: Run-test.sh --repeat should work nicely with --concurrency. 2014-05-28 15:10:45 -04:00
webchick 39d126b2d0 Issue #2257427 by sun: Run-tests.sh builds + rebuilds two kernels from scratch for every PHP process. 2014-05-06 11:48:17 -07:00
Dries 2b9cec6dbe Issue #2176621 by sun, alexpott: Remove global . 2014-05-05 07:30:43 -04:00
webchick 340a0fa216 Issue #2225605 by znerol: Use request stack in form builder. 2014-05-03 22:26:42 -07:00
Alex Pott 8a56782390 Issue #2208475 by sun, Xano, Jalandhar, andrei.dincu: Move Settings into Drupal\Core\Site\Settings. 2014-04-25 20:13:44 +01:00
Alex Pott 000966e0dd Issue #2219009 by pwolanin: Improve DX of Settings class. 2014-03-24 09:51:28 +01:00
webchick 77123f3f1b Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, alexpott, tstoeckler, Xano, tim.plunkett, BassistJimmyJam | beejeebus: Make modules and installation profiles only require .info.yml files. 2014-03-17 07:43:29 -07:00
webchick 682c55045b Issue #1808220 by sun: Remove run-tests.sh dependency on existing/installed parent site. 2014-03-16 11:46:31 -07:00
Nathaniel Catchpole db460fe78b Issue #2171683 by sun, alexpott, tstoeckler, larowlan: Remove all Simpletest overrides and rely on native multi-site functionality instead. 2014-02-10 17:31:31 +00:00
Nathaniel Catchpole ec06f877a4 Revert "Issue #2171683 by sun, tstoeckler, larowlan: Remove all Simpletest overrides and rely on native multi-site functionality instead."
This reverts commit 91db25eba4. Broke web
tests.
2014-02-10 11:14:28 +00:00
Nathaniel Catchpole 91db25eba4 Issue #2171683 by sun, tstoeckler, larowlan: Remove all Simpletest overrides and rely on native multi-site functionality instead. 2014-02-10 10:36:12 +00:00
Nathaniel Catchpole bcc57baf0b Issue #1881582 by sun: Change configuration overrides to use $config instead of $conf. 2014-02-05 18:21:55 +00:00
Nathaniel Catchpole e373ebee34 Issue #2167109 by Berdir, sun, alexpott, ACF, acrollet, adamdicarlo, Albert Volkman, andreiashu, andyceo, andypost, anenkov, aspilicious, barbun, beejeebus, boombatower, cam8001, chriscalip, chx, cosmicdreams, dagmar, damiankloip, dawehner, deviance, disasm, dixon_, dstol, ebrowet, Gábor Hojtsy, heyrocker, Hydra, ianthomas_uk, japicoder, jcisio, jibran, julien, justafish, jvns, KarenS, kbasarab, kim.pepper, larowlan, Lars Toomre, leschekfm, Letharion, LinL, lirantal, Lukas von Blarer, marcingy, Mike Wacker, mrf, mtift, mtunay, n3or, nadavoid, nick_schuch, Niklas Fiekas, ParisLiakos, pcambra, penyaskito, pfrenssen, plopesc, Pol, Rok Žlender, rvilar, swentel, tim.plunkett, tobiasb, tsvenson, typhonius, vasi1186, vijaycs85, wamilton, webchick, webflo, wizonesolutions, xjm, yched, YesCT, znerol: Remove Variable subsystem. 2014-01-28 13:07:47 +00:00
webchick f3a7231356 Issue #2173335 by sun: Remove deprecated timer_* functions. 2014-01-24 18:07:30 -08:00
webchick 05e1a61d6c Issue #2150623 by dawehner, pwolanin, rfay: Subdirectory + Clean URLs failure: 6.x-3.x PIFR: 3 Failures in D8 test. 2013-12-09 19:53:47 -08:00
webchick 0286c14b25 Issue #2149977 by JStanton: Run-tests.sh no longer respects specifying a port with the --url option. 2013-12-07 23:51:26 -08:00
webchick 08eeef15db Issue #2132441 by chx, eliza411: Run-tests.sh --module is broken. 2013-11-22 15:59:11 -08:00
Nathaniel Catchpole 92f93a1cbc Issue #2004086 by dawehner, pwolanin, katbailey, tim.plunkett, vijaycs85, fabpot: The Request service must be synthetic. 2013-11-19 16:21:35 +00:00
Alex Pott f1ec2386a7 Issue #2129197 by dawehner: Testbot (run-tests.sh with --file) attempts to run non-test classes, fails. 2013-11-07 15:05:01 +00:00
Nathaniel Catchpole 13fe4f0674 Issue #2114727 by ianthomas_uk: Added Improve error message when using run-tests.sh with Testing module disabled. 2013-10-31 11:35:22 +00:00
Nathaniel Catchpole 04b4a96c8f Issue #2045931 by PerthSam152, LinL, adsw12, joelpittet: Replace all module_exists() deprecated function calls. 2013-10-16 13:18:18 +01:00
Nathaniel Catchpole 759dad87cb Revert "Issue"
This reverts commit cc84f3903c - bad
commit message.
2013-10-16 13:18:18 +01:00
Nathaniel Catchpole cc84f3903c Issue 2013-10-16 12:19:18 +01:00