TYPO3 CMS  TYPO3_6-2
AbstractMemoryTest.php
Go to the documentation of this file.
1 <?php
3 
23 
28  public function getRealMemoryUsageGetsRealMemoryUsage() {
30  $processor = $this->getMockForAbstractClass('TYPO3\\CMS\\Core\\Log\\Processor\\AbstractMemoryProcessor');
31  $this->assertAttributeEquals($processor->getRealMemoryUsage(), 'realMemoryUsage', $processor);
32  }
33 
38  public function setRealMemoryUsageSetsRealMemoryUsage() {
40  $processor = $this->getMockForAbstractClass('TYPO3\\CMS\\Core\\Log\\Processor\\AbstractMemoryProcessor');
41  $processor->setRealMemoryUsage(FALSE);
42  $this->assertAttributeEquals(FALSE, 'realMemoryUsage', $processor);
43  }
44 
49  public function getFormatSizeGetsFormatSize() {
51  $processor = $this->getMockForAbstractClass('TYPO3\\CMS\\Core\\Log\\Processor\\AbstractMemoryProcessor');
52  $this->assertAttributeEquals($processor->getFormatSize(), 'formatSize', $processor);
53  }
54 
59  public function setFormatSizeSetsFormatSize() {
61  $processor = $this->getMockForAbstractClass('TYPO3\\CMS\\Core\\Log\\Processor\\AbstractMemoryProcessor');
62  $processor->setFormatSize(FALSE);
63  $this->assertAttributeEquals(FALSE, 'formatSize', $processor);
64  }
65 
66 }