Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is currently postponed on #1820414: CHANGE NOTICE: Move views_ui.module directly into /core/modules/. When Views UI moves we can re unite the tests.
Comment | File | Size | Author |
---|---|---|---|
#16 | 1862352-16.patch | 28.78 KB | damiankloip |
#13 | 1862352-13.patch | 27.98 KB | damiankloip |
#9 | 1862352-9.patch | 27.29 KB | damiankloip |
#7 | 1862352-7.patch | 27.25 KB | damiankloip |
#7 | interdiff-1862352-7.txt | 519 bytes | damiankloip |
Comments
Comment #1
sunComment #2
damiankloip CreditAttribution: damiankloip commentedWe can do this now. I think to start with, just move the UI tests directory from views tests into the views_ui/lib/Drupal/views_ui/Tests
Comment #3
dawehnerSeems ok.
Comment #5
damiankloip CreditAttribution: damiankloip commentedWorking on this, not sure what I was thinking! We need to change namespaces. Might also decouple a few things while I'm there.
Comment #6
damiankloip CreditAttribution: damiankloip commentedThis is more what I was after, separating out the exposed form tests, as the Views plugin exposed form test is currently extending UITestBase, which is a bit on the grubby side.
Comment #7
damiankloip CreditAttribution: damiankloip commentedWith the correct Contains ... in the new Exposed form test file.
Comment #8
dawehnerYeah for improving the performance of the total test suite! But no for removing the test coverage.
Definition should be contains.
This hurts, can we place remove the spaces at the front?
I can't spot this old tests in the new patch. This feels wrong :)
Comment #9
damiankloip CreditAttribution: damiankloip commentedI think the interdiff is confusing, but the coverage has not been removed just moved the views_ui/Tests/ExposedFormUITest. Same for testResetButton() etc.. they are still there. I only moved stuff, didn't remove any coverage.
Updated patch to fix that crazy @file indentation in those files and the 'Contains..'.
Comment #10
dawehnerOh I always run into this trap.
Comment #11
damiankloip CreditAttribution: damiankloip commented#9: 1862352-9.patch queued for re-testing.
Comment #13
damiankloip CreditAttribution: damiankloip commentedDrupal\translation_entity\Tests\Views\TranslationEntityViewsUITest got added too.
Comment #14
dawehnerI just realized that /var/www/d8/core/modules/views/tests/Drupal/views/Tests/ViewsUI/ViewUIObjectTest.php could be moved as well.
Comment #15
dawehnerThe rest looks perfect!
Comment #16
damiankloip CreditAttribution: damiankloip commentedYES, good idea!
Comment #17
dawehnerNice!
Comment #18
alexpottCommitted 4889cf6 and pushed to 8.x. Thanks!