New Assertion: Check for test being found only once

I created a new patch for Drupal 7 simpletest so that we can verify that a piece of text is present on a page, but only present once and no more.
If the text is not present or if the text is present more than once, the assertion fails.

Full details can be found here:
http://drupal.org/node/402804

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>
  • You may post PHP code. You should include <?php ?> tags.
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options