forked from loafle/openapi-generator-original
update wording for test file, minor tweats to petstore test
This commit is contained in:
@@ -11,6 +11,13 @@ using System.Reflection;
|
||||
|
||||
namespace IO.Swagger.Test
|
||||
{
|
||||
/// <summary>
|
||||
/// Class for testing Category
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This file is automatically generated by Swagger Codegen.
|
||||
/// Please update the test case below to test the model.
|
||||
/// </remarks>
|
||||
[TestFixture]
|
||||
public class CategoryTests
|
||||
{
|
||||
|
||||
@@ -11,6 +11,13 @@ using System.Reflection;
|
||||
|
||||
namespace IO.Swagger.Test
|
||||
{
|
||||
/// <summary>
|
||||
/// Class for testing Order
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This file is automatically generated by Swagger Codegen.
|
||||
/// Please update the test case below to test the model.
|
||||
/// </remarks>
|
||||
[TestFixture]
|
||||
public class OrderTests
|
||||
{
|
||||
|
||||
@@ -13,6 +13,13 @@ using IO.Swagger.Model;
|
||||
|
||||
namespace IO.Swagger.Test
|
||||
{
|
||||
/// <summary>
|
||||
/// Class for testing PetApi
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This file is automatically generated by Swagger Codegen.
|
||||
/// Please update the test case below to test the API endpoint.
|
||||
/// </remarks>
|
||||
[TestFixture]
|
||||
public class PetApiTests
|
||||
{
|
||||
@@ -155,6 +162,19 @@ namespace IO.Swagger.Test
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test GetPetByIdInObject
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void GetPetByIdInObjectTest()
|
||||
{
|
||||
// TODO: add unit test for the method 'GetPetByIdInObject'
|
||||
long? petId = null; // TODO: replace null with proper value
|
||||
|
||||
var response = instance.GetPetByIdInObject(petId);
|
||||
Assert.IsInstanceOf<InlineResponse200> (response, "response is InlineResponse200");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test PetPetIdtestingByteArraytrueGet
|
||||
/// </summary>
|
||||
|
||||
@@ -11,6 +11,13 @@ using System.Reflection;
|
||||
|
||||
namespace IO.Swagger.Test
|
||||
{
|
||||
/// <summary>
|
||||
/// Class for testing Pet
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This file is automatically generated by Swagger Codegen.
|
||||
/// Please update the test case below to test the model.
|
||||
/// </remarks>
|
||||
[TestFixture]
|
||||
public class PetTests
|
||||
{
|
||||
|
||||
@@ -13,6 +13,13 @@ using IO.Swagger.Model;
|
||||
|
||||
namespace IO.Swagger.Test
|
||||
{
|
||||
/// <summary>
|
||||
/// Class for testing StoreApi
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This file is automatically generated by Swagger Codegen.
|
||||
/// Please update the test case below to test the API endpoint.
|
||||
/// </remarks>
|
||||
[TestFixture]
|
||||
public class StoreApiTests
|
||||
{
|
||||
@@ -71,6 +78,18 @@ namespace IO.Swagger.Test
|
||||
Assert.IsInstanceOf<Dictionary<string, int?>> (response, "response is Dictionary<string, int?>");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test GetInventoryInObject
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void GetInventoryInObjectTest()
|
||||
{
|
||||
// TODO: add unit test for the method 'GetInventoryInObject'
|
||||
|
||||
var response = instance.GetInventoryInObject();
|
||||
Assert.IsInstanceOf<Object> (response, "response is Object");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test PlaceOrder
|
||||
/// </summary>
|
||||
|
||||
@@ -11,6 +11,13 @@ using System.Reflection;
|
||||
|
||||
namespace IO.Swagger.Test
|
||||
{
|
||||
/// <summary>
|
||||
/// Class for testing Tag
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This file is automatically generated by Swagger Codegen.
|
||||
/// Please update the test case below to test the model.
|
||||
/// </remarks>
|
||||
[TestFixture]
|
||||
public class TagTests
|
||||
{
|
||||
|
||||
@@ -13,6 +13,13 @@ using IO.Swagger.Model;
|
||||
|
||||
namespace IO.Swagger.Test
|
||||
{
|
||||
/// <summary>
|
||||
/// Class for testing UserApi
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This file is automatically generated by Swagger Codegen.
|
||||
/// Please update the test case below to test the API endpoint.
|
||||
/// </remarks>
|
||||
[TestFixture]
|
||||
public class UserApiTests
|
||||
{
|
||||
|
||||
@@ -11,6 +11,13 @@ using System.Reflection;
|
||||
|
||||
namespace IO.Swagger.Test
|
||||
{
|
||||
/// <summary>
|
||||
/// Class for testing User
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This file is automatically generated by Swagger Codegen.
|
||||
/// Please update the test case below to test the model.
|
||||
/// </remarks>
|
||||
[TestFixture]
|
||||
public class UserTests
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user