This patch adds tests that confirms the "type" field on the advanced search form. The trail is blazed for other advanced search form tests.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | advanced-search-test.patch | 4.42 KB | catch |
| #4 | advanced-search-test.patch | 3.35 KB | robertdouglass |
| #3 | advanced-search-test.patch | 3.54 KB | robertdouglass |
| advsearchform.patch | 3.25 KB | robertdouglass |
Comments
Comment #1
franskuipers commentedJust done the single test in this patch. Platform: XAMPP (Apache/2.2.4 (Win32) ; PHP/5.2.2 )
result is:
Also done complete search module tests, results:
Comment #2
catchThere's one typo, finsh, and testNodeType() isn't documented apart from inside the function.
I'm not sure why get_object_vars() is necessary here - why not $node->foo?
Also, status change to reflect adding coverage ;)
Comment #3
robertdouglass commented@catch: fixed typo, added some documentation to testNodeType(). I updated get_object_vars to just stowing the node and accessing its components directly.
Comment #4
robertdouglass commentedOk, that's the second time today Ctrl+s has failed me.
Comment #5
catchGot a couple of syntax errors so re-rolled. Everything else looks fine, so marking this RTBC since there's no changes in the logic.
Comment #6
webchickLooked through. Code is well documented and easy to follow. There were some missing periods on the end of the single-line comments that I just couldn't let go, but fixed those and committed. Thanks! :)
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.