Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bockover <abock@microsoft.com>2019-10-04 18:47:29 +0300
committerAaron Bockover <abock@microsoft.com>2019-10-04 18:47:29 +0300
commita1a87772b3ac7c887b9c0f4372f24bbcfc0213d3 (patch)
tree65bd12966b1b85638c95f81bc84c11d329304334
parent96873d1f62934967cc15e4c601704978ab1ed0aa (diff)
Sync with vs-editor-core@8d76168c
-rw-r--r--build/PackageVersions.targets8
-rw-r--r--build/Project.targets7
2 files changed, 14 insertions, 1 deletions
diff --git a/build/PackageVersions.targets b/build/PackageVersions.targets
index 50a8248..e40c771 100644
--- a/build/PackageVersions.targets
+++ b/build/PackageVersions.targets
@@ -8,7 +8,7 @@
<PackageReference Update="Microsoft.VisualStudio.Threading" Version="15.8.192"/>
<PackageReference Update="Microsoft.VisualStudio.Utilities" Version="15.0.26606"/>
<PackageReference Update="Microsoft.VisualStudio.Validation" Version="15.3.15"/>
- <PackageReference Update="System.Collections.Immutable" Version="1.5.0"/>
+ <PackageReference Update="System.Collections.Immutable" Version="1.6.0"/>
</ItemGroup>
<!-- Used only by src/Editor/Language/Def/Language/CodeLens/Remoting -->
@@ -38,4 +38,10 @@
<PackageReference Update="stdole" Version="7.0.3301"/>
<PackageReference Update="SQLitePCLRaw.bundle_green" Version="1.1.2"/>
</ItemGroup>
+
+ <!-- Unit Tests -->
+ <ItemGroup>
+ <PackageReference Update="xunit" Version="2.4.1"/>
+ <PackageReference Update="xunit.runner.console" Version="2.4.1"/>
+ </ItemGroup>
</Project>
diff --git a/build/Project.targets b/build/Project.targets
index 1889d00..5601814 100644
--- a/build/Project.targets
+++ b/build/Project.targets
@@ -61,4 +61,11 @@
<Reference Remove="UIAutomationTypes"/>
</ItemGroup>
</Target>
+
+ <Target Name="Test" Condition="$(MSBuildProjectFile.EndsWith('UnitTests.csproj'))">
+ <PropertyGroup>
+ <StandaloneMacEditor>$(RepoBinPath)StandaloneMacEditor\$(Configuration)\$(TargetFramework)\MonoDevelop.Ide.app\Contents\MacOS\MonoDevelop.Ide</StandaloneMacEditor>
+ </PropertyGroup>
+ <Exec Command="&quot;$(StandaloneMacEditor)&quot; test &quot;$(TargetPath)&quot; -xml &quot;$(RepoArtifactsPath)TestResults\$(TargetName).xml&quot;" />
+ </Target>
</Project> \ No newline at end of file