| 13 | | $h = new lime_harness(new lime_output_color()); |
|---|
| | 13 | class lime_symfony extends lime_harness |
|---|
| | 14 | { |
|---|
| | 15 | protected function get_relative_file($file) |
|---|
| | 16 | { |
|---|
| | 17 | $file = str_replace(DIRECTORY_SEPARATOR, '/', str_replace(array( |
|---|
| | 18 | realpath($this->base_dir).DIRECTORY_SEPARATOR, |
|---|
| | 19 | realpath($this->base_dir.'/../lib/plugins').DIRECTORY_SEPARATOR, |
|---|
| | 20 | $this->extension, |
|---|
| | 21 | ), '', $file)); |
|---|
| | 22 | |
|---|
| | 23 | return preg_replace('#^(.*?)Plugin/test/(unit|functional)/#', '[$1] $2/', $file); |
|---|
| | 24 | } |
|---|
| | 25 | } |
|---|
| | 26 | |
|---|
| | 27 | $h = new lime_symfony(new lime_output_color()); |
|---|