Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views_ui.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Dec 2012 at 16:59 UTC
Updated:
29 Jul 2014 at 21:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sunComment #2
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 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 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 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 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 commented#9: 1862352-9.patch queued for re-testing.
Comment #13
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 commentedYES, good idea!
Comment #17
dawehnerNice!
Comment #18
alexpottCommitted 4889cf6 and pushed to 8.x. Thanks!