Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joelwurtz committed Jul 21, 2017
1 parent c50ffa8 commit cfd789c
Show file tree
Hide file tree
Showing 160 changed files with 1,005 additions and 38 deletions.
2 changes: 1 addition & 1 deletion tests/JaneOpenApiResourceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function testRessources(SplFileInfo $testDirectory)

$generatedData = [];

$this->assertEquals(count($expectedFinder), count($generatedFinder));
$this->assertEquals(count($expectedFinder), count($generatedFinder), 'Assert same files for ' . $testDirectory->getRealPath());

foreach ($generatedFinder as $generatedFile) {
$generatedData[$generatedFile->getRelativePathname()] = $generatedFile->getRealPath();
Expand Down
6 changes: 6 additions & 0 deletions tests/fixtures/all-of-merge/expected/Model/Config.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class Config
Expand Down
6 changes: 6 additions & 0 deletions tests/fixtures/all-of-merge/expected/Model/ConfigVolumes.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class ConfigVolumes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class ContainersCreateBody
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class ContainersCreateBodyNetworkingConfig
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class ContainersCreateResponse201
Expand Down
6 changes: 6 additions & 0 deletions tests/fixtures/all-of-merge/expected/Model/DeviceMapping.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class DeviceMapping
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class EndpointSettings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class EndpointSettingsIPAMConfig
Expand Down
6 changes: 6 additions & 0 deletions tests/fixtures/all-of-merge/expected/Model/HealthConfig.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class HealthConfig
Expand Down
6 changes: 6 additions & 0 deletions tests/fixtures/all-of-merge/expected/Model/HostConfig.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class HostConfig
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class HostConfigLogConfig
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class HostConfigPortBindingsItem
Expand Down
6 changes: 6 additions & 0 deletions tests/fixtures/all-of-merge/expected/Model/Mount.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class Mount
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class MountBindOptions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class MountTmpfsOptions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class MountVolumeOptions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class MountVolumeOptionsDriverConfig
Expand Down
6 changes: 6 additions & 0 deletions tests/fixtures/all-of-merge/expected/Model/Resources.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class Resources
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class ResourcesBlkioWeightDeviceItem
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class ResourcesUlimitsItem
Expand Down
6 changes: 6 additions & 0 deletions tests/fixtures/all-of-merge/expected/Model/RestartPolicy.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class RestartPolicy
Expand Down
6 changes: 6 additions & 0 deletions tests/fixtures/all-of-merge/expected/Model/ThrottleDevice.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Model;

class ThrottleDevice
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Normalizer;

use Symfony\Component\Serializer\Exception\InvalidArgumentException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Normalizer;

use Symfony\Component\Serializer\Exception\InvalidArgumentException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Normalizer;

use Symfony\Component\Serializer\Exception\InvalidArgumentException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Normalizer;

use Symfony\Component\Serializer\Exception\InvalidArgumentException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Normalizer;

use Symfony\Component\Serializer\Exception\InvalidArgumentException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Normalizer;

use Symfony\Component\Serializer\Exception\InvalidArgumentException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Normalizer;

use Symfony\Component\Serializer\Exception\InvalidArgumentException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Normalizer;

use Symfony\Component\Serializer\Exception\InvalidArgumentException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Normalizer;

use Symfony\Component\Serializer\Exception\InvalidArgumentException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Joli\Jane\OpenApi\Tests\Expected\Normalizer;

use Symfony\Component\Serializer\Exception\InvalidArgumentException;
Expand Down
Loading

0 comments on commit cfd789c

Please sign in to comment.