[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/pathauto/ -> pathauto.test (summary)

(no description)

File Size: 830 lines (30 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 includes/locale.inc

Defines 7 classes

PathautoTestHelper:: (19 methods):
  setUp()
  assertToken()
  assertTokens()
  saveAlias()
  saveEntityAlias()
  assertEntityAlias()
  assertEntityAliasExists()
  assertNoEntityAlias()
  assertNoEntityAliasExists()
  assertAlias()
  assertAliasExists()
  assertNoAliasExists()
  entity_uri()
  path_load()
  deleteAllAliases()
  addVocabulary()
  addTerm()
  addNodeType()
  assertEntityPattern()

PathautoUnitTestCase:: (10 methods):
  getInfo()
  setUp()
  testGetSchemaAliasMaxLength()
  testCleanString()
  testFeedAliases()
  testGetRawTokens()
  testUpdateActions()
  testNoTokensNoAlias()
  testEntityBundleRenamingDeleting()
  testNoExistingPathAliases()

PathautoFunctionalTestHelper:: (1 method):
  setUp()

PathautoFunctionalTestCase:: (6 methods):
  getInfo()
  testNodeEditing()
  testNodeOperations()
  testUserOperations()
  testSettingsValidation()
  testPatternsValidation()

PathautoLocaleTestCase:: (3 methods):
  getInfo()
  setUp()
  testLanguageAliases()

PathautoBookTokenTestCase:: (3 methods):
  getInfo()
  setUp()
  testBookPathAlias()

PathautoTaxonomyTokenTestCase:: (4 methods):
  getInfo()
  setUp()
  testCatTokens()
  testTermTokens()


Class: PathautoTestHelper  - X-Ref

Helper test class with some added functions for testing.

setUp(array $modules = array()   X-Ref
No description

assertToken($type, $object, $token, $expected)   X-Ref
No description

assertTokens($type, $object, array $tokens)   X-Ref
No description

saveAlias($source, $alias, $language = '')   X-Ref
No description

saveEntityAlias($entity_type, $entity, $alias, $language = '')   X-Ref
No description

assertEntityAlias($entity_type, $entity, $expected_alias, $language = '')   X-Ref
No description

assertEntityAliasExists($entity_type, $entity)   X-Ref
No description

assertNoEntityAlias($entity_type, $entity, $language = '')   X-Ref
No description

assertNoEntityAliasExists($entity_type, $entity)   X-Ref
No description

assertAlias($source, $expected_alias, $language = '')   X-Ref
No description

assertAliasExists($conditions)   X-Ref
No description

assertNoAliasExists($conditions)   X-Ref
No description

entity_uri($entity_type, $entity)   X-Ref
Backport of Drupal 7's entity_uri() function.


path_load($conditions)   X-Ref
Backport of Drupal 7's path_load() function.


deleteAllAliases()   X-Ref
No description

addVocabulary(array $vocabulary = array()   X-Ref
No description

addTerm(stdClass $vocabulary, array $term = array()   X-Ref
No description

addNodeType(array $type)   X-Ref
No description

assertEntityPattern($entity_type, $bundle, $language = '', $expected)   X-Ref
No description

Class: PathautoUnitTestCase  - X-Ref

Unit tests for Pathauto functions.

getInfo()   X-Ref
No description

setUp(array $modules = array()   X-Ref
No description

testGetSchemaAliasMaxLength()   X-Ref
Test _pathauto_get_schema_alias_maxlength().


testCleanString()   X-Ref
Test pathauto_cleanstring().


testFeedAliases()   X-Ref
Test the feed alias functionality of pathauto_create_alias().


testGetRawTokens()   X-Ref
Test _pathauto_get_raw_tokens().


testUpdateActions()   X-Ref
Test the different update actions in pathauto_create_alias().


testNoTokensNoAlias()   X-Ref
Test that pathauto_create_alias() will not create an alias for a pattern
that does not get any tokens replaced.


testEntityBundleRenamingDeleting()   X-Ref
No description

testNoExistingPathAliases()   X-Ref
No description

Class: PathautoFunctionalTestHelper  - X-Ref

Helper test class with some added functions for testing.

setUp(array $modules = array()   X-Ref
No description

Class: PathautoFunctionalTestCase  - X-Ref

Test basic pathauto functionality.

getInfo()   X-Ref
No description

testNodeEditing()   X-Ref
Basic functional testing of Pathauto.


testNodeOperations()   X-Ref
Test node operations.


testUserOperations()   X-Ref
Test user operations.


testSettingsValidation()   X-Ref
No description

testPatternsValidation()   X-Ref
No description

Class: PathautoLocaleTestCase  - X-Ref

getInfo()   X-Ref
No description

setUp(array $modules = array()   X-Ref
No description

testLanguageAliases()   X-Ref
Test that when an English node is updated, its old English alias is
updated and its newer French alias is left intact.


Class: PathautoBookTokenTestCase  - X-Ref

getInfo()   X-Ref
No description

setUp(array $modules = array()   X-Ref
No description

testBookPathAlias()   X-Ref
No description

Class: PathautoTaxonomyTokenTestCase  - X-Ref

getInfo()   X-Ref
No description

setUp(array $modules = array()   X-Ref
No description

testCatTokens()   X-Ref
Test the [catpath] and [catalias] tokens.


testTermTokens()   X-Ref
Test the [termpath] token.




Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7