Closed (fixed)
Project:
SimpleTest
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
15 Dec 2007 at 02:39 UTC
Updated:
8 Jan 2008 at 14:41 UTC
Jump to comment: Most recent file
New task
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | node_revisions.txt | 4.45 KB | cwgordon7 |
| #5 | node_revisions.zip | 1.47 KB | cwgordon7 |
| #2 | node_revisions.zip | 1.47 KB | cwgordon7 |
Comments
Comment #1
pwolanin commentedlink to GHOP task: http://code.google.com/p/google-highly-open-participation-drupal/issues/...
The main work for this task is to write a small suite of tests to check the basic functionality of node revisions.
Suggested tests:
1. node/#/edit: Create a new revision. Enter a log message and ensure that
it shows up at node/#/revisions
2. node/#/revisions: Revert to a previous revision. Confirm that the
reversion occurs.
3. node/#/revisions: Delete a revision. Confirm that it is gone and that
node/#/revisions/#/view is not found
Comment #2
cwgordon7 commented.test file here, needs review and/or suggestions. I discovered http://drupal.org/node/202895 when creating this file, so make sure to use the HEAD version drupal 6. It's zipped because drupal won't let me upload it otherwise.
-cwgordon7
Comment #3
pwolanin commentedI won't have a chance to actually test the code until Monday
Also - it would be preferable to post the test as a patch to simpletest - see "Adding/Deleting files" at http://drupal.org/patch/create
Comment #4
Rok Žlender commentedThese are my comments on your test. If you make the changes test will finish without fails also after the changes I will consider this task completed as you made all tests pwolanin asked for.
Comment #5
cwgordon7 commentedThank you for the review, the revised .test file is attached. I have tested this with my drupal 6 HEAD install, everything checks out fine. If you want to see some fails, try it on one of the Drupal six betas (one probably being optimal). Again, it's zipped, because I'm having trouble trying to add new files through a patch. Sorry for any inconvenience this causes.
-cwgordon7
Comment #6
cwgordon7 commentedAttached also as a .txt file for easier review.
Comment #7
dmitrig01 commentedReviewed code and functionality. Both look fine
Comment #8
aclight commentedSince Rok and dmitrig01 both signed off on this, I'm going to give cwgordon07 credit for this. If pwolian wishes for more work to be done on this, cwgordon07 assures me that he'll finish anything necessary.
Comment #9
Rok Žlender commentedcommitted to HEAD thanks cwgordon7
Comment #10
pwolanin commentedIf Rok is satisfied, I'm not going to hold it back.
Comment #11
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.