Definition at line 12 of file ProfilerTest.php.
◆ setUp()
Definition at line 24 of file ProfilerTest.php.
26 $this->expectOutputString(
'');
28 $this->createPartialMock(\
Magento\Framework\Profiler\Driver\Standard::class, [
'registerOutput']);
29 $this->_object = new \Magento\TestFramework\Bootstrap\Profiler($this->_driver);
◆ tearDown()
Definition at line 32 of file ProfilerTest.php.
34 $this->_driver =
null;
35 $this->_object =
null;
◆ testRegisterBambooProfiler()
testRegisterBambooProfiler |
( |
| ) |
|
Definition at line 50 of file ProfilerTest.php.
52 $this->_driver->expects(
57 $this->isInstanceOf(\
Magento\TestFramework\Profiler\OutputBamboo::class)
59 $this->_object->registerBambooProfiler(
'php://output',
__DIR__ .
'/_files/metrics.php');
defined('TESTS_BP')||define('TESTS_BP' __DIR__
◆ testRegisterFileProfiler()
testRegisterFileProfiler |
( |
| ) |
|
Definition at line 38 of file ProfilerTest.php.
40 $this->_driver->expects(
45 $this->isInstanceOf(\
Magento\Framework\Profiler\Driver\Standard\Output\Csvfile::class)
47 $this->_object->registerFileProfiler(
'php://output');
◆ $_driver
◆ $_object
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Bootstrap/ProfilerTest.php