[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/link/tests/ -> link.token.test (summary)

(no description)

File Size: 426 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

LinkTokenTest:: (9 methods):
  getInfo()
  setUp()
  testUserTokenLinkCreate()
  testStaticTokenLinkCreate()
  testStaticTokenLinkCreate2()
  test_Link_With_Title_Attribute_token_url_form()
  test_Link_With_Title_Attribute_token_title_form()
  testUserTokenLinkCreateInURL()
  testUserTokenLinkCreateInURL2()


Class: LinkTokenTest  - X-Ref

Testing that tokens can be used in link titles

getInfo()   X-Ref
Implementation of getInfo().


setUp()   X-Ref
Implementation of setUp().


testUserTokenLinkCreate()   X-Ref
Creates a link field with a required title enabled for user-entered tokens.
Creates a node with a token in the link title and checks the value.


testStaticTokenLinkCreate()   X-Ref
Creates a link field with a static title and an admin-entered token.
Creates a node with a link and checks the title value.


testStaticTokenLinkCreate2()   X-Ref
Creates a link field with a static title and an admin-entered token.
Creates a node with a link and checks the title value.

Basically, I want to make sure the [title-raw] token works, because it's a
token that changes from node to node, where [type]'s always going to be the
same.

test_Link_With_Title_Attribute_token_url_form()   X-Ref
No description

test_Link_With_Title_Attribute_token_title_form()   X-Ref
If the title of the link is set to the title attribute, then the title
attribute isn't supposed to show.


testUserTokenLinkCreateInURL()   X-Ref
Trying to set the url to contain a token.


testUserTokenLinkCreateInURL2()   X-Ref
Trying to set the url to contain a token.




Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7