| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 14 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | $this->assertDisplayContains($input, 'Threads_connected'); |
||
| 16 | $this->assertDisplayContains($input, 'Innodb_buffer_pool_wait_free'); |
||
| 17 | $this->assertDisplayContains($input, 'InnoDB Buffer Pool hit'); |
||
| 18 | $this->assertDisplayContains($input, 'Full table scans'); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function testSearch() |
||
| 22 | { |
||
| 23 | $input = array( |
||
| 24 | 'command' => 'db:status', |
||
| 25 | '--format' => 'csv', |
||
| 26 | 'search' => 'Innodb%', |
||
| 27 | ); |
||
| 28 | $this->assertDisplayContains($input, 'Innodb_buffer_pool_read_ahead_rnd'); |
||
| 29 | $this->assertDisplayContains($input, 'Innodb_buffer_pool_wait_free'); |
||
| 48 |