Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ class {{userClassname}}Test extends TestCase
*/
public function test{{operationIdCamelCase}}()
{
$this->markTestIncomplete(
'Test of "{{operationId}}" method has not been implemented yet.'
);
}
{{/operation}}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ class {{classname}}Test extends TestCase
public function test{{classname}}()
{
$test{{classname}} = new {{classname}}();
$this->markTestIncomplete(
'Test of "{{classname}}" model has not been implemented yet.'
);
}
{{#vars}}

Expand All @@ -93,6 +96,9 @@ class {{classname}}Test extends TestCase
*/
public function testProperty{{nameInCamelCase}}()
{
$this->markTestIncomplete(
'Test of "{{name}}" property in "{{classname}}" model has not been implemented yet.'
);
}
{{/vars}}

Expand Down
54 changes: 54 additions & 0 deletions samples/server/petstore/php-slim4/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,61 @@ lib/Utils/ModelUtilsTrait.php
lib/Utils/StringUtilsTrait.php
phpcs.xml.dist
phpunit.xml.dist
test/Api/AnotherFakeApiTest.php
test/Api/FakeApiTest.php
test/Api/FakeClassnameTags123ApiTest.php
test/Api/PetApiTest.php
test/Api/StoreApiTest.php
test/Api/UserApiTest.php
test/Mock/OpenApiDataMockerMiddlewareTest.php
test/Mock/OpenApiDataMockerTest.php
test/Model/AdditionalPropertiesAnyTypeTest.php
test/Model/AdditionalPropertiesArrayTest.php
test/Model/AdditionalPropertiesBooleanTest.php
test/Model/AdditionalPropertiesClassTest.php
test/Model/AdditionalPropertiesIntegerTest.php
test/Model/AdditionalPropertiesNumberTest.php
test/Model/AdditionalPropertiesObjectTest.php
test/Model/AdditionalPropertiesStringTest.php
test/Model/AnimalTest.php
test/Model/ApiResponseTest.php
test/Model/ArrayOfArrayOfNumberOnlyTest.php
test/Model/ArrayOfNumberOnlyTest.php
test/Model/ArrayTestTest.php
test/Model/BigCatAllOfTest.php
test/Model/BigCatTest.php
test/Model/CapitalizationTest.php
test/Model/CatAllOfTest.php
test/Model/CatTest.php
test/Model/CategoryTest.php
test/Model/ClassModelTest.php
test/Model/ClientTest.php
test/Model/DogAllOfTest.php
test/Model/DogTest.php
test/Model/EnumArraysTest.php
test/Model/EnumClassTest.php
test/Model/EnumTestTest.php
test/Model/FileSchemaTestClassTest.php
test/Model/FileTest.php
test/Model/FormatTestTest.php
test/Model/HasOnlyReadOnlyTest.php
test/Model/MapTestTest.php
test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php
test/Model/Model200ResponseTest.php
test/Model/ModelListTest.php
test/Model/ModelReturnTest.php
test/Model/NameTest.php
test/Model/NumberOnlyTest.php
test/Model/OrderTest.php
test/Model/OuterCompositeTest.php
test/Model/OuterEnumTest.php
test/Model/PetTest.php
test/Model/ReadOnlyFirstTest.php
test/Model/SpecialModelNameTest.php
test/Model/TagTest.php
test/Model/TypeHolderDefaultTest.php
test/Model/TypeHolderExampleTest.php
test/Model/UserTest.php
test/Model/XmlItemTest.php
test/Utils/ModelUtilsTraitTest.php
test/Utils/StringUtilsTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,8 @@ public static function tearDownAfterClass()
*/
public function testCall123TestSpecialTags()
{
$this->markTestIncomplete(
'Test of "call123TestSpecialTags" method has not been implemented yet.'
);
}
}
44 changes: 43 additions & 1 deletion samples/server/petstore/php-slim4/test/Api/FakeApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ public static function tearDownAfterClass()
*/
public function testCreateXmlItem()
{
$this->markTestIncomplete(
'Test of "createXmlItem" method has not been implemented yet.'
);
}

/**
Expand All @@ -88,6 +91,9 @@ public function testCreateXmlItem()
*/
public function testFakeOuterBooleanSerialize()
{
$this->markTestIncomplete(
'Test of "fakeOuterBooleanSerialize" method has not been implemented yet.'
);
}

/**
Expand All @@ -99,6 +105,9 @@ public function testFakeOuterBooleanSerialize()
*/
public function testFakeOuterCompositeSerialize()
{
$this->markTestIncomplete(
'Test of "fakeOuterCompositeSerialize" method has not been implemented yet.'
);
}

/**
Expand All @@ -110,6 +119,9 @@ public function testFakeOuterCompositeSerialize()
*/
public function testFakeOuterNumberSerialize()
{
$this->markTestIncomplete(
'Test of "fakeOuterNumberSerialize" method has not been implemented yet.'
);
}

/**
Expand All @@ -121,6 +133,9 @@ public function testFakeOuterNumberSerialize()
*/
public function testFakeOuterStringSerialize()
{
$this->markTestIncomplete(
'Test of "fakeOuterStringSerialize" method has not been implemented yet.'
);
}

/**
Expand All @@ -132,6 +147,9 @@ public function testFakeOuterStringSerialize()
*/
public function testTestBodyWithFileSchema()
{
$this->markTestIncomplete(
'Test of "testBodyWithFileSchema" method has not been implemented yet.'
);
}

/**
Expand All @@ -143,6 +161,9 @@ public function testTestBodyWithFileSchema()
*/
public function testTestBodyWithQueryParams()
{
$this->markTestIncomplete(
'Test of "testBodyWithQueryParams" method has not been implemented yet.'
);
}

/**
Expand All @@ -154,17 +175,23 @@ public function testTestBodyWithQueryParams()
*/
public function testTestClientModel()
{
$this->markTestIncomplete(
'Test of "testClientModel" method has not been implemented yet.'
);
}

/**
* Test case for testEndpointParameters
*
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트.
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트.
*
* @covers ::testEndpointParameters
*/
public function testTestEndpointParameters()
{
$this->markTestIncomplete(
'Test of "testEndpointParameters" method has not been implemented yet.'
);
}

/**
Expand All @@ -176,6 +203,9 @@ public function testTestEndpointParameters()
*/
public function testTestEnumParameters()
{
$this->markTestIncomplete(
'Test of "testEnumParameters" method has not been implemented yet.'
);
}

/**
Expand All @@ -187,6 +217,9 @@ public function testTestEnumParameters()
*/
public function testTestGroupParameters()
{
$this->markTestIncomplete(
'Test of "testGroupParameters" method has not been implemented yet.'
);
}

/**
Expand All @@ -198,6 +231,9 @@ public function testTestGroupParameters()
*/
public function testTestInlineAdditionalProperties()
{
$this->markTestIncomplete(
'Test of "testInlineAdditionalProperties" method has not been implemented yet.'
);
}

/**
Expand All @@ -209,6 +245,9 @@ public function testTestInlineAdditionalProperties()
*/
public function testTestJsonFormData()
{
$this->markTestIncomplete(
'Test of "testJsonFormData" method has not been implemented yet.'
);
}

/**
Expand All @@ -220,5 +259,8 @@ public function testTestJsonFormData()
*/
public function testTestQueryParameterCollectionFormat()
{
$this->markTestIncomplete(
'Test of "testQueryParameterCollectionFormat" method has not been implemented yet.'
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,8 @@ public static function tearDownAfterClass()
*/
public function testTestClassname()
{
$this->markTestIncomplete(
'Test of "testClassname" method has not been implemented yet.'
);
}
}
27 changes: 27 additions & 0 deletions samples/server/petstore/php-slim4/test/Api/PetApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ public static function tearDownAfterClass()
*/
public function testAddPet()
{
$this->markTestIncomplete(
'Test of "addPet" method has not been implemented yet.'
);
}

/**
Expand All @@ -88,6 +91,9 @@ public function testAddPet()
*/
public function testDeletePet()
{
$this->markTestIncomplete(
'Test of "deletePet" method has not been implemented yet.'
);
}

/**
Expand All @@ -99,6 +105,9 @@ public function testDeletePet()
*/
public function testFindPetsByStatus()
{
$this->markTestIncomplete(
'Test of "findPetsByStatus" method has not been implemented yet.'
);
}

/**
Expand All @@ -110,6 +119,9 @@ public function testFindPetsByStatus()
*/
public function testFindPetsByTags()
{
$this->markTestIncomplete(
'Test of "findPetsByTags" method has not been implemented yet.'
);
}

/**
Expand All @@ -121,6 +133,9 @@ public function testFindPetsByTags()
*/
public function testGetPetById()
{
$this->markTestIncomplete(
'Test of "getPetById" method has not been implemented yet.'
);
}

/**
Expand All @@ -132,6 +147,9 @@ public function testGetPetById()
*/
public function testUpdatePet()
{
$this->markTestIncomplete(
'Test of "updatePet" method has not been implemented yet.'
);
}

/**
Expand All @@ -143,6 +161,9 @@ public function testUpdatePet()
*/
public function testUpdatePetWithForm()
{
$this->markTestIncomplete(
'Test of "updatePetWithForm" method has not been implemented yet.'
);
}

/**
Expand All @@ -154,6 +175,9 @@ public function testUpdatePetWithForm()
*/
public function testUploadFile()
{
$this->markTestIncomplete(
'Test of "uploadFile" method has not been implemented yet.'
);
}

/**
Expand All @@ -165,5 +189,8 @@ public function testUploadFile()
*/
public function testUploadFileWithRequiredFile()
{
$this->markTestIncomplete(
'Test of "uploadFileWithRequiredFile" method has not been implemented yet.'
);
}
}
12 changes: 12 additions & 0 deletions samples/server/petstore/php-slim4/test/Api/StoreApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ public static function tearDownAfterClass()
*/
public function testDeleteOrder()
{
$this->markTestIncomplete(
'Test of "deleteOrder" method has not been implemented yet.'
);
}

/**
Expand All @@ -88,6 +91,9 @@ public function testDeleteOrder()
*/
public function testGetInventory()
{
$this->markTestIncomplete(
'Test of "getInventory" method has not been implemented yet.'
);
}

/**
Expand All @@ -99,6 +105,9 @@ public function testGetInventory()
*/
public function testGetOrderById()
{
$this->markTestIncomplete(
'Test of "getOrderById" method has not been implemented yet.'
);
}

/**
Expand All @@ -110,5 +119,8 @@ public function testGetOrderById()
*/
public function testPlaceOrder()
{
$this->markTestIncomplete(
'Test of "placeOrder" method has not been implemented yet.'
);
}
}
Loading