Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
14 Sep 2008 at 13:23 UTC
Updated:
2 Oct 2008 at 15:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
webchickHm. I'm a little torn here.
On the one hand, yes, this is more consistent with the admin/content/node screen and similar. On the other, you have this checkbox floating in outer space with no context as to what it's for. But of course, that's not your fault, so I made #308468: Text links for 'Select all/None/Invert' a separate bug report.
We also are missing the warning about all tests taking a LONG time. I think this is important. We could stand to improve the help text in general here, maybe best for a follow-up patch.
Sorry, I've officially exhausted all my patch review time today; will take another look at this later in the week.
Comment #2
floretan commentedI agree about the floating checkbox, will look at the related issue.
The warning about tests taking a LONG time was really useful when no batch process was used while running tests and we just had to wait, but now that we get an idea of the progress and what is currently running I don't think it's as necessary. When running all tests, I already get an idea after the first few that it's going to take a while, and if I don't want to wait I can just go back to the previous page.
Comment #3
dries commentedPersonally, I think this is a good improvement. I would put the table and button in a fieldset for consistency. Like that, the page would have two fieldsets below another.
Comment #4
boombatower commentedAddressed #3 which required a bit more clean-up.
Comment #5
floretan commentedSame patch from #4, but using the standard tableselect.js instead of hard-coding a "select-all checkbox" and having duplicate code in simpletest.js.
Comment #6
boombatower commentedRe-rolled with a few formatting issues.
Like to see this get in so we can get back to the beast patch.
Comment #7
catchWhy concatenate two strings like this? Long strings which wrap are fine.
Functionally it's a nice improvement, and we should fix the checkbox issue separately. I didn't do a thorough code review, just a quick look.
Comment #8
boombatower commentedChange to a single line, I still like it the other way. :)
Comment #9
floretan commentedTo follow webchick's advice (http://www.webchick.net/visualize-your-patches), here's a screenshot. As you can see the position of the checkbox is not an issue anymore (since #5).
Comment #10
catchThanks boombatower. Did another visual review and nothing jumped out at me, also ran all tests. I'd like to fix up the help page here a bit but that's not in scope for this patch, not to mention it'll be nice to have this in fast to save an extra click.
Comment #11
dries commentedI was going to commit this patch but it looks like it needs a quick re-roll. It currently generates a warning when you go to the test overview page.
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'theme_simpletest_test_form' was given in /drupal-cvs/includes/theme.inc on line 607.Comment #12
catch@Dries - you need to clear your caches after applying the patch. I also got the error, but it goes away once you've done that.
Comment #13
floretan commentedThe name of the theme function changed from
theme_simpletest_test_formtotheme_simpletest_test_table, which generates the error mentioned in #11 until the theme registry is cleared. I re-tested the patch and it applies cleanly.Comment #14
dries commentedD'oh! Committed to CVS. Thanks folks!
Comment #15
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.