TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
JavaScriptEncoderTest Class Reference
Inheritance diagram for JavaScriptEncoderTest:
UnitTestCase BaseTestCase

Public Member Functions

 encodeEncodesCorrectlyDataProvider ()
 
 encodeEncodesCorrectly ($input, $expected)
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $subject = null
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test cases for TYPO3.

Definition at line 20 of file JavaScriptEncoderTest.php.

Member Function Documentation

encodeEncodesCorrectly (   $input,
  $expected 
)
Test:
Parameters
string$input
string$expectedencodeEncodesCorrectlyDataProvider

Definition at line 85 of file JavaScriptEncoderTest.php.

encodeEncodesCorrectlyDataProvider ( )

Data provider for encodeEncodesCorrectly.

Returns
array

Definition at line 37 of file JavaScriptEncoderTest.php.

setUp ( )
protected

Definition at line 27 of file JavaScriptEncoderTest.php.

Member Data Documentation

$subject = null
protected

Definition at line 25 of file JavaScriptEncoderTest.php.