Skip to content

Commit 850f563

Browse files
committed
Revert "added log and test"
This reverts commit 20c2b66.
1 parent 3f4ddd9 commit 850f563

File tree

13 files changed

+0
-455
lines changed

13 files changed

+0
-455
lines changed

coverlet.sln

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{9A8B19D4
5353
test\Directory.Build.targets = test\Directory.Build.targets
5454
EndProjectSection
5555
EndProject
56-
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "coverlet.tests.projectsample.vbmynamespace", "test\coverlet.tests.projectsample.vbmynamespace\coverlet.tests.projectsample.vbmynamespace.vbproj", "{C9B7DC34-3E04-4F20-AED4-73791AF8020D}"
57-
EndProject
5856
Global
5957
GlobalSection(SolutionConfigurationPlatforms) = preSolution
6058
Debug|Any CPU = Debug|Any CPU
@@ -117,10 +115,6 @@ Global
117115
{F8199E19-FA9A-4559-9101-CAD7028121B4}.Debug|Any CPU.Build.0 = Debug|Any CPU
118116
{F8199E19-FA9A-4559-9101-CAD7028121B4}.Release|Any CPU.ActiveCfg = Release|Any CPU
119117
{F8199E19-FA9A-4559-9101-CAD7028121B4}.Release|Any CPU.Build.0 = Release|Any CPU
120-
{C9B7DC34-3E04-4F20-AED4-73791AF8020D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
121-
{C9B7DC34-3E04-4F20-AED4-73791AF8020D}.Debug|Any CPU.Build.0 = Debug|Any CPU
122-
{C9B7DC34-3E04-4F20-AED4-73791AF8020D}.Release|Any CPU.ActiveCfg = Release|Any CPU
123-
{C9B7DC34-3E04-4F20-AED4-73791AF8020D}.Release|Any CPU.Build.0 = Release|Any CPU
124118
EndGlobalSection
125119
GlobalSection(SolutionProperties) = preSolution
126120
HideSolutionNode = FALSE
@@ -141,7 +135,6 @@ Global
141135
{5FF404AD-7C0B-465A-A1E9-558CDC642B0C} = {2FEBDE1B-83E3-445B-B9F8-5644B0E0E134}
142136
{F8199E19-FA9A-4559-9101-CAD7028121B4} = {2FEBDE1B-83E3-445B-B9F8-5644B0E0E134}
143137
{9A8B19D4-4A24-4217-AEFE-159B68F029A1} = {2FEBDE1B-83E3-445B-B9F8-5644B0E0E134}
144-
{C9B7DC34-3E04-4F20-AED4-73791AF8020D} = {2FEBDE1B-83E3-445B-B9F8-5644B0E0E134}
145138
EndGlobalSection
146139
GlobalSection(ExtensibilityGlobals) = postSolution
147140
SolutionGuid = {9CA57C02-97B0-4C38-A027-EA61E8741F10}

src/coverlet.core/Instrumentation/Instrumenter.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,6 @@ private void InstrumentType(TypeDefinition type)
510510

511511
private void InstrumentMethod(MethodDefinition method)
512512
{
513-
_logger.LogInformation($"Instrumenting method '{method.FullName}' in module '{_module}'.");
514-
515513
var sourceFile = method.DebugInformation.SequencePoints.Select(s => _sourceRootTranslator.ResolveFilePath(s.Document.Url)).FirstOrDefault();
516514

517515
if (string.IsNullOrEmpty(sourceFile)) return;

test/coverlet.core.tests/Instrumentation/InstrumenterTests.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -783,22 +783,6 @@ public void TestReachabilityHelper()
783783
instrumenterTest.Directory.Delete(true);
784784
}
785785

786-
[Fact]
787-
public void Instrumenter_MethodsWithoutReferenceToSource_AreSkipped()
788-
{
789-
var loggerMock = new Mock<ILogger>();
790786

791-
string sample = Directory.GetFiles(Directory.GetCurrentDirectory(), "coverlet.tests.projectsample.vbmynamespace.dll").First();
792-
InstrumentationHelper instrumentationHelper =
793-
new InstrumentationHelper(new ProcessExitHandler(), new RetryHelper(), new FileSystem(), new Mock<ILogger>().Object,
794-
new SourceRootTranslator(sample, new Mock<ILogger>().Object, new FileSystem()));
795-
796-
var instrumenter = new Instrumenter(sample, "_coverlet_tests_projectsample_vbmynamespace", Array.Empty<string>(), Array.Empty<string>(), Array.Empty<string>(),
797-
Array.Empty<string>(), Array.Empty<string>(), false, false, loggerMock.Object, instrumentationHelper, new FileSystem(), new SourceRootTranslator(sample, loggerMock.Object, new FileSystem()), new CecilSymbolHelper());
798-
799-
var result = instrumenter.Instrument();
800-
801-
Assert.False(result.Documents.ContainsKey(string.Empty));
802-
}
803787
}
804788
}

test/coverlet.core.tests/coverlet.core.tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
<ProjectReference Include="$(RepoRoot)test\coverlet.tests.projectsample.excludedbyattribute\coverlet.tests.projectsample.excludedbyattribute.csproj" />
2727
<ProjectReference Include="$(RepoRoot)test\coverlet.core.tests.samples.netstandard\coverlet.core.tests.samples.netstandard.csproj" />
2828
<ProjectReference Include="$(RepoRoot)test\coverlet.tests.xunit.extensions\coverlet.tests.xunit.extensions.csproj" />
29-
<ProjectReference Include="..\coverlet.tests.projectsample.vbmynamespace\coverlet.tests.projectsample.vbmynamespace.vbproj" />
3029
</ItemGroup>
3130

3231
<ItemGroup>

test/coverlet.tests.projectsample.vbmynamespace/My Project/Application.Designer.vb

Lines changed: 0 additions & 13 deletions
This file was deleted.

test/coverlet.tests.projectsample.vbmynamespace/My Project/Application.myapp

Lines changed: 0 additions & 10 deletions
This file was deleted.

test/coverlet.tests.projectsample.vbmynamespace/My Project/AssemblyInfo.vb

Lines changed: 0 additions & 35 deletions
This file was deleted.

test/coverlet.tests.projectsample.vbmynamespace/My Project/Resources.Designer.vb

Lines changed: 0 additions & 62 deletions
This file was deleted.

test/coverlet.tests.projectsample.vbmynamespace/My Project/Resources.resx

Lines changed: 0 additions & 117 deletions
This file was deleted.

test/coverlet.tests.projectsample.vbmynamespace/My Project/Settings.Designer.vb

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)