Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2a268a5

Browse files
authored
More vside unit tests (#5289)
* More vside unit tests* re-enable this one too* Update VisualFSharp.UnitTests.fsproj* saved* Revert "re-enable this one too"This reverts commit b300a941390808978376ee69055f923ab21c9a44.* AssemblyResolution* TestFixture* more ide tests* QuickInfoProviderTests.fs
1 parent6d40f35 commit2a268a5

File tree

7 files changed

+21
-15
lines changed

7 files changed

+21
-15
lines changed

‎RoslynPackageVersion.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.8.0
1+
2.8.2

‎build/targets/PackageVersions.props‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<!-- Roslyn packages-->
1313
<MicrosoftCodeAnalysisEditorFeaturesPackageVersion>$(RoslynPackageVersion)</MicrosoftCodeAnalysisEditorFeaturesPackageVersion>
1414
<MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>$(RoslynPackageVersion)</MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion>
15-
<MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>$(RoslynPackageVersion)</MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion>
1615
<MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>$(RoslynPackageVersion)</MicrosoftCodeAnalysisWorkspacesCommonPackageVersion>
1716
<MicrosoftVisualStudioLanguageServicesPackageVersion>$(RoslynPackageVersion)</MicrosoftVisualStudioLanguageServicesPackageVersion>
1817

‎tests/service/MultiProjectAnalysisTests.fs‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,4 @@ let ``Projects creating generated types should not utilize cross-project-referen
10201020
printfn"Errors:%A" fileCheckResults.Errors
10211021
fileCheckResults.Errors|> Array.exists(fun error-> error.Severity= FSharpErrorSeverity.Error)|> shouldEqualfalse
10221022

1023-
1024-
1025-
10261023
//------------------------------------------------------------------------------------
Binary file not shown.

‎vsintegration/src/FSharp.Editor/FSharp.Editor.fsproj‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@
126126
<PackageReferenceInclude="EnvDTE80"Version="$(EnvDTE80PackageVersion)" />
127127
<PackageReferenceInclude="Microsoft.CodeAnalysis.EditorFeatures"Version="$(MicrosoftCodeAnalysisEditorFeaturesPackageVersion)"PrivateAssets="all"ExcludeAssets="runtime;contentFiles;build;analyzers;native" />
128128
<PackageReferenceInclude="Microsoft.CodeAnalysis.EditorFeatures.Text"Version="$(MicrosoftCodeAnalysisEditorFeaturesTextPackageVersion)"PrivateAssets="all"ExcludeAssets="runtime;contentFiles;build;analyzers;native" />
129-
<PackageReferenceInclude="Microsoft.CodeAnalysis.EditorFeatures.Wpf"Version="$(MicrosoftCodeAnalysisEditorFeaturesWpfPackageVersion)"PrivateAssets="all"ExcludeAssets="runtime;contentFiles;build;analyzers;native" />
130129
<PackageReferenceInclude="Microsoft.CodeAnalysis.Workspaces.Common"Version="$(MicrosoftCodeAnalysisWorkspacesCommonPackageVersion)"PrivateAssets="all"ExcludeAssets="runtime;contentFiles;build;analyzers;native" />
131130
<PackageReferenceInclude="Microsoft.Composition"Version="$(MicrosoftCompositionPackageVersion)"PrivateAssets="all"ExcludeAssets="runtime;contentFiles;build;analyzers;native" />
132131
<PackageReferenceInclude="Microsoft.VisualStudio.ComponentModelHost"Version="$(MicrosoftVisualStudioComponentModelHostPackageVersion)"PrivateAssets="all"ExcludeAssets="runtime;contentFiles;build;analyzers;native" />

‎vsintegration/tests/UnitTests/QuickInfoProviderTests.fs‎

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
12

3+
// ------------------------------------------------------------------------------------------------------------------------
4+
//
25
// To run the tests in this file:
36
//
47
// Technique 1: Compile VisualFSharp.UnitTests.dll and run it as a set of unit tests
@@ -17,21 +20,30 @@
1720
// Technique 3:
1821
//
1922
// Use F# Interactive. This only works for FSharp.Compiler.Private.dll which has a public API
23+
//
24+
// ------------------------------------------------------------------------------------------------------------------------
2025

21-
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
22-
[<NUnit.Framework.Category"Roslyn Services">]
23-
moduleMicrosoft.VisualStudio.FSharp.Editor.Tests.Roslyn.QuickInfoProviderTests
2426

25-
openSystem
27+
namespaceMicrosoft.VisualStudio.FSharp.Editor.Tests.Roslyn
2628

29+
openSystem
2730
openNUnit.Framework
31+
openMicrosoft.VisualStudio.FSharp
32+
33+
[<SetUpFixture>]
34+
typepublicAssemblyResolverTestFixture()=
35+
36+
[<OneTimeSetUp>]
37+
memberpublic__.Init()= AssemblyResolver.addResolver()
38+
39+
[<NUnit.Framework.Category"Roslyn Services">]
40+
moduleQuickInfoProviderTests=
2841

2942
openMicrosoft.CodeAnalysis
3043
openMicrosoft.CodeAnalysis.Text
3144
openMicrosoft.VisualStudio.FSharp.Editor
3245
openMicrosoft.FSharp.Compiler.SourceCodeServices
3346
openUnitTests.TestLib.LanguageService
34-
3547
letfilePath="C:\\test.fs"
3648

3749
letinternalprojectOptions={

‎vsintegration/tests/UnitTests/VisualFSharp.UnitTests.fsproj‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
<CompileInclude="Tests.TaskReporter.fs" />
3333
<CompileInclude="Tests.Watson.fs" />
3434
<CompileInclude="Tests.XmlDocComments.fs" />
35-
3635
<CompileInclude="LegacyLanguageService\Tests.LanguageService.General.fs" />
3736
<CompileInclude="LegacyLanguageService\Tests.LanguageService.Completion.fs" />
3837
<CompileInclude="LegacyLanguageService\Tests.LanguageService.IncrementalBuild.fs" />
@@ -110,7 +109,7 @@
110109
<CompileInclude="BraceMatchingServiceTests.fs">
111110
<Link>Roslyn\BraceMatchingServiceTests.fs</Link>
112111
</Compile>
113-
<!-- TODO: Fix this test
112+
<!--
114113
<Compile Include="HelpContextServiceTests.fs">
115114
<Link>Roslyn\HelpContextServiceTests.fs</Link>
116115
</Compile>
@@ -139,17 +138,17 @@
139138
<CompileInclude="SignatureHelpProviderTests.fs">
140139
<Link>Roslyn\SignatureHelpProviderTests.fs</Link>
141140
</Compile>
142-
<!-- TODO: Fix this test
143141
<CompileInclude="GoToDefinitionServiceTests.fs">
144142
<Link>Roslyn\GoToDefinitionServiceTests.fs</Link>
145143
</Compile>
144+
<!--
146145
<Compile Include="QuickInfoProviderTests.fs">
147146
<Link>Roslyn\QuickInfoProviderTests.fs</Link>
148147
</Compile>
148+
-->
149149
<CompileInclude="DocumentHighlightsServiceTests.fs">
150150
<Link>Roslyn\DocumentHighlightsServiceTests.fs</Link>
151151
</Compile>
152-
-->
153152
<NoneInclude="App.config"CopyToOutputDirectory="None" />
154153
<NoneInclude="app.runsettings" />
155154
</ItemGroup>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp