‪TYPO3CMS  ‪main
TYPO3\CMS\Workspaces\Tests\Unit\Controller\Remote\RemoteServerTest Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\Tests\Unit\Controller\Remote\RemoteServerTest:

Public Member Functions

 prepareFileReferenceDifferencesAreCorrect (string $fileFileReferenceList, string $versionFileReferenceList, bool $useThumbnails, array $expected=null)
 

Static Public Member Functions

static prepareFileReferenceDifferencesAreCorrectDataProvider ()
 

Public Attributes

return $fileReferenceMocks
 

Protected Member Functions

array< non-empty-string, getFileReferenceMocks(string $idList):array { $fileReferenceMocks=[];$ids=GeneralUtility::trimExplode(',', $idList, true);foreach( $ids as $id) { $fileReferenceMocks[ $id]=$this-> getFileReferenceMock ($id)
 
 getFileReferenceMock (string $id)
 

Protected Attributes

bool $resetSingletonInstances = true
 
array $fileReferenceMocks
 

Detailed Description

Definition at line 30 of file RemoteServerTest.php.

Member Function Documentation

◆ getFileReferenceMock() [1/2]

array<non-empty-string, getFileReferenceMocks(string $idList): array { $fileReferenceMocks = []; $ids = GeneralUtility::trimExplode(',', $idList, true); foreach ($ids as $id) { $fileReferenceMocks[$id] = $this-> TYPO3\CMS\Workspaces\Tests\Unit\Controller\Remote\RemoteServerTest::getFileReferenceMock (   $id)
protected
Parameters
string$idList‪List of ids
Returns
‪array<non-empty-string, FileReference&MockObject>

◆ getFileReferenceMock() [2/2]

TYPO3\CMS\Workspaces\Tests\Unit\Controller\Remote\RemoteServerTest::getFileReferenceMock ( string  $id)
protected
Parameters
non-empty-string$id

Definition at line 137 of file RemoteServerTest.php.

◆ prepareFileReferenceDifferencesAreCorrect()

TYPO3\CMS\Workspaces\Tests\Unit\Controller\Remote\RemoteServerTest::prepareFileReferenceDifferencesAreCorrect ( string  $fileFileReferenceList,
string  $versionFileReferenceList,
bool  $useThumbnails,
array  $expected = null 
)
Parameters
array | null$expected

Definition at line 102 of file RemoteServerTest.php.

◆ prepareFileReferenceDifferencesAreCorrectDataProvider()

static TYPO3\CMS\Workspaces\Tests\Unit\Controller\Remote\RemoteServerTest::prepareFileReferenceDifferencesAreCorrectDataProvider ( )
static

Definition at line 39 of file RemoteServerTest.php.

Member Data Documentation

◆ $fileReferenceMocks [1/2]

array TYPO3\CMS\Workspaces\Tests\Unit\Controller\Remote\RemoteServerTest::$fileReferenceMocks
protected

Definition at line 37 of file RemoteServerTest.php.

◆ $fileReferenceMocks [2/2]

return TYPO3\CMS\Workspaces\Tests\Unit\Controller\Remote\RemoteServerTest::$fileReferenceMocks

Definition at line 131 of file RemoteServerTest.php.

◆ $resetSingletonInstances

bool TYPO3\CMS\Workspaces\Tests\Unit\Controller\Remote\RemoteServerTest::$resetSingletonInstances = true
protected

Definition at line 32 of file RemoteServerTest.php.