Drupal 8  8.0.2
StreamWrapperTest Class Reference
Inheritance diagram for StreamWrapperTest:

Public Member Functions

 setUp ()
 
 testGetClassName ()
 
 testGetInstanceByScheme ()
 
 testUriFunctions ()
 
 testFileFunctions ()
 
 testGetValidStreamScheme ()
 
- 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')
 

Protected Attributes

 $scheme = 'dummy'
 
 $classname = 'Drupal\file_test\StreamWrapper\DummyStreamWrapper'
 
- Protected Attributes inherited from FileTestBase
 $scheme
 
 $classname
 

Additional Inherited Members

- Protected Member Functions inherited from FileTestBase
 setUp ()
 

Detailed Description

Tests stream wrapper functions.

File

Member Function Documentation

testFileFunctions ( )

Test some file handle functions.

testGetClassName ( )

Test the getClassName() function.

References Drupal\service().

Here is the call graph for this function:

testGetInstanceByScheme ( )

Test the getViaScheme() method.

References Drupal\service().

Here is the call graph for this function:

testGetValidStreamScheme ( )

Test the scheme functions.

References file_stream_wrapper_valid_scheme(), and file_uri_scheme().

Here is the call graph for this function:

testUriFunctions ( )

Test the getViaUri() and getViaScheme() methods and target functions.

References PublicStream\basePath(), Drupal\config(), file_build_uri(), file_create_url(), file_uri_target(), Settings\get(), Drupal\service(), and t().

Here is the call graph for this function:


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