@@ 85-89 (lines=5) @@ | ||
82 | $mappaToCheck['BitPrepared/Bundle/FormazioneBundle/Domain/Classes'][] = 'SampleClassWithNamespace'; |
|
83 | $mappaToCheck[''][] = 'SampleClass'; |
|
84 | ||
85 | foreach ($mappaToCheck as $namespace => $classList) { |
|
86 | foreach ($classList as $className) { |
|
87 | $this->compareClassPhp($resourcesDir.'/ddd/generated/'.$namespace, $namespace, $className, $directorySrcGen); |
|
88 | } |
|
89 | } |
|
90 | ||
91 | // $namespace = 'BitPrepared/Bundle/FormazioneBundle/Domain/ValueObject'; |
|
92 | // $className = 'Sessione'; |
|
@@ 208-212 (lines=5) @@ | ||
205 | $mappaToCheck['BitPrepared/Bundle/EventBundle/Domain/Events'][] = 'SpiegazioneSessioneCampoAddDocumentEvent'; |
|
206 | $mappaToCheck['BitPrepared/Bundle/EventBundle/Domain/Aggregate'][] = 'SpiegazioneSessioneCampo'; |
|
207 | ||
208 | foreach ($mappaToCheck as $namespace => $classList) { |
|
209 | foreach ($classList as $className) { |
|
210 | $this->compareClassPhp($resourcesDir.'/ddd/generated/'.$namespace, $namespace, $className, $directorySrcGen); |
|
211 | } |
|
212 | } |
|
213 | ||
214 | $errors = $dddg->getErrors(); |
|
215 | $this->assertCount(0, $errors, 'errori durante la generazione'); |
@@ 59-63 (lines=5) @@ | ||
56 | $mappaToCheck['AppBundle/Controller'][] = 'WorkspaceController'; |
|
57 | $mappaToCheck['AppBundle/Controller'][] = 'StreamController'; |
|
58 | ||
59 | foreach ($mappaToCheck as $namespace => $classList) { |
|
60 | foreach ($classList as $className) { |
|
61 | $this->compareClassPhp($resourcesDir.'/raml/generated/'.$namespace, $namespace, $className, $directoryOutput, true); |
|
62 | } |
|
63 | } |
|
64 | ||
65 | // $routingFile = 'AppBundle/Resources/config/routing.yml'; |
|
66 | // $this->compareFile($resourcesDir.'/raml/generated/', $directoryOutput, $routingFile, false); |