Skip to content

Commit 48dc640

Browse files
committed
chore: resolve bad merge
1 parent bd2b815 commit 48dc640

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

src/Microsoft.ComponentDetection.Detectors/pnpm/PnpmComponentDetector.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ namespace Microsoft.ComponentDetection.Detectors.Pnpm;
77
using Microsoft.ComponentDetection.Contracts.Internal;
88
using Microsoft.ComponentDetection.Contracts.TypedComponent;
99

10-
namespace Microsoft.ComponentDetection.Detectors.Pnpm;
11-
1210
public class PnpmComponentDetector : FileComponentDetector
1311
{
1412
public PnpmComponentDetector(

test/Microsoft.ComponentDetection.Detectors.Tests/MvnCliDetectorTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public MvnCliDetectorTests()
2828
[TestMethod]
2929
public async Task IfMavenIsNotAvailableThenExitDetectorGracefullyAsync()
3030
{
31-
this.mavenCommandServiceMock.Setup(x => x.MavenCLIExists())
31+
this.mavenCommandServiceMock.Setup(x => x.MavenCLIExistsAsync())
3232
.ReturnsAsync(false);
3333

3434
var (detectorResult, componentRecorder) = await this.DetectorTestUtility
@@ -63,7 +63,7 @@ public async Task MavenAvailableHappyPathAsync()
6363
[TestMethod]
6464
public async Task MavenCli_FileObservableIsNotPresent_DetectionShouldNotFailAsync()
6565
{
66-
this.mavenCommandServiceMock.Setup(x => x.MavenCLIExists())
66+
this.mavenCommandServiceMock.Setup(x => x.MavenCLIExistsAsync())
6767
.ReturnsAsync(true);
6868

6969
Func<Task> action = async () => await this.DetectorTestUtility.ExecuteDetectorAsync();
@@ -189,7 +189,7 @@ private void MvnCliHappyPath(string content)
189189

190190
this.mavenCommandServiceMock.Setup(x => x.BcdeMvnDependencyFileName)
191191
.Returns(bcdeMvnFileName);
192-
this.mavenCommandServiceMock.Setup(x => x.MavenCLIExists())
192+
this.mavenCommandServiceMock.Setup(x => x.MavenCLIExistsAsync())
193193
.ReturnsAsync(true);
194194
this.DetectorTestUtility.WithFile("pom.xml", content)
195195
.WithFile("pom.xml", content, searchPatterns: new[] { bcdeMvnFileName });

test/Microsoft.ComponentDetection.Orchestrator.Tests/Services/DetectorProcessingServiceTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public async Task ProcessDetectorsAsync_HappyPathReturns_DependencyGraphAsync()
145145
}
146146

147147
[TestMethod]
148-
public async Task ProcessDetectorsAsync_AdditionalTelemetryDetailsAreReturned()
148+
public async Task ProcessDetectorsAsync_AdditionalTelemetryDetailsAreReturnedAsync()
149149
{
150150
this.detectorsToUse = new[]
151151
{
@@ -165,7 +165,7 @@ public async Task ProcessDetectorsAsync_AdditionalTelemetryDetailsAreReturned()
165165
}
166166

167167
[TestMethod]
168-
public async Task ProcessDetectorsAsync_ExperimentalDetectorsDoNotReturnComponents()
168+
public async Task ProcessDetectorsAsync_ExperimentalDetectorsDoNotReturnComponentsAsync()
169169
{
170170
this.detectorsToUse = new[]
171171
{
@@ -202,7 +202,7 @@ public async Task ProcessDetectorsAsync_ExperimentalDetectorsDoNotReturnComponen
202202
}
203203

204204
[TestMethod]
205-
public async Task ProcessDetectorsAsync_ExperimentalDetectorsDoNormalStuffIfExplicitlyEnabled()
205+
public async Task ProcessDetectorsAsync_ExperimentalDetectorsDoNormalStuffIfExplicitlyEnabledAsync()
206206
{
207207
this.detectorsToUse = new[]
208208
{
@@ -230,7 +230,7 @@ public async Task ProcessDetectorsAsync_ExperimentalDetectorsDoNormalStuffIfExpl
230230
}
231231

232232
[TestMethod]
233-
public async Task ProcessDetectorsAsync_ExperimentalDetectorsThrowingDoesntKillDetection()
233+
public async Task ProcessDetectorsAsync_ExperimentalDetectorsThrowingDoesntKillDetectionAsync()
234234
{
235235
this.detectorsToUse = new[]
236236
{
@@ -425,7 +425,7 @@ await this.serviceUnderTest.ProcessDetectorsAsync(
425425
}
426426

427427
[TestMethod]
428-
public async Task ProcessDetectorsAsync_CapturesTelemetry()
428+
public async Task ProcessDetectorsAsync_CapturesTelemetryAsync()
429429
{
430430
var args = DefaultArgs;
431431

@@ -454,7 +454,7 @@ public async Task ProcessDetectorsAsync_CapturesTelemetry()
454454
}
455455

456456
[TestMethod]
457-
public async Task ProcessDetectorsAsync_ExecutesMixedCommandAndFileDetectors()
457+
public async Task ProcessDetectorsAsync_ExecutesMixedCommandAndFileDetectorsAsync()
458458
{
459459
this.detectorsToUse = new[]
460460
{

0 commit comments

Comments
 (0)