Skip to content

Commit

Permalink
Regenerate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matthchr committed Jun 14, 2016
1 parent 191eb30 commit 7e37934
Show file tree
Hide file tree
Showing 255 changed files with 1,378 additions and 1,721 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@ public AutoRestDurationTestService(Uri baseUri, ServiceClientCredentials credent
}
}

/// <summary>
/// An optional partial-method to perform custom initialization.
/// </summary>
partial void CustomInitialize();
/// <summary>
/// Initializes client properties.
/// </summary>
Expand Down Expand Up @@ -299,6 +303,7 @@ private void Initialize()
new Iso8601TimeSpanConverter()
}
};
CustomInitialize();
DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@ public AutoRestDurationTestService(Uri baseUri, ServiceClientCredentials credent
}
}

/// <summary>
/// An optional partial-method to perform custom initialization.
/// </summary>
partial void CustomInitialize();
/// <summary>
/// Initializes client properties.
/// </summary>
Expand Down Expand Up @@ -299,6 +303,7 @@ private void Initialize()
new Iso8601TimeSpanConverter()
}
};
CustomInitialize();
DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,12 @@ private void Initialize()
/// <summary>
/// Product Types
/// </summary>
/// <remarks>
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
/// </remarks>
/// <param name='resourceGroupName'>
/// Resource Group ID.
/// </param>
Expand Down Expand Up @@ -535,7 +537,9 @@ private void Initialize()
/// <summary>
/// Create products
/// </summary>
/// <remarks>
/// Resets products.
/// </remarks>
/// <param name='subscriptionId'>
/// Subscription ID.
/// </param>
Expand Down Expand Up @@ -730,7 +734,9 @@ private void Initialize()
/// <summary>
/// Update products
/// </summary>
/// <remarks>
/// Resets products.
/// </remarks>
/// <param name='subscriptionId'>
/// Subscription ID.
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ public static partial class AzureCompositeModelExtensions
/// <summary>
/// Product Types
/// </summary>
/// <remarks>
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
Expand All @@ -43,10 +45,12 @@ public static CatalogArray List(this IAzureCompositeModel operations, string res
/// <summary>
/// Product Types
/// </summary>
/// <remarks>
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
Expand All @@ -67,7 +71,9 @@ public static CatalogArray List(this IAzureCompositeModel operations, string res
/// <summary>
/// Create products
/// </summary>
/// <remarks>
/// Resets products.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
Expand All @@ -88,7 +94,9 @@ public static CatalogArray List(this IAzureCompositeModel operations, string res
/// <summary>
/// Create products
/// </summary>
/// <remarks>
/// Resets products.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
Expand All @@ -115,7 +123,9 @@ public static CatalogArray List(this IAzureCompositeModel operations, string res
/// <summary>
/// Update products
/// </summary>
/// <remarks>
/// Resets products.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
Expand All @@ -136,7 +146,9 @@ public static CatalogArray List(this IAzureCompositeModel operations, string res
/// <summary>
/// Update products
/// </summary>
/// <remarks>
/// Resets products.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,12 @@ public partial interface IAzureCompositeModel : IDisposable
/// <summary>
/// Product Types
/// </summary>
/// <remarks>
/// The Products endpoint returns information about the Uber products
/// offered at a given location. The response includes the display
/// name and other details about each product, and lists the products
/// in the proper display order.
/// </remarks>
/// <param name='resourceGroupName'>
/// Resource Group ID.
/// </param>
Expand All @@ -128,7 +130,9 @@ public partial interface IAzureCompositeModel : IDisposable
/// <summary>
/// Create products
/// </summary>
/// <remarks>
/// Resets products.
/// </remarks>
/// <param name='subscriptionId'>
/// Subscription ID.
/// </param>
Expand All @@ -149,7 +153,9 @@ public partial interface IAzureCompositeModel : IDisposable
/// <summary>
/// Update products
/// </summary>
/// <remarks>
/// Resets products.
/// </remarks>
/// <param name='subscriptionId'>
/// Subscription ID.
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,12 @@ internal HeaderOperations(AutoRestAzureSpecialParametersTestClient client)
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="ErrorException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="ValidationException">
/// Thrown when a required parameter is null
/// </exception>
/// <return>
/// A response object containing the response body and response headers.
/// </return>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ public partial interface IHeaderOperations
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="ErrorException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationHeaderResponse<HeaderCustomNamedRequestIdParamGroupingHeaders>> CustomNamedRequestIdParamGroupingWithHttpMessagesAsync(HeaderCustomNamedRequestIdParamGroupingParameters headerCustomNamedRequestIdParamGroupingParameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ public HeaderCustomNamedRequestIdParamGroupingParameters(string fooClientRequest
public string FooClientRequestId { get; set; }

/// <summary>
/// Validate the object. Throws ValidationException if validation fails.
/// Validate the object.
/// </summary>
/// <exception cref="ValidationException">
/// Thrown if validation fails
/// </exception>
public virtual void Validate()
{
if (FooClientRequestId == null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ public partial interface IPolymorphicAnimalStore : IDisposable
/// <summary>
/// Product Types
/// </summary>
/// <remarks>
/// The Products endpoint returns information about the Uber products
/// offered at a given location. The response includes the display
/// name and other details about each product, and lists the products
/// in the proper display order.
/// </remarks>
/// <param name='animalCreateOrUpdateParameter'>
/// An Animal
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,12 @@ private void Initialize()
/// <summary>
/// Product Types
/// </summary>
/// <remarks>
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
/// </remarks>
/// <param name='animalCreateOrUpdateParameter'>
/// An Animal
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ public static partial class PolymorphicAnimalStoreExtensions
/// <summary>
/// Product Types
/// </summary>
/// <remarks>
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
Expand All @@ -42,10 +44,12 @@ public static partial class PolymorphicAnimalStoreExtensions
/// <summary>
/// Product Types
/// </summary>
/// <remarks>
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ public partial interface IRecursiveTypesAPI : IDisposable
/// <summary>
/// Products
/// </summary>
/// <remarks>
/// The Products endpoint returns information about the Uber products
/// offered at a given location. The response includes the display
/// name and other details about each product, and lists the products
/// in the proper display order.
/// </remarks>
/// <param name='subscriptionId'>
/// Subscription Id.
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,12 @@ private void Initialize()
/// <summary>
/// Products
/// </summary>
/// <remarks>
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
/// </remarks>
/// <param name='subscriptionId'>
/// Subscription Id.
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ public static partial class RecursiveTypesAPIExtensions
/// <summary>
/// Products
/// </summary>
/// <remarks>
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
Expand All @@ -51,10 +53,12 @@ public static partial class RecursiveTypesAPIExtensions
/// <summary>
/// Products
/// </summary>
/// <remarks>
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
Expand Down
Loading

0 comments on commit 7e37934

Please sign in to comment.