I did an experimental patch. Wanted to know how module dependencies get handled :)

More information: http://drupal.org/node/1710766

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch, 0001-convert-setup-calls.patch, failed testing.

aspilicious’s picture

Issue tags: +VDC

added tag

aspilicious’s picture

Status: Needs work » Needs review
Issue tags: -VDC

0001-convert-setup-calls.patch queued for re-testing.

Status: Needs review » Needs work
Issue tags: +VDC

The last submitted patch, 0001-convert-setup-calls.patch, failed testing.

tim.plunkett’s picture

This should be rerolled with the docblocks we agreed on for core.

damiankloip’s picture

Status: Needs work » Needs review
FileSize
9.75 KB

re rolled with these changes in.

tim.plunkett’s picture

Status: Needs review » Needs work

There should be a blank line after the class before the first comment.

damiankloip’s picture

Status: Needs work » Needs review
FileSize
9.72 KB

Oops, here you go.

dawehner’s picture

Issue tags: -VDC

#8: 1711640-8.patch queued for re-testing.

Status: Needs review » Needs work
Issue tags: +VDC

The last submitted patch, 1711640-8.patch, failed testing.

tim.plunkett’s picture

Status: Needs work » Needs review
FileSize
9.8 KB

ViewsSqlTest was enabling views_ui already, so we are able to remove it from its child classes.

damiankloip’s picture

Nice.

aspilicious’s picture

+++ b/lib/Drupal/views/Tests/PagerTest.phpundefined
@@ -21,10 +22,6 @@ class PagerTest extends ViewsSqlTest {
-    parent::setUp('views', 'views_ui', 'views_test');

what about views_test?

tim.plunkett’s picture

PagerTest::setUp() passed "views_test", but its parent is ViewsSqlTest::setUp(), which completely ignored its child classes and only enabled views and views_ui anyway. So the module was never used by the test.

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

in that case...

tim.plunkett’s picture

Status: Reviewed & tested by the community » Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.