Drupal 8  8.0.2
UrlRewritingTest Class Reference
Inheritance diagram for UrlRewritingTest:

Public Member Functions

 testShippedFileURL ()
 
 testPublicManagedFileURL ()
 
 testRelativeFileURL ()
 
- Public Member Functions inherited from FileTestBase
 assertFilePermissions ($filepath, $expected_mode, $message=NULL)
 
 assertDirectoryPermissions ($directory, $expected_mode, $message=NULL)
 
 createDirectory ($path=NULL)
 
 createUri ($filepath=NULL, $contents=NULL, $scheme=NULL)
 

Static Public Attributes

static $modules = array('file_test')
 
- Static Public Attributes inherited from FileTestBase
static $modules = array('system')
 

Additional Inherited Members

- Protected Member Functions inherited from FileTestBase
 setUp ()
 
- Protected Attributes inherited from FileTestBase
 $scheme
 
 $classname
 

Detailed Description

Tests for file URL rewriting.

File

Member Function Documentation

testPublicManagedFileURL ( )

Tests the rewriting of public managed file URLs by hook_file_url_alter().

References FileTestBase\createUri(), drupal_basename(), file_create_url(), Drupal\service(), and Drupal\state().

Here is the call graph for this function:

testRelativeFileURL ( )

Test file_url_transform_relative().

References FileTestBase\createUri(), drupal_basename(), file_create_url(), file_url_transform_relative(), Drupal\service(), Drupal\setContainer(), and Drupal\state().

Here is the call graph for this function:

testShippedFileURL ( )

Tests the rewriting of shipped file URLs by hook_file_url_alter().

References file_create_url(), and Drupal\state().

Here is the call graph for this function:


The documentation for this class was generated from the following file: