forked from loafle/openapi-generator-original
		
	add documentation to test cases in C#
This commit is contained in:
		
							parent
							
								
									0ed70dcb4d
								
							
						
					
					
						commit
						ff3ba73d18
					
				@ -2,28 +2,11 @@
 | 
				
			|||||||
  <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
 | 
					  <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
 | 
				
			||||||
  <MonoDevelop.Ide.Workbench ActiveDocument="TestPet.cs">
 | 
					  <MonoDevelop.Ide.Workbench ActiveDocument="TestPet.cs">
 | 
				
			||||||
    <Files>
 | 
					    <Files>
 | 
				
			||||||
      <File FileName="TestPet.cs" Line="12" Column="18" />
 | 
					      <File FileName="TestPet.cs" Line="8" Column="25" />
 | 
				
			||||||
    </Files>
 | 
					    </Files>
 | 
				
			||||||
    <Pads>
 | 
					 | 
				
			||||||
      <Pad Id="MonoDevelop.NUnit.TestPad">
 | 
					 | 
				
			||||||
        <State name="__root__">
 | 
					 | 
				
			||||||
          <Node name="SwaggerClientTest" expanded="True">
 | 
					 | 
				
			||||||
            <Node name="SwaggerClientTest" expanded="True">
 | 
					 | 
				
			||||||
              <Node name="SwaggerClient" expanded="True">
 | 
					 | 
				
			||||||
                <Node name="TestPet" expanded="True">
 | 
					 | 
				
			||||||
                  <Node name="TestPet" expanded="True">
 | 
					 | 
				
			||||||
                    <Node name="TestEqual" selected="True" />
 | 
					 | 
				
			||||||
                  </Node>
 | 
					 | 
				
			||||||
                </Node>
 | 
					 | 
				
			||||||
              </Node>
 | 
					 | 
				
			||||||
            </Node>
 | 
					 | 
				
			||||||
          </Node>
 | 
					 | 
				
			||||||
        </State>
 | 
					 | 
				
			||||||
      </Pad>
 | 
					 | 
				
			||||||
    </Pads>
 | 
					 | 
				
			||||||
  </MonoDevelop.Ide.Workbench>
 | 
					  </MonoDevelop.Ide.Workbench>
 | 
				
			||||||
  <MonoDevelop.Ide.DebuggingService.Breakpoints>
 | 
					  <MonoDevelop.Ide.DebuggingService.Breakpoints>
 | 
				
			||||||
    <BreakpointStore />
 | 
					    <BreakpointStore />
 | 
				
			||||||
  </MonoDevelop.Ide.DebuggingService.Breakpoints>
 | 
					  </MonoDevelop.Ide.DebuggingService.Breakpoints>
 | 
				
			||||||
  <MonoDevelop.Ide.DebuggingService.PinnedWatches />
 | 
					  <MonoDevelop.Ide.DebuggingService.PinnedWatches />
 | 
				
			||||||
</Properties>
 | 
					</Properties>
 | 
				
			||||||
@ -49,7 +49,9 @@ namespace SwaggerClient.TestPet
 | 
				
			|||||||
			petApi.DeletePet(petId, "test key");
 | 
								petApi.DeletePet(petId, "test key");
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							/// <summary>
 | 
				
			||||||
 | 
							/// Test GetPetByIdAsync
 | 
				
			||||||
 | 
							/// </summary>
 | 
				
			||||||
		[Test ()]
 | 
							[Test ()]
 | 
				
			||||||
		public void TestGetPetByIdAsync ()
 | 
							public void TestGetPetByIdAsync ()
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
@ -74,6 +76,9 @@ namespace SwaggerClient.TestPet
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							/// <summary>
 | 
				
			||||||
 | 
							/// Test GetPetById
 | 
				
			||||||
 | 
							/// </summary>
 | 
				
			||||||
		[Test ()]
 | 
							[Test ()]
 | 
				
			||||||
		public void TestGetPetById ()
 | 
							public void TestGetPetById ()
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
@ -97,6 +102,9 @@ namespace SwaggerClient.TestPet
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							/// <summary>
 | 
				
			||||||
 | 
							/// Test UpdatePetWithForm
 | 
				
			||||||
 | 
							/// </summary>
 | 
				
			||||||
		[Test ()]
 | 
							[Test ()]
 | 
				
			||||||
		public void TestUpdatePetWithForm ()
 | 
							public void TestUpdatePetWithForm ()
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
@ -115,6 +123,9 @@ namespace SwaggerClient.TestPet
 | 
				
			|||||||
			Assert.AreEqual (56, response.Category.Id);
 | 
								Assert.AreEqual (56, response.Category.Id);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							/// <summary>
 | 
				
			||||||
 | 
							/// Test UploadFile
 | 
				
			||||||
 | 
							/// </summary>
 | 
				
			||||||
		[Test ()]
 | 
							[Test ()]
 | 
				
			||||||
		public void TestUploadFile ()
 | 
							public void TestUploadFile ()
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
@ -129,7 +140,9 @@ namespace SwaggerClient.TestPet
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							/// <summary>
 | 
				
			||||||
 | 
							/// Test FindPetByStatus
 | 
				
			||||||
 | 
							/// </summary>
 | 
				
			||||||
		[Test ()]
 | 
							[Test ()]
 | 
				
			||||||
		public void TestFindPetByStatus ()
 | 
							public void TestFindPetByStatus ()
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
@ -145,6 +158,9 @@ namespace SwaggerClient.TestPet
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							/// <summary>
 | 
				
			||||||
 | 
							/// Test Equal
 | 
				
			||||||
 | 
							/// </summary>
 | 
				
			||||||
		[Test ()]
 | 
							[Test ()]
 | 
				
			||||||
		public void TestEqual()
 | 
							public void TestEqual()
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
 | 
				
			|||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							@ -12,3 +12,5 @@
 | 
				
			|||||||
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/Newtonsoft.Json.dll
 | 
					/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/Newtonsoft.Json.dll
 | 
				
			||||||
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/nunit.framework.dll
 | 
					/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/nunit.framework.dll
 | 
				
			||||||
/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/RestSharp.dll
 | 
					/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/RestSharp.dll
 | 
				
			||||||
 | 
					/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/SwaggerClientTest.dll.mdb
 | 
				
			||||||
 | 
					/Users/williamcheng/Code/wing328/swagger-codegen/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/SwaggerClientTest.dll
 | 
				
			||||||
 | 
				
			|||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user