Skip to content

Commit

Permalink
1187 add support for xplat vstest console in translationlayer (#1893)
Browse files Browse the repository at this point in the history
* reverting back app domain culture setup

* binding redirect for TW.Interfaces

* Run net451 test for Newtonsoft dependency

* Rename vstest.console.exe and xunit.console.exe to vstest.console

* If vstest console path ends in .dll, start with dotnet

* change another instance of vstest.console.exe comment to vstest.console

* Check if vstest console is dll and run with dotnet if true

* Change order of process start to give vstest.console.dll some more time to start up

* Remove test logic that says vstest.console.dll is not supported by VsTestConsoleWrapper

* Use DotnetHostHelper.GetDotnetPath instead of hardcoded dotnet executable

* Add missing process.Kill

* vstest.console.dll is picked from debug\netcoreapp folder.
Correct acceptance tests

* Fix Tranlation layer tests

* Fix Azure pipeline

* PR Comments

* Fix
  • Loading branch information
Mobrockers authored and mayankbansal018 committed Feb 8, 2019
1 parent 519c7a4 commit 4ebd97a
Show file tree
Hide file tree
Showing 30 changed files with 253 additions and 141 deletions.
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

jobs:
- job: Windows
timeoutInMinutes: 120
pool:
vmImage: 'vs2017-win2016'
variables:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
#region Test Assemblies

[assembly: InternalsVisibleTo("TranslationLayer.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("Microsoft.TestPlatform.TestUtilities, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]

#endregion

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@
<data name="FailedToReceiveMessage" xml:space="preserve">
<value>Failed to receive message from vstest.console process</value>
</data>
<data name="InvalidFilePath" xml:space="preserve">
<value>File {0} does not exists</value>
</data>
<data name="VsTestProcessExitedAbnormally" xml:space="preserve">
<value>vstest.console process exited abnormally</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
</alt-trans>
<note from="bb-metadata">fuzzyMatch="15" wordcount="4" adjWordcount="3.4" curWordcount="3.4"</note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
</alt-trans>
<note from="bb-metadata">fuzzyMatch="15" wordcount="4" adjWordcount="3.4" curWordcount="3.4"</note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
</alt-trans>
<note from="bb-metadata">fuzzyMatch="15" wordcount="4" adjWordcount="3.4" curWordcount="3.4"</note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
</alt-trans>
<note from="bb-metadata">fuzzyMatch="15" wordcount="4" adjWordcount="3.4" curWordcount="3.4"</note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
</alt-trans>
<note from="bb-metadata">fuzzyMatch="15" wordcount="4" adjWordcount="3.4" curWordcount="3.4"</note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
</alt-trans>
<note from="bb-metadata">fuzzyMatch="15" wordcount="4" adjWordcount="3.4" curWordcount="3.4"</note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
</alt-trans>
<note from="bb-metadata">fuzzyMatch="15" wordcount="4" adjWordcount="3.4" curWordcount="3.4"</note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
</alt-trans>
<note from="bb-metadata">fuzzyMatch="15" wordcount="4" adjWordcount="3.4" curWordcount="3.4"</note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
</alt-trans>
<note from="bb-metadata">fuzzyMatch="15" wordcount="4" adjWordcount="3.4" curWordcount="3.4"</note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
</alt-trans>
<note from="bb-metadata">fuzzyMatch="15" wordcount="4" adjWordcount="3.4" curWordcount="3.4"</note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
</alt-trans>
<note from="bb-metadata">fuzzyMatch="15" wordcount="4" adjWordcount="3.4" curWordcount="3.4"</note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<source>vstest.console process exited abnormally</source>
<note></note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
</alt-trans>
<note from="bb-metadata">fuzzyMatch="15" wordcount="4" adjWordcount="3.4" curWordcount="3.4"</note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
</alt-trans>
<note from="bb-metadata">fuzzyMatch="15" wordcount="4" adjWordcount="3.4" curWordcount="3.4"</note>
</trans-unit>
<trans-unit id="InvalidFilePath">
<source>File {0} does not exists</source>
<target state="new">File {0} does not exists</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>
Loading

0 comments on commit 4ebd97a

Please sign in to comment.