@@ -39,7 +39,7 @@ public function testBasicFunctionality()
39
39
Tag console.command
40
40
-------- -----------------
41
41
EOD ;
42
- $ this ->assertContains ($ expectedOutput , $ tester ->getDisplay ());
42
+ $ this ->assertContains ($ expectedOutput , $ tester ->getDisplay (true ));
43
43
}
44
44
45
45
public function testSearchArgument ()
@@ -52,8 +52,8 @@ public function testSearchArgument()
52
52
$ tester = new ApplicationTester ($ application );
53
53
$ tester ->run (array ('command ' => 'debug:autoconfiguration ' , 'search ' => 'logger ' ));
54
54
55
- $ this ->assertContains ('Psr\Log\LoggerAwareInterface ' , $ tester ->getDisplay ());
56
- $ this ->assertNotContains ('Sensio\Bundle\FrameworkExtraBundle ' , $ tester ->getDisplay ());
55
+ $ this ->assertContains ('Psr\Log\LoggerAwareInterface ' , $ tester ->getDisplay (true ));
56
+ $ this ->assertNotContains ('Sensio\Bundle\FrameworkExtraBundle ' , $ tester ->getDisplay (true ));
57
57
}
58
58
59
59
public function testAutoconfigurationWithMethodCalls ()
@@ -66,12 +66,12 @@ public function testAutoconfigurationWithMethodCalls()
66
66
$ tester = new ApplicationTester ($ application );
67
67
$ tester ->run (array ('command ' => 'debug:autoconfiguration ' , 'search ' => 'MethodCalls ' ));
68
68
69
- $ this ->assertContains ('Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\DebugAutoconfigurationBundle\Autoconfiguration\MethodCalls ' , $ tester ->getDisplay ());
69
+ $ this ->assertContains ('Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\DebugAutoconfigurationBundle\Autoconfiguration\MethodCalls ' , $ tester ->getDisplay (true ));
70
70
$ expectedMethodCallOutput = <<<EOD
71
71
Method call - [setMethodOne, ['@logger']]
72
72
- [setMethodTwo, [[paramOne, paramOne]]]
73
73
EOD ;
74
- $ this ->assertContains ($ expectedMethodCallOutput , $ tester ->getDisplay ());
74
+ $ this ->assertContains ($ expectedMethodCallOutput , $ tester ->getDisplay (true ));
75
75
}
76
76
77
77
public function testAutoconfigurationWithMultipleTagsAttributes ()
@@ -84,7 +84,7 @@ public function testAutoconfigurationWithMultipleTagsAttributes()
84
84
$ tester = new ApplicationTester ($ application );
85
85
$ tester ->run (array ('command ' => 'debug:autoconfiguration ' , 'search ' => 'TagsAttributes ' ));
86
86
87
- $ this ->assertContains ('Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\DebugAutoconfigurationBundle\Autoconfiguration\TagsAttributes ' , $ tester ->getDisplay ());
87
+ $ this ->assertContains ('Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\DebugAutoconfigurationBundle\Autoconfiguration\TagsAttributes ' , $ tester ->getDisplay (true ));
88
88
$ expectedTagsAttributesOutput = <<<EOD
89
89
Tag debugautoconfiguration.tag1
90
90
Tag attribute [
@@ -100,7 +100,7 @@ public function testAutoconfigurationWithMultipleTagsAttributes()
100
100
]
101
101
]
102
102
EOD ;
103
- $ this ->assertContains ($ expectedTagsAttributesOutput , $ tester ->getDisplay ());
103
+ $ this ->assertContains ($ expectedTagsAttributesOutput , $ tester ->getDisplay (true ));
104
104
}
105
105
106
106
public function testAutoconfigurationWithBindings ()
@@ -113,13 +113,13 @@ public function testAutoconfigurationWithBindings()
113
113
$ tester = new ApplicationTester ($ application );
114
114
$ tester ->run (array ('command ' => 'debug:autoconfiguration ' , 'search ' => 'Bindings ' ));
115
115
116
- $ this ->assertContains ('Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\DebugAutoconfigurationBundle\Autoconfiguration\Bindings ' , $ tester ->getDisplay ());
116
+ $ this ->assertContains ('Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\DebugAutoconfigurationBundle\Autoconfiguration\Bindings ' , $ tester ->getDisplay (true ));
117
117
$ expectedTagsAttributesOutput = <<<'EOD'
118
118
Bindings $paramOne: '@logger'
119
119
$paramTwo: 'binding test'
120
120
121
121
EOD;
122
- $ this ->assertContains ($ expectedTagsAttributesOutput , $ tester ->getDisplay ());
122
+ $ this ->assertContains ($ expectedTagsAttributesOutput , $ tester ->getDisplay (true ));
123
123
}
124
124
125
125
public function testSearchIgnoreBackslashWhenFindingInterfaceOrClass ()
@@ -131,7 +131,7 @@ public function testSearchIgnoreBackslashWhenFindingInterfaceOrClass()
131
131
132
132
$ tester = new ApplicationTester ($ application );
133
133
$ tester ->run (array ('command ' => 'debug:autoconfiguration ' , 'search ' => 'PsrLogLoggerAwareInterface ' ));
134
- $ this ->assertContains ('Psr\Log\LoggerAwareInterface ' , $ tester ->getDisplay ());
134
+ $ this ->assertContains ('Psr\Log\LoggerAwareInterface ' , $ tester ->getDisplay (true ));
135
135
}
136
136
137
137
public function testSearchNoResults ()
0 commit comments