Skip to content

Commit

Permalink
Merge branch 'main' into dev/haplois/adapter-utilities-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Haplois committed Jul 19, 2022
2 parents 3827a8e + 2ddf593 commit e062f0f
Show file tree
Hide file tree
Showing 1,228 changed files with 12,027 additions and 10,902 deletions.
26 changes: 25 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ dotnet_diagnostic.IDE0032.severity = warning # not default, set in accord
dotnet_style_readonly_field = true:warning

# Parameter preferences
dotnet_code_quality_unused_parameters = all:suggestion
dotnet_code_quality_unused_parameters = all:warning
# IDE0060: Remove unused parameter
dotnet_diagnostic.IDE0060.severity = warning

# Suppression preferences
dotnet_remove_unnecessary_suppression_exclusions = none
Expand Down Expand Up @@ -206,6 +208,28 @@ dotnet_diagnostic.CA1840.severity = warning # not default, increased severity to
# CA1041: Provide ObsoleteAttribute message
dotnet_diagnostic.CA1041.severity = warning # not default, increased severity to ensure it is applied

# CA1837: Use Environment.ProcessId instead of Process.GetCurrentProcess().Id
dotnet_diagnostic.CA1837.severity = warning # not default, increased severity to ensure it is applied

# RS0041: Public members should not use oblivious types
# TODO: Move resx as internal OR use new resx generator (nullable aware) when available
dotnet_diagnostic.RS0041.severity = none # not default, decreased severity because of public resources (resx) not being nullable aware

# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute
dotnet_diagnostic.CA1824.severity = warning # not default, increased severity to ensure it is applied

# CA1304: Specify CultureInfo
dotnet_diagnostic.CA1304.severity = warning # not default, increased severity to ensure it is applied

# CA1305: Specify IFormatProvider
dotnet_diagnostic.CA1305.severity = warning # not default, increased severity to ensure it is applied

# CA1822: Mark members as static
dotnet_diagnostic.CA1822.severity = warning # not default, increased severity to ensure it is applied

# CA1816: Dispose methods should call SuppressFinalize
dotnet_diagnostic.CA1816.severity = warning # not default, increased severity to ensure it is applied

#### C# Coding Conventions ####

# var preferences
Expand Down
6 changes: 6 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. -->
<Project>
<PropertyGroup>
<TargetNetFxVersion>net462</TargetNetFxVersion>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,21 @@
<Item ItemId=";ErrorInvalidSequenceAt" ItemType="0" PsrId="308" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Invalid escape sequence! (segment: {0}, pos: {1})]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Neplatná řídicí sekvence. (Segment: {0}, pozice: {1})]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";ErrorMethodArityMustBeNumeric" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Method arity must be numeric]]></Val>
<Val><![CDATA[Method arity must be numeric.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Arita metody musí být číselná.]]></Val>
</Tgt>
<Prev Cat="Text">
<Val><![CDATA[Method arity must be numeric]]></Val>
</Prev>
</Str>
<Disp Icon="Str" />
</Item>
Expand All @@ -45,6 +51,9 @@
<Item ItemId=";ErrorNoClosingQuote" ItemType="0" PsrId="308" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[A closing single quote was expected at the end of the segment! (segment: {0})]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Na konci segmentu se očekávala ukončovací jednoduchá uvozovka. (Segment: {0})]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,24 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";NoSuitableRuntimeProviderFound" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[No suitable test runtime provider was found:]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Nenašel se žádný vhodný zprostředkovatel testovacího modulu runtime:]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";NoTestHostProviderFound" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[No suitable test runtime provider found for this run.]]></Val>
<Val><![CDATA[No suitable test runtime provider was found for any source in this run.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Pro tento běh se nenašel žádný vhodný zprostředkovatel testů v režimu runtime.]]></Val>
<Val><![CDATA[V tomto běhu se nenašel žádný vhodný zprostředkovatel testovacího modulu runtime pro žádný zdroj.]]></Val>
</Tgt>
<Prev Cat="Text">
<Val><![CDATA[No suitable test runtime provider found for this run.]]></Val>
</Prev>
</Str>
<Disp Icon="Str" />
</Item>
Expand Down Expand Up @@ -274,6 +286,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";SkippingSource" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Skipping source:]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Přeskočení zdroje:]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";StringSeperator" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[, ]]></Val>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<LCX SchemaVersion="6.0" Name="D:\a\_work\1\s\src\Microsoft.TestPlatform.VsTestConsole.TranslationLayer\Resources\xlf\InternalResources.xlf" PsrId="308" FileType="1" SrcCul="en-US" TgtCul="cs-CZ" xmlns="http://schemas.microsoft.com/locstudio/2006/6/lcx">
<OwnedComments>
<Cmt Name="Dev" />
<Cmt Name="LcxAdmin" />
<Cmt Name="Rccx" />
</OwnedComments>
<Settings Name="@vsLocTools@\default.lss" Type="Lss" />
<Item ItemId=";Xliff file" ItemType="0" PsrId="308" Leaf="false">
<Disp Icon="Expand" Expand="true" Disp="true" LocTbl="false" />
<Item ItemId=";Xliff Resources" ItemType="0" PsrId="308" Leaf="false">
<Disp Icon="Str" Disp="true" LocTbl="false" />
<Item ItemId=";CannotFindConsoleRunner" ItemType="0" PsrId="308" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Cannot find the console runner {0}.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Nepovedlo se najít {0} spouštěče konzoly.]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";ProcessStartWin32Failure" ItemType="0" PsrId="308" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[An error occurred when opening the file {0} with arguments {1}.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Při otevírání {0} souboru s argumenty {1} došlo k chybě.]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
</Item>
</Item>
</LCX>
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@
</Item>
<Item ItemId=";ErrorMethodArityMustBeNumeric" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Method arity must be numeric]]></Val>
<Val><![CDATA[Method arity must be numeric.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Die Stelligkeit der Methode muss numerisch sein.]]></Val>
</Tgt>
<Prev Cat="Text">
<Val><![CDATA[Method arity must be numeric]]></Val>
</Prev>
</Str>
<Disp Icon="Str" />
</Item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,24 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";NoSuitableRuntimeProviderFound" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[No suitable test runtime provider was found:]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Es wurde kein geeigneter Testruntimeanbieter gefunden:]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";NoTestHostProviderFound" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[No suitable test runtime provider found for this run.]]></Val>
<Val><![CDATA[No suitable test runtime provider was found for any source in this run.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Für diese Ausführung wurde kein geeigneter Testlaufzeitanbieter gefunden.]]></Val>
<Val><![CDATA[Für eine Quelle in dieser Ausführung wurde kein geeigneter Testruntimeanbieter gefunden.]]></Val>
</Tgt>
<Prev Cat="Text">
<Val><![CDATA[No suitable test runtime provider found for this run.]]></Val>
</Prev>
</Str>
<Disp Icon="Str" />
</Item>
Expand Down Expand Up @@ -274,6 +286,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";SkippingSource" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Skipping source:]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Quelle wird übersprungen:]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";StringSeperator" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[, ]]></Val>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<LCX SchemaVersion="6.0" Name="D:\a\_work\1\s\src\Microsoft.TestPlatform.VsTestConsole.TranslationLayer\Resources\xlf\InternalResources.xlf" PsrId="308" FileType="1" SrcCul="en-US" TgtCul="de-DE" xmlns="http://schemas.microsoft.com/locstudio/2006/6/lcx">
<OwnedComments>
<Cmt Name="Dev" />
<Cmt Name="LcxAdmin" />
<Cmt Name="Rccx" />
</OwnedComments>
<Settings Name="@vsLocTools@\default.lss" Type="Lss" />
<Item ItemId=";Xliff file" ItemType="0" PsrId="308" Leaf="false">
<Disp Icon="Expand" Expand="true" Disp="true" LocTbl="false" />
<Item ItemId=";Xliff Resources" ItemType="0" PsrId="308" Leaf="false">
<Disp Icon="Str" Disp="true" LocTbl="false" />
<Item ItemId=";CannotFindConsoleRunner" ItemType="0" PsrId="308" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Cannot find the console runner {0}.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Der Konsolen-Runner {0} wurde nicht gefunden.]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";ProcessStartWin32Failure" ItemType="0" PsrId="308" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[An error occurred when opening the file {0} with arguments {1}.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Beim Öffnen der Datei {0} mit den Argumenten {1} ist ein Fehler aufgetreten.]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
</Item>
</Item>
</LCX>
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,21 @@
<Item ItemId=";ErrorInvalidSequenceAt" ItemType="0" PsrId="308" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Invalid escape sequence! (segment: {0}, pos: {1})]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Secuencia de escape no válida. (Segmento: {0}. Posición: {1})]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";ErrorMethodArityMustBeNumeric" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Method arity must be numeric]]></Val>
<Val><![CDATA[Method arity must be numeric.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[La aridad del método debe ser numérica]]></Val>
<Val><![CDATA[La aridad del método debe ser numérica.]]></Val>
</Tgt>
<Prev Cat="Text">
<Val><![CDATA[Method arity must be numeric]]></Val>
</Prev>
</Str>
<Disp Icon="Str" />
</Item>
Expand All @@ -45,6 +51,9 @@
<Item ItemId=";ErrorNoClosingQuote" ItemType="0" PsrId="308" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[A closing single quote was expected at the end of the segment! (segment: {0})]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Se esperaba una comilla simple de cierre al final del segmento. (Segmento: {0})]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,24 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";NoSuitableRuntimeProviderFound" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[No suitable test runtime provider was found:]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[No se encontró ningún proveedor de tiempo de ejecución de prueba adecuado:]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";NoTestHostProviderFound" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[No suitable test runtime provider found for this run.]]></Val>
<Val><![CDATA[No suitable test runtime provider was found for any source in this run.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[No se encontró un proveedor de tiempo de ejecución de prueba adecuado para esta ejecución.]]></Val>
<Val><![CDATA[No se encontró ningún proveedor de tiempo de ejecución de pruebas adecuado para ningún origen en esta ejecución.]]></Val>
</Tgt>
<Prev Cat="Text">
<Val><![CDATA[No suitable test runtime provider found for this run.]]></Val>
</Prev>
</Str>
<Disp Icon="Str" />
</Item>
Expand Down Expand Up @@ -274,6 +286,15 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";SkippingSource" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Skipping source:]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Omitiendo origen:]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";StringSeperator" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[, ]]></Val>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<LCX SchemaVersion="6.0" Name="D:\a\_work\1\s\src\Microsoft.TestPlatform.VsTestConsole.TranslationLayer\Resources\xlf\InternalResources.xlf" PsrId="308" FileType="1" SrcCul="en-US" TgtCul="es-ES" xmlns="http://schemas.microsoft.com/locstudio/2006/6/lcx">
<OwnedComments>
<Cmt Name="Dev" />
<Cmt Name="LcxAdmin" />
<Cmt Name="Rccx" />
</OwnedComments>
<Settings Name="@vsLocTools@\default.lss" Type="Lss" />
<Item ItemId=";Xliff file" ItemType="0" PsrId="308" Leaf="false">
<Disp Icon="Expand" Expand="true" Disp="true" LocTbl="false" />
<Item ItemId=";Xliff Resources" ItemType="0" PsrId="308" Leaf="false">
<Disp Icon="Str" Disp="true" LocTbl="false" />
<Item ItemId=";CannotFindConsoleRunner" ItemType="0" PsrId="308" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Cannot find the console runner {0}.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[No se encuentra el ejecutor de consola {0}.]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";ProcessStartWin32Failure" ItemType="0" PsrId="308" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[An error occurred when opening the file {0} with arguments {1}.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Error al abrir el archivo {0} con los argumentos {1}.]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
</Item>
</Item>
</LCX>
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@
</Item>
<Item ItemId=";ErrorMethodArityMustBeNumeric" ItemType="0" PsrId="308" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Method arity must be numeric]]></Val>
<Val><![CDATA[Method arity must be numeric.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[L'arité de la méthode doit être numérique]]></Val>
<Val><![CDATA[L'arité de la méthode doit être numérique.]]></Val>
</Tgt>
<Prev Cat="Text">
<Val><![CDATA[Method arity must be numeric]]></Val>
</Prev>
</Str>
<Disp Icon="Str" />
</Item>
Expand Down
Loading

0 comments on commit e062f0f

Please sign in to comment.