| @@ 70-83 (lines=14) @@ | ||
| 67 | ]]); |
|
| 68 | } |
|
| 69 | ||
| 70 | public function testIgnoredServices() |
|
| 71 | { |
|
| 72 | $this->assertEquals( |
|
| 73 | [ |
|
| 74 | "ignored_services" => ["foo"], |
|
| 75 | "preferred_services" => [], |
|
| 76 | "fast_annotation_checks" => [], |
|
| 77 | "fast_annotation_checks_enabled" => true, |
|
| 78 | ], |
|
| 79 | $this->processor->process($this->configTreeBuilder->buildTree(), ["autowiring" => [ |
|
| 80 | "ignored_services" => ["foo"] |
|
| 81 | ]]) |
|
| 82 | ); |
|
| 83 | } |
|
| 84 | ||
| 85 | public function testPreferredServicesInvalid() |
|
| 86 | { |
|
| @@ 93-106 (lines=14) @@ | ||
| 90 | ]]); |
|
| 91 | } |
|
| 92 | ||
| 93 | public function testPreferredServices() |
|
| 94 | { |
|
| 95 | $this->assertEquals( |
|
| 96 | [ |
|
| 97 | "ignored_services" => [], |
|
| 98 | "preferred_services" => ["bar"], |
|
| 99 | "fast_annotation_checks" => [], |
|
| 100 | "fast_annotation_checks_enabled" => true, |
|
| 101 | ], |
|
| 102 | $this->processor->process($this->configTreeBuilder->buildTree(), ["autowiring" => [ |
|
| 103 | "preferred_services" => ["bar"] |
|
| 104 | ]]) |
|
| 105 | ); |
|
| 106 | } |
|
| 107 | ||
| 108 | public function testFastAnnotationChecksInvalid() |
|
| 109 | { |
|
| @@ 116-129 (lines=14) @@ | ||
| 113 | ]]); |
|
| 114 | } |
|
| 115 | ||
| 116 | public function testFastAnnotationChecks() |
|
| 117 | { |
|
| 118 | $this->assertEquals( |
|
| 119 | [ |
|
| 120 | "ignored_services" => [], |
|
| 121 | "preferred_services" => [], |
|
| 122 | "fast_annotation_checks" => ["@Foo", "@Bar"], |
|
| 123 | "fast_annotation_checks_enabled" => true, |
|
| 124 | ], |
|
| 125 | $this->processor->process($this->configTreeBuilder->buildTree(), ["autowiring" => [ |
|
| 126 | "fast_annotation_checks" => ["@Foo", "@Bar"], |
|
| 127 | ]]) |
|
| 128 | ); |
|
| 129 | } |
|
| 130 | ||
| 131 | public function testFastAnnotationChecksEnabledInvalid() |
|
| 132 | { |
|