update wording for test file, minor tweats to petstore test

This commit is contained in:
wing328
2016-03-03 20:19:37 +08:00
parent 1f2026576f
commit 7e63226ed4
36 changed files with 1146 additions and 20 deletions

View File

@@ -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
{

View File

@@ -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
{

View File

@@ -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>

View File

@@ -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
{

View File

@@ -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>

View File

@@ -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
{

View File

@@ -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
{

View File

@@ -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
{