Closed (fixed)
Project:
SimpleTest
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 Jan 2009 at 10:58 UTC
Updated:
22 Feb 2009 at 03:10 UTC
Jump to comment: Most recent file
Several messages from the assertions in DrupalWebTestCase emit literal percent signs (%):
assertRaw() emits '%s found'
assertNoRaw() ALSO emits '%s found' (ie: should be NOT found, too)
assertPattern() emits 'Pattern %s found'
assertNoPattern() emits 'Pattern %s not found'
Other methods don't create good default messages when none are passed:
assertTitle()
assertFieldBy[No]XPath()
assert[No]Field()
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | simpletest-default-messages.patch | 3.85 KB | lyricnz |
Comments
Comment #1
lyricnz commentedAttached patch adds missing default messages, and fixes the % signs. I have notice that assertTitle() doesn't work, but will file separate issue for this.
Comment #2
lyricnz commentedPatch is against SimpleTest 6.x-2.x-dev (2008-Dec-11)
Comment #3
boombatower commentedComplete backport of Drupal 7.x SimpleTest module. (voids all backports). (SimpleTest 2.6)
Please re-open if still an issue.