forked from loafle/openapi-generator-original
remove trailing space for csharp api client
This commit is contained in:
@@ -31,7 +31,7 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
instance = new Category();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Clean up after each test
|
||||
/// </summary>
|
||||
@@ -39,7 +39,7 @@ namespace IO.Swagger.Test
|
||||
public void Cleanup()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test an instance of Category
|
||||
@@ -50,25 +50,22 @@ namespace IO.Swagger.Test
|
||||
Assert.IsInstanceOf<Category> (instance, "instance is a Category");
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Id'
|
||||
/// Test the property 'Id'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void IdTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Id'
|
||||
// TODO: unit test for the property 'Id'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Name'
|
||||
/// Test the property 'Name'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void NameTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Name'
|
||||
// TODO: unit test for the property 'Name'
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
instance = new InlineResponse200();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Clean up after each test
|
||||
/// </summary>
|
||||
@@ -39,7 +39,7 @@ namespace IO.Swagger.Test
|
||||
public void Cleanup()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test an instance of InlineResponse200
|
||||
@@ -50,61 +50,54 @@ namespace IO.Swagger.Test
|
||||
Assert.IsInstanceOf<InlineResponse200> (instance, "instance is a InlineResponse200");
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Tags'
|
||||
/// Test the property 'Tags'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void TagsTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Tags'
|
||||
// TODO: unit test for the property 'Tags'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Id'
|
||||
/// Test the property 'Id'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void IdTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Id'
|
||||
// TODO: unit test for the property 'Id'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Category'
|
||||
/// Test the property 'Category'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void CategoryTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Category'
|
||||
// TODO: unit test for the property 'Category'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Status'
|
||||
/// Test the property 'Status'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void StatusTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Status'
|
||||
// TODO: unit test for the property 'Status'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Name'
|
||||
/// Test the property 'Name'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void NameTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Name'
|
||||
// TODO: unit test for the property 'Name'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'PhotoUrls'
|
||||
/// Test the property 'PhotoUrls'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void PhotoUrlsTest()
|
||||
{
|
||||
// TODO: unit test for the property 'PhotoUrls'
|
||||
// TODO: unit test for the property 'PhotoUrls'
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
instance = new Model200Response();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Clean up after each test
|
||||
/// </summary>
|
||||
@@ -39,7 +39,7 @@ namespace IO.Swagger.Test
|
||||
public void Cleanup()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test an instance of Model200Response
|
||||
@@ -50,16 +50,14 @@ namespace IO.Swagger.Test
|
||||
Assert.IsInstanceOf<Model200Response> (instance, "instance is a Model200Response");
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Name'
|
||||
/// Test the property 'Name'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void NameTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Name'
|
||||
// TODO: unit test for the property 'Name'
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
instance = new ModelReturn();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Clean up after each test
|
||||
/// </summary>
|
||||
@@ -39,7 +39,7 @@ namespace IO.Swagger.Test
|
||||
public void Cleanup()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test an instance of ModelReturn
|
||||
@@ -50,16 +50,14 @@ namespace IO.Swagger.Test
|
||||
Assert.IsInstanceOf<ModelReturn> (instance, "instance is a ModelReturn");
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property '_Return'
|
||||
/// Test the property '_Return'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void _ReturnTest()
|
||||
{
|
||||
// TODO: unit test for the property '_Return'
|
||||
// TODO: unit test for the property '_Return'
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
instance = new Name();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Clean up after each test
|
||||
/// </summary>
|
||||
@@ -39,7 +39,7 @@ namespace IO.Swagger.Test
|
||||
public void Cleanup()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test an instance of Name
|
||||
@@ -50,25 +50,22 @@ namespace IO.Swagger.Test
|
||||
Assert.IsInstanceOf<Name> (instance, "instance is a Name");
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property '_Name'
|
||||
/// Test the property '_Name'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void _NameTest()
|
||||
{
|
||||
// TODO: unit test for the property '_Name'
|
||||
// TODO: unit test for the property '_Name'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'SnakeCase'
|
||||
/// Test the property 'SnakeCase'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void SnakeCaseTest()
|
||||
{
|
||||
// TODO: unit test for the property 'SnakeCase'
|
||||
// TODO: unit test for the property 'SnakeCase'
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
instance = new Order();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Clean up after each test
|
||||
/// </summary>
|
||||
@@ -39,7 +39,7 @@ namespace IO.Swagger.Test
|
||||
public void Cleanup()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test an instance of Order
|
||||
@@ -50,61 +50,54 @@ namespace IO.Swagger.Test
|
||||
Assert.IsInstanceOf<Order> (instance, "instance is a Order");
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Id'
|
||||
/// Test the property 'Id'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void IdTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Id'
|
||||
// TODO: unit test for the property 'Id'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'PetId'
|
||||
/// Test the property 'PetId'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void PetIdTest()
|
||||
{
|
||||
// TODO: unit test for the property 'PetId'
|
||||
// TODO: unit test for the property 'PetId'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Quantity'
|
||||
/// Test the property 'Quantity'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void QuantityTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Quantity'
|
||||
// TODO: unit test for the property 'Quantity'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'ShipDate'
|
||||
/// Test the property 'ShipDate'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void ShipDateTest()
|
||||
{
|
||||
// TODO: unit test for the property 'ShipDate'
|
||||
// TODO: unit test for the property 'ShipDate'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Status'
|
||||
/// Test the property 'Status'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void StatusTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Status'
|
||||
// TODO: unit test for the property 'Status'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Complete'
|
||||
/// Test the property 'Complete'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void CompleteTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Complete'
|
||||
// TODO: unit test for the property 'Complete'
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -61,9 +61,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'AddPet'
|
||||
Pet body = null; // TODO: replace null with proper value
|
||||
|
||||
instance.AddPet(body);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -74,9 +73,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'AddPetUsingByteArray'
|
||||
byte[] body = null; // TODO: replace null with proper value
|
||||
|
||||
instance.AddPetUsingByteArray(body);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -87,10 +85,9 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'DeletePet'
|
||||
long? petId = null; // TODO: replace null with proper value
|
||||
string apiKey = null; // TODO: replace null with proper value
|
||||
|
||||
string apiKey = null; // TODO: replace null with proper value
|
||||
instance.DeletePet(petId, apiKey);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -101,9 +98,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'FindPetsByStatus'
|
||||
List<string> status = null; // TODO: replace null with proper value
|
||||
|
||||
var response = instance.FindPetsByStatus(status);
|
||||
Assert.IsInstanceOf<List<Pet>> (response, "response is List<Pet>");
|
||||
Assert.IsInstanceOf<List<Pet>> (response, "response is List<Pet>");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -114,9 +110,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'FindPetsByTags'
|
||||
List<string> tags = null; // TODO: replace null with proper value
|
||||
|
||||
var response = instance.FindPetsByTags(tags);
|
||||
Assert.IsInstanceOf<List<Pet>> (response, "response is List<Pet>");
|
||||
Assert.IsInstanceOf<List<Pet>> (response, "response is List<Pet>");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -127,9 +122,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'GetPetById'
|
||||
long? petId = null; // TODO: replace null with proper value
|
||||
|
||||
var response = instance.GetPetById(petId);
|
||||
Assert.IsInstanceOf<Pet> (response, "response is Pet");
|
||||
Assert.IsInstanceOf<Pet> (response, "response is Pet");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -140,9 +134,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// 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");
|
||||
Assert.IsInstanceOf<InlineResponse200> (response, "response is InlineResponse200");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -153,9 +146,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'PetPetIdtestingByteArraytrueGet'
|
||||
long? petId = null; // TODO: replace null with proper value
|
||||
|
||||
var response = instance.PetPetIdtestingByteArraytrueGet(petId);
|
||||
Assert.IsInstanceOf<byte[]> (response, "response is byte[]");
|
||||
Assert.IsInstanceOf<byte[]> (response, "response is byte[]");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -166,9 +158,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'UpdatePet'
|
||||
Pet body = null; // TODO: replace null with proper value
|
||||
|
||||
instance.UpdatePet(body);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -179,11 +170,10 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'UpdatePetWithForm'
|
||||
string petId = null; // TODO: replace null with proper value
|
||||
string name = null; // TODO: replace null with proper value
|
||||
string status = null; // TODO: replace null with proper value
|
||||
|
||||
string name = null; // TODO: replace null with proper value
|
||||
string status = null; // TODO: replace null with proper value
|
||||
instance.UpdatePetWithForm(petId, name, status);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -194,11 +184,10 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'UploadFile'
|
||||
long? petId = null; // TODO: replace null with proper value
|
||||
string additionalMetadata = null; // TODO: replace null with proper value
|
||||
Stream file = null; // TODO: replace null with proper value
|
||||
|
||||
string additionalMetadata = null; // TODO: replace null with proper value
|
||||
Stream file = null; // TODO: replace null with proper value
|
||||
instance.UploadFile(petId, additionalMetadata, file);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
instance = new Pet();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Clean up after each test
|
||||
/// </summary>
|
||||
@@ -39,7 +39,7 @@ namespace IO.Swagger.Test
|
||||
public void Cleanup()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test an instance of Pet
|
||||
@@ -50,61 +50,54 @@ namespace IO.Swagger.Test
|
||||
Assert.IsInstanceOf<Pet> (instance, "instance is a Pet");
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Id'
|
||||
/// Test the property 'Id'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void IdTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Id'
|
||||
// TODO: unit test for the property 'Id'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Category'
|
||||
/// Test the property 'Category'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void CategoryTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Category'
|
||||
// TODO: unit test for the property 'Category'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Name'
|
||||
/// Test the property 'Name'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void NameTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Name'
|
||||
// TODO: unit test for the property 'Name'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'PhotoUrls'
|
||||
/// Test the property 'PhotoUrls'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void PhotoUrlsTest()
|
||||
{
|
||||
// TODO: unit test for the property 'PhotoUrls'
|
||||
// TODO: unit test for the property 'PhotoUrls'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Tags'
|
||||
/// Test the property 'Tags'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void TagsTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Tags'
|
||||
// TODO: unit test for the property 'Tags'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Status'
|
||||
/// Test the property 'Status'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void StatusTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Status'
|
||||
// TODO: unit test for the property 'Status'
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
instance = new SpecialModelName();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Clean up after each test
|
||||
/// </summary>
|
||||
@@ -39,7 +39,7 @@ namespace IO.Swagger.Test
|
||||
public void Cleanup()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test an instance of SpecialModelName
|
||||
@@ -50,16 +50,14 @@ namespace IO.Swagger.Test
|
||||
Assert.IsInstanceOf<SpecialModelName> (instance, "instance is a SpecialModelName");
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'SpecialPropertyName'
|
||||
/// Test the property 'SpecialPropertyName'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void SpecialPropertyNameTest()
|
||||
{
|
||||
// TODO: unit test for the property 'SpecialPropertyName'
|
||||
// TODO: unit test for the property 'SpecialPropertyName'
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -61,9 +61,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'DeleteOrder'
|
||||
string orderId = null; // TODO: replace null with proper value
|
||||
|
||||
instance.DeleteOrder(orderId);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -74,9 +73,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'FindOrdersByStatus'
|
||||
string status = null; // TODO: replace null with proper value
|
||||
|
||||
var response = instance.FindOrdersByStatus(status);
|
||||
Assert.IsInstanceOf<List<Order>> (response, "response is List<Order>");
|
||||
Assert.IsInstanceOf<List<Order>> (response, "response is List<Order>");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -86,9 +84,8 @@ namespace IO.Swagger.Test
|
||||
public void GetInventoryTest()
|
||||
{
|
||||
// TODO: add unit test for the method 'GetInventory'
|
||||
|
||||
var response = instance.GetInventory();
|
||||
Assert.IsInstanceOf<Dictionary<string, int?>> (response, "response is Dictionary<string, int?>");
|
||||
var response = instance.GetInventory();
|
||||
Assert.IsInstanceOf<Dictionary<string, int?>> (response, "response is Dictionary<string, int?>");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -98,9 +95,8 @@ namespace IO.Swagger.Test
|
||||
public void GetInventoryInObjectTest()
|
||||
{
|
||||
// TODO: add unit test for the method 'GetInventoryInObject'
|
||||
|
||||
var response = instance.GetInventoryInObject();
|
||||
Assert.IsInstanceOf<Object> (response, "response is Object");
|
||||
var response = instance.GetInventoryInObject();
|
||||
Assert.IsInstanceOf<Object> (response, "response is Object");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -111,9 +107,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'GetOrderById'
|
||||
string orderId = null; // TODO: replace null with proper value
|
||||
|
||||
var response = instance.GetOrderById(orderId);
|
||||
Assert.IsInstanceOf<Order> (response, "response is Order");
|
||||
Assert.IsInstanceOf<Order> (response, "response is Order");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -124,9 +119,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'PlaceOrder'
|
||||
Order body = null; // TODO: replace null with proper value
|
||||
|
||||
var response = instance.PlaceOrder(body);
|
||||
Assert.IsInstanceOf<Order> (response, "response is Order");
|
||||
Assert.IsInstanceOf<Order> (response, "response is Order");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
instance = new Tag();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Clean up after each test
|
||||
/// </summary>
|
||||
@@ -39,7 +39,7 @@ namespace IO.Swagger.Test
|
||||
public void Cleanup()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test an instance of Tag
|
||||
@@ -50,25 +50,22 @@ namespace IO.Swagger.Test
|
||||
Assert.IsInstanceOf<Tag> (instance, "instance is a Tag");
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Id'
|
||||
/// Test the property 'Id'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void IdTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Id'
|
||||
// TODO: unit test for the property 'Id'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Name'
|
||||
/// Test the property 'Name'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void NameTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Name'
|
||||
// TODO: unit test for the property 'Name'
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -61,9 +61,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'CreateUser'
|
||||
User body = null; // TODO: replace null with proper value
|
||||
|
||||
instance.CreateUser(body);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -74,9 +73,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'CreateUsersWithArrayInput'
|
||||
List<User> body = null; // TODO: replace null with proper value
|
||||
|
||||
instance.CreateUsersWithArrayInput(body);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -87,9 +85,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'CreateUsersWithListInput'
|
||||
List<User> body = null; // TODO: replace null with proper value
|
||||
|
||||
instance.CreateUsersWithListInput(body);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -100,9 +97,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'DeleteUser'
|
||||
string username = null; // TODO: replace null with proper value
|
||||
|
||||
instance.DeleteUser(username);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -113,9 +109,8 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'GetUserByName'
|
||||
string username = null; // TODO: replace null with proper value
|
||||
|
||||
var response = instance.GetUserByName(username);
|
||||
Assert.IsInstanceOf<User> (response, "response is User");
|
||||
Assert.IsInstanceOf<User> (response, "response is User");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -126,10 +121,9 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'LoginUser'
|
||||
string username = null; // TODO: replace null with proper value
|
||||
string password = null; // TODO: replace null with proper value
|
||||
|
||||
string password = null; // TODO: replace null with proper value
|
||||
var response = instance.LoginUser(username, password);
|
||||
Assert.IsInstanceOf<string> (response, "response is string");
|
||||
Assert.IsInstanceOf<string> (response, "response is string");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -139,9 +133,8 @@ namespace IO.Swagger.Test
|
||||
public void LogoutUserTest()
|
||||
{
|
||||
// TODO: add unit test for the method 'LogoutUser'
|
||||
instance.LogoutUser();
|
||||
|
||||
instance.LogoutUser();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -152,10 +145,9 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
// TODO: add unit test for the method 'UpdateUser'
|
||||
string username = null; // TODO: replace null with proper value
|
||||
User body = null; // TODO: replace null with proper value
|
||||
|
||||
User body = null; // TODO: replace null with proper value
|
||||
instance.UpdateUser(username, body);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace IO.Swagger.Test
|
||||
{
|
||||
instance = new User();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Clean up after each test
|
||||
/// </summary>
|
||||
@@ -39,7 +39,7 @@ namespace IO.Swagger.Test
|
||||
public void Cleanup()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test an instance of User
|
||||
@@ -50,79 +50,70 @@ namespace IO.Swagger.Test
|
||||
Assert.IsInstanceOf<User> (instance, "instance is a User");
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Id'
|
||||
/// Test the property 'Id'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void IdTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Id'
|
||||
// TODO: unit test for the property 'Id'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Username'
|
||||
/// Test the property 'Username'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void UsernameTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Username'
|
||||
// TODO: unit test for the property 'Username'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'FirstName'
|
||||
/// Test the property 'FirstName'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void FirstNameTest()
|
||||
{
|
||||
// TODO: unit test for the property 'FirstName'
|
||||
// TODO: unit test for the property 'FirstName'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'LastName'
|
||||
/// Test the property 'LastName'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void LastNameTest()
|
||||
{
|
||||
// TODO: unit test for the property 'LastName'
|
||||
// TODO: unit test for the property 'LastName'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Email'
|
||||
/// Test the property 'Email'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void EmailTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Email'
|
||||
// TODO: unit test for the property 'Email'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Password'
|
||||
/// Test the property 'Password'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void PasswordTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Password'
|
||||
// TODO: unit test for the property 'Password'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Phone'
|
||||
/// Test the property 'Phone'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void PhoneTest()
|
||||
{
|
||||
// TODO: unit test for the property 'Phone'
|
||||
// TODO: unit test for the property 'Phone'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'UserStatus'
|
||||
/// Test the property 'UserStatus'
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void UserStatusTest()
|
||||
{
|
||||
// TODO: unit test for the property 'UserStatus'
|
||||
// TODO: unit test for the property 'UserStatus'
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user