Home
last modified time | relevance | path

Searched refs:tmpFileFactory (Results 1 – 25 of 27) sorted by relevance

12

/dports/www/mediawiki137/mediawiki-1.37.1/tests/phpunit/unit/includes/filebackend/
H A DFileBackendGroupTestTrait.php51 private $tmpFileFactory; variable
229 'tmpFileFactory' => $this->tmpFileFactory,
258 $this->assertSame( $this->tmpFileFactory, $config['tmpFileFactory'] );
407 $tmpFileFactory = $this->createMock( TempFSFileFactory::class );
410 $tmpFileFactory->expects( $this->never() )->method( 'newTempFSFile' );
419 $tmpFileFactory->expects( $this->once() )->method( 'newTempFSFile' )
424 $tmpFileFactory->expects( $this->never() )->method( 'newTempFSFile' );
430 $tmpFileFactory->expects( $this->never() )
435 'tmpFileFactory' => $tmpFileFactory,
H A DFileBackendGroupTest.php70 if ( !$this->tmpFileFactory ) {
71 $this->tmpFileFactory = $this->getNoOpMock( TempFSFileFactory::class );
73 return $this->tmpFileFactory;
/dports/www/mediawiki136/mediawiki-1.36.3/tests/phpunit/unit/includes/filebackend/
H A DFileBackendGroupTestTrait.php52 private $tmpFileFactory; variable
230 'tmpFileFactory' => $this->tmpFileFactory,
259 $this->assertSame( $this->tmpFileFactory, $config['tmpFileFactory'] );
408 $tmpFileFactory = $this->createMock( TempFSFileFactory::class );
411 $tmpFileFactory->expects( $this->never() )->method( 'newTempFSFile' );
420 $tmpFileFactory->expects( $this->once() )->method( 'newTempFSFile' )
425 $tmpFileFactory->expects( $this->never() )->method( 'newTempFSFile' );
431 $tmpFileFactory->expects( $this->never() )
436 'tmpFileFactory' => $tmpFileFactory,
H A DFileBackendGroupTest.php70 if ( !$this->tmpFileFactory ) {
71 $this->tmpFileFactory = $this->getNoOpMock( TempFSFileFactory::class );
73 return $this->tmpFileFactory;
/dports/www/mediawiki135/mediawiki-1.35.5/tests/phpunit/unit/includes/filebackend/
H A DFileBackendGroupTestTrait.php50 private $tmpFileFactory; variable
228 'tmpFileFactory' => $this->tmpFileFactory,
257 $this->assertSame( $this->tmpFileFactory, $config['tmpFileFactory'] );
406 $tmpFileFactory = $this->createMock( TempFSFileFactory::class );
409 $tmpFileFactory->expects( $this->never() )->method( 'newTempFSFile' );
418 $tmpFileFactory->expects( $this->once() )->method( 'newTempFSFile' )
423 $tmpFileFactory->expects( $this->never() )->method( 'newTempFSFile' );
429 $tmpFileFactory->expects( $this->never() )
434 'tmpFileFactory' => $tmpFileFactory,
H A DFileBackendGroupTest.php69 if ( !$this->tmpFileFactory ) {
70 $this->tmpFileFactory = $this->getNoOpMock( TempFSFileFactory::class );
72 return $this->tmpFileFactory;
/dports/www/mediawiki135/mediawiki-1.35.5/includes/filebackend/
H A DFileBackendGroup.php60 private $tmpFileFactory; variable in FileBackendGroup
100 * @param TempFSFileFactory $tmpFileFactory
110 TempFSFileFactory $tmpFileFactory, argument
118 $this->tmpFileFactory = $tmpFileFactory;
243 'tmpFileFactory' => $this->tmpFileFactory,
299 $tmpFile = $this->tmpFileFactory->newTempFSFile( 'mime_', '' );
/dports/www/mediawiki136/mediawiki-1.36.3/includes/filebackend/
H A DFileBackendGroup.php60 private $tmpFileFactory; variable in FileBackendGroup
98 * @param TempFSFileFactory $tmpFileFactory
108 TempFSFileFactory $tmpFileFactory, argument
116 $this->tmpFileFactory = $tmpFileFactory;
241 'tmpFileFactory' => $this->tmpFileFactory,
297 $tmpFile = $this->tmpFileFactory->newTempFSFile( 'mime_', '' );
/dports/www/mediawiki137/mediawiki-1.37.1/includes/filebackend/
H A DFileBackendGroup.php60 private $tmpFileFactory;
103 * @param TempFSFileFactory $tmpFileFactory
113 TempFSFileFactory $tmpFileFactory,
121 $this->tmpFileFactory = $tmpFileFactory;
246 'tmpFileFactory' => $this->tmpFileFactory,
302 $tmpFile = $this->tmpFileFactory->newTempFSFile( 'mime_', '' );
/dports/www/mediawiki137/mediawiki-1.37.1/tests/phpunit/unit/includes/libs/filebackend/
H A DFileBackendTest.php234 $tmpFileFactory = new TempFSFileFactory( 'some_unique_path' );
279 'tmpFileFactory set' => [ 'tmpFileFactory', $tmpFileFactory,
280 [ 'tmpFileFactory' => $tmpFileFactory ] ],
284 [ 'tmpDirectory' => 'dir', 'tmpFileFactory' => $tmpFileFactory, 'inexact' => true ],
286 'tmpDirectory null and tmpFileFactory set' => [ 'tmpFileFactory', $tmpFileFactory,
287 [ 'tmpDirectory' => null, 'tmpFileFactory' => $tmpFileFactory ] ],
/dports/www/mediawiki136/mediawiki-1.36.3/tests/phpunit/unit/includes/libs/filebackend/
H A DFileBackendTest.php234 $tmpFileFactory = new TempFSFileFactory( 'some_unique_path' );
279 'tmpFileFactory set' => [ 'tmpFileFactory', $tmpFileFactory,
280 [ 'tmpFileFactory' => $tmpFileFactory ] ],
284 [ 'tmpDirectory' => 'dir', 'tmpFileFactory' => $tmpFileFactory, 'inexact' => true ],
286 'tmpDirectory null and tmpFileFactory set' => [ 'tmpFileFactory', $tmpFileFactory,
287 [ 'tmpDirectory' => null, 'tmpFileFactory' => $tmpFileFactory ] ],
/dports/www/mediawiki135/mediawiki-1.35.5/tests/phpunit/unit/includes/libs/filebackend/
H A DFileBackendTest.php239 $tmpFileFactory = new TempFSFileFactory( 'some_unique_path' );
284 'tmpFileFactory set' => [ 'tmpFileFactory', $tmpFileFactory,
285 [ 'tmpFileFactory' => $tmpFileFactory ] ],
289 [ 'tmpDirectory' => 'dir', 'tmpFileFactory' => $tmpFileFactory, 'inexact' => true ],
291 'tmpDirectory null and tmpFileFactory set' => [ 'tmpFileFactory', $tmpFileFactory,
292 [ 'tmpDirectory' => null, 'tmpFileFactory' => $tmpFileFactory ] ],
/dports/www/mediawiki135/mediawiki-1.35.5/tests/phpunit/includes/filerepo/
H A DLocalRepoTest.php210 $tmpFileFactory = MediaWikiServices::getInstance()->getTempFSFileFactory();
212 $fsFile = $tmpFileFactory->newTempFSFile( '' );
/dports/www/mediawiki136/mediawiki-1.36.3/tests/phpunit/includes/filerepo/
H A DLocalRepoTest.php217 $tmpFileFactory = MediaWikiServices::getInstance()->getTempFSFileFactory();
219 $fsFile = $tmpFileFactory->newTempFSFile( '' );
/dports/www/mediawiki137/mediawiki-1.37.1/tests/phpunit/includes/filerepo/
H A DLocalRepoTest.php229 $tmpFileFactory = MediaWikiServices::getInstance()->getTempFSFileFactory();
231 $fsFile = $tmpFileFactory->newTempFSFile( '' );
/dports/www/mediawiki135/mediawiki-1.35.5/includes/libs/filebackend/
H A DFileBackend.php115 protected $tmpFileFactory; variable in FileBackend
233 $this->tmpFileFactory = new TempFSFileFactory( $config['tmpDirectory'] );
235 $this->tmpFileFactory = $config['tmpFileFactory'] ?? new TempFSFileFactory();
H A DMemoryFileBackend.php176 $fsFile = $this->tmpFileFactory->newTempFSFile( 'localcopy_', $ext );
H A DFSFileBackend.php741 $tmpFile = $this->tmpFileFactory->newTempFSFile( 'localcopy_', $ext );
942 $tempFile = $this->tmpFileFactory->newTempFSFile( 'create_', 'tmp' );
H A DSwiftFileBackend.php1203 $tmpFile = $this->tmpFileFactory->newTempFSFile( 'localcopy_', $ext );
/dports/www/mediawiki136/mediawiki-1.36.3/includes/libs/filebackend/
H A DFileBackend.php115 protected $tmpFileFactory; variable in FileBackend
233 $this->tmpFileFactory = new TempFSFileFactory( $config['tmpDirectory'] );
235 $this->tmpFileFactory = $config['tmpFileFactory'] ?? new TempFSFileFactory();
H A DMemoryFileBackend.php176 $fsFile = $this->tmpFileFactory->newTempFSFile( 'localcopy_', $ext );
H A DFSFileBackend.php741 $tmpFile = $this->tmpFileFactory->newTempFSFile( 'localcopy_', $ext );
942 $tempFile = $this->tmpFileFactory->newTempFSFile( 'create_', 'tmp' );
/dports/www/mediawiki137/mediawiki-1.37.1/includes/libs/filebackend/
H A DFileBackend.php115 protected $tmpFileFactory; variable in FileBackend
233 $this->tmpFileFactory = new TempFSFileFactory( $config['tmpDirectory'] );
235 $this->tmpFileFactory = $config['tmpFileFactory'] ?? new TempFSFileFactory();
H A DMemoryFileBackend.php176 $fsFile = $this->tmpFileFactory->newTempFSFile( 'localcopy_', $ext );
H A DFSFileBackend.php741 $tmpFile = $this->tmpFileFactory->newTempFSFile( 'localcopy_', $ext );
942 $tempFile = $this->tmpFileFactory->newTempFSFile( 'create_', 'tmp' );

12