| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 723 lines (27 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
LinkAttributeCrudTest:: (19 methods):
getInfo()
setUp()
createLink()
outputScreenContents()
assertLinkOnNode()
testBasic()
testLinkWithClassOnField()
testLinkWithNoFollowOnField()
testLinkWithNoFollowOnFieldTargetNewWindow()
testLinkWithNoFollowOnFieldTargetNewWindowAndAClass()
test_Link_With_Title_Attribute_WithNoFollowOnFieldTargetNewWindowAndAClass_Form()
test_Link_With_Title_Attribute()
test_Link_With_Title_Attribute_form()
test_Link_With_Title_Attribute_Not_Shown_form()
test_Link_without_title_attribute()
test_rel_nofollow_bug()
test_rel_nofollow_on_external_link()
test_bad_attributes_bugfix_null_global_settings()
test_bad_attributes_bugfix_string_attributes()
Class: LinkAttributeCrudTest - X-Ref
| getInfo() X-Ref |
| No description |
| setUp() X-Ref |
| No description |
| createLink($url, $title, $attributes = array() X-Ref |
| No description |
| outputScreenContents($description, $basename) X-Ref |
| This usually isn't needed. $this->pass($this->content); will usually display the current page. |
| assertLinkOnNode($field_name, $link_value, $message = '', $group = 'Other') X-Ref |
| No description |
| testBasic() X-Ref |
| A simple test that just creates a new node type, adds a link field to it, creates a new node of that type, and makes sure that the node is being displayed. |
| testLinkWithClassOnField() X-Ref |
| This test sees that we can create a link field with a defined class, and make sure that class displays properly when the link is displayed. |
| testLinkWithNoFollowOnField() X-Ref |
| No description |
| testLinkWithNoFollowOnFieldTargetNewWindow() X-Ref |
| No description |
| testLinkWithNoFollowOnFieldTargetNewWindowAndAClass() X-Ref |
| Trying to reproduce exactly what's in issue #664990 http://drupal.org/node/664990 |
| test_Link_With_Title_Attribute_WithNoFollowOnFieldTargetNewWindowAndAClass_Form() X-Ref |
| Another test for http://drupal.org/node/664990 |
| test_Link_With_Title_Attribute() X-Ref |
| No description |
| test_Link_With_Title_Attribute_form() X-Ref |
| No description |
| test_Link_With_Title_Attribute_Not_Shown_form() X-Ref |
| When the title attribute matches the link title, we need to suppress the title attribute. |
| test_Link_without_title_attribute() X-Ref |
| When the title attribute matches the link title, we need to suppress the title attribute. |
| test_rel_nofollow_bug() X-Ref |
| This test exercises the bugfix for http://drupal.org/node/628902. It's also making sure that if you set up a link field with 'rel="nofollow"' and point it internally, then the link does not show rel="nofollow". |
| test_rel_nofollow_on_external_link() X-Ref |
| No description |
| test_bad_attributes_bugfix_null_global_settings() X-Ref |
| Here we test the fix to #626932, where an empty or bad attributes value on the link at the field level would cause the site to die in _link_sanitize, when the non-array $field['attributes'] is added to another array. |
| test_bad_attributes_bugfix_string_attributes() X-Ref |
| Here we test the fix to #626932, where an empty or bad attributes value on the link at the field level would cause the site to die in _link_sanitize, when the non-array $field['attributes'] is added to another array. |
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |