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

Public Member Functions

 piSetPiVarDefaultsStdWrapProvider ()
 
 piSetPiVarDefaultsStdWrap ($input, $expected)
 
 registeredResultBrowserProvider ()
 
 registeredResultBrowsersAreUsed ($className, $returnValue, $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

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

Detailed Description

Testcase for TYPO3

Definition at line 26 of file AbstractPluginTest.php.

Member Function Documentation

piSetPiVarDefaultsStdWrap (   $input,
  $expected 
)
Test:
piSetPiVarDefaultsStdWrapProvider

Definition at line 135 of file AbstractPluginTest.php.

References AbstractPluginTest\$defaultPiVars.

piSetPiVarDefaultsStdWrapProvider ( )

Data provider for piSetPiVarDefaultsStdWrap

Returns
array input-array with configuration and stdWrap, expected output-array in piVars

Definition at line 63 of file AbstractPluginTest.php.

registeredResultBrowserProvider ( )

Data provider for multiple registered result browser implementations

Returns
array

Definition at line 149 of file AbstractPluginTest.php.

References BaseTestCase\getUniqueId().

registeredResultBrowsersAreUsed (   $className,
  $returnValue,
  $expected 
)
Test:
registeredResultBrowserProvider
Parameters
string$className
mixed$returnValue
string$expected

Definition at line 203 of file AbstractPluginTest.php.

References $GLOBALS, and GeneralUtility\addInstance().

setUp ( )
protected

Sets up this testcase

Definition at line 41 of file AbstractPluginTest.php.

References $GLOBALS.

Member Data Documentation

$abstractPlugin
protected

Definition at line 31 of file AbstractPluginTest.php.

$defaultPiVars
protected

Definition at line 36 of file AbstractPluginTest.php.

Referenced by AbstractPluginTest\piSetPiVarDefaultsStdWrap().