GHOP task #128: Create tests for book
| Project: | SimpleTest |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
- create a new book
- create a small hiearchy of pages in there
- check the list of children links
- check from a children test the next, prev, up links
- check the printer friendly version of the book

#1
#2
The GHOP task associated with this issue can be found at:
http://code.google.com/p/google-highly-open-participation-drupal/issues/...
#3
After allot of messing around to decide what worked and what didn't and what was the best way to do it I finally came up with the attached solution. I believe it meets all the requirements posted on GHOP.
#4
Made a few changes, due to requests made on IRC:
#5
Tests look good and test everything we asked for. I made two changes to your file
Before I mark this RTBC I'd like to see some documentation for your helper functions checkBookNode, generateOutlinePattern and createBookNode. Brief description of what function does, params and what does it return.
#6
I believe I have made all the requested changes.
#7
Thanks committed.
#8
Automatically closed -- issue fixed for two weeks with no activity.