diff --git a/src/WebJobs.Script/Scale/TargetScalerVote.cs b/src/WebJobs.Script/Scale/TargetScalerVote.cs deleted file mode 100644 index d14413e2db..0000000000 --- a/src/WebJobs.Script/Scale/TargetScalerVote.cs +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. - -using Microsoft.Azure.WebJobs.Host.Scale; - -namespace Microsoft.Azure.WebJobs.Script.Scale -{ - internal class TargetScalerVote - { - public ScaleVote Vote { get; set; } - - public int TargetWorkerCount { get; set; } - } -} diff --git a/test/WebJobs.Script.Tests.Shared/TestTargetScaler.cs b/test/WebJobs.Script.Tests.Shared/TestTargetScaler.cs deleted file mode 100644 index 6121cc8a30..0000000000 --- a/test/WebJobs.Script.Tests.Shared/TestTargetScaler.cs +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. - -using System; -using System.Threading.Tasks; -using Microsoft.Azure.WebJobs.Host.Scale; - -namespace Microsoft.Azure.WebJobs.Script.Tests -{ - internal class TestTargetScaler : ITargetScaler - { - public TargetScalerDescriptor TargetScalerDescriptor { get; set; } - - public TargetScalerResult Result { get; set; } - - public virtual Task GetScaleResultAsync(TargetScalerContext context) - { - return Task.FromResult(Result); - } - } - - internal class TestTargetScaler2 : TestTargetScaler - { - public override Task GetScaleResultAsync(TargetScalerContext context) - { - throw new Exception("test"); - } - } - - internal class FaultyTargetScaler : TestTargetScaler - { - public override Task GetScaleResultAsync(TargetScalerContext context) - { - throw new NotSupportedException("test"); - } - } -} diff --git a/test/WebJobs.Script.Tests.Shared/WebJobs.Script.Tests.Shared.projitems b/test/WebJobs.Script.Tests.Shared/WebJobs.Script.Tests.Shared.projitems index 40d865b1bd..2a70267cc9 100644 --- a/test/WebJobs.Script.Tests.Shared/WebJobs.Script.Tests.Shared.projitems +++ b/test/WebJobs.Script.Tests.Shared/WebJobs.Script.Tests.Shared.projitems @@ -32,7 +32,6 @@ -