diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/Resource.resx b/src/Adapter/MSTestAdapter.PlatformServices/Resources/Resource.resx
index 3380abb157..3c6d315749 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/Resource.resx
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/Resource.resx
@@ -119,210 +119,253 @@
Could not find file '{0}'.
+ {0} is the file path.The parameter should not be null or empty.
+ {Locked="null"}Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.deployment item '{0}' (output directory '{1}')
+ {0} is the deployment item path. {1} is the output directory.MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
+ {0} is the assembly or module name.{0}_{1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Data source '{0}' cannot be found in the test configuration settings
+ {0} is the data source name.The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}Wrong number of objects for permutation. Should be greater than zero.Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Assembly cleanup method '{0}.{1}' timed out after {2}ms
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
+ {0} is the type name. {1} is the class initialize method name.MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:[MSTest][Discovery][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
+ {0} is the test name.Test '{0}' timed out after {1}ms
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- {Locked="Scope"}
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- {Locked="Workers"}
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
+ {Locked="MSTestV2"}{Locked=".runsettings"}Running tests in any of the provided sources is not supported for the selected platformFile does not exist: {0}
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- {Locked="Workers"}{Locked="Scope"}
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -330,143 +373,188 @@ but received {4} argument(s), with types '{5}'.
Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
+ {0} is the test class name. {1} is the exception message.--- End of inner exception stack trace ---UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
+ {0} is the declaring type name. {1} is the method name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
+ {0} is the test class name. {1} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
+ {0} is the exception type name.Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Discovery failed for source '{0}' with {1} errors:
{2}
+ {0} is the source path. {1} is the error count. {2} is the error details.Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}Only one attribute of type '{0}' is allowed, but multiple were found.
+ {0} is the attribute type name.
\ No newline at end of file
diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.cs.xlf b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.cs.xlf
index 5ca4624317..b9c665e3cb 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.cs.xlf
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.cs.xlf
@@ -4,102 +4,97 @@
Assembly cleanup method '{0}.{1}' timed out after {2}ms
- Po {2} ms vypršel časový limit metody čištění sestavení {0}.{1}.
-
+ Po {2} ms vypršel časový limit metody čištění sestavení {0}.{1}.
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
- Metoda čištění sestavení {0}.{1} byla zrušena.
-
+ Metoda čištění sestavení {0}.{1} byla zrušena.
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
- Po {2} ms vypršel časový limit metody inicializace sestavení {0}.{1}.
-
+ Po {2} ms vypršel časový limit metody inicializace sestavení {0}.{1}.
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
- Metoda inicializace sestavení {0}.{1} byla zrušena.
-
+ Metoda inicializace sestavení {0}.{1} byla zrušena.
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
- MSTestAdapterV2
-
+ MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- Při vytváření výčtu atributu IDataSource došlo k výjimce. „{0}.{1}“: {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ Při vytváření výčtu atributu IDataSource došlo k výjimce. „{0}.{1}“: {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- Došlo k výjimce při rozbalování řádků IDataSource z atributu na „{0}.{1}“: {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ Došlo k výjimce při rozbalování řádků IDataSource z atributu na „{0}.{1}“: {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- Data v {0} indexu pro „{1}“ nelze serializovat. Všechna data poskytnutá prostřednictvím „IDataSource“ by měla být serializovatelná. Pokud potřebujete testovat neserializovatelné zdroje dat, nezapomeňte do testovacího sestavení přidat atribut TestDataSourceDiscovery a nastavit možnost zjišťování na „DuringExecution“.
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ Data v {0} indexu pro „{1}“ nelze serializovat. Všechna data poskytnutá prostřednictvím „IDataSource“ by měla být serializovatelná. Pokud potřebujete testovat neserializovatelné zdroje dat, nezapomeňte do testovacího sestavení přidat atribut TestDataSourceDiscovery a nastavit možnost zjišťování na „DuringExecution“.
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Could not find file '{0}'.
- Soubor {0} se nenašel.
-
+ Soubor {0} se nenašel.
+ {0} is the file path.Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
- Testovací metodu {0}.{1} nejde spustit: Testovací data neodpovídají parametrům metody. Liší se počet nebo typy.
+ Testovací metodu {0}.{1} nejde spustit: Testovací data neodpovídají parametrům metody. Liší se počet nebo typy.
Pro test se očekával tento počet parametrů: {2} s typy {3},
byl však přijat tento počet argumentů: {4} s typy {5}.
-
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
- Nelze spustit testovací metodu {0}.{1}: Metoda má parametry, ale nedefinuje žádný zdroj testu. K poskytování testovacích dat použijte zdroj dat [DataRow] nebo [DynamicData], případně vlastní zdroj dat ITestDataSource.
-
+ Nelze spustit testovací metodu {0}.{1}: Metoda má parametry, ale nedefinuje žádný zdroj testu. K poskytování testovacích dat použijte zdroj dat [DataRow] nebo [DynamicData], případně vlastní zdroj dat ITestDataSource.
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
- Po {2} ms vypršel časový limit metody čištění třídy {0}.{1}.
-
+ Po {2} ms vypršel časový limit metody čištění třídy {0}.{1}.
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
- Metoda čištění třídy {0}.{1} byla zrušena.
-
+ Metoda čištění třídy {0}.{1} byla zrušena.
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
- Po {2} ms vypršel časový limit metody inicializace třídy {0}.{1}.
-
+ Po {2} ms vypršel časový limit metody inicializace třídy {0}.{1}.
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
- Metoda inicializace třídy {0}.{1} byla zrušena.
-
+ Metoda inicializace třídy {0}.{1} byla zrušena.
+ {0} is the type name. {1} is the class initialize method name.The parameter should not be null or empty.
- Parametr nemůže být null nebo prázdný.
-
+ Parametr nemůže být null nebo prázdný.
+ {Locked="null"}MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
- MSTestAdapter nezjistil v třídě {0} sestavení {1} žádný test, protože: {2}.
-
+ MSTestAdapter nezjistil v třídě {0} sestavení {1} žádný test, protože: {2}.
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
- {0} (datový řádek {1})
-
+ {0} (datový řádek {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:
@@ -108,58 +103,58 @@ byl však přijat tento počet argumentů: {4} s typy {5}.
Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
- Problém nasazení testovacího běhu: Chybná položka nasazení: {0}: výstupní adresář {1} určuje položku, která se má nasadit mimo kořenový adresář nasazení, což není povolené.
-
+ Problém nasazení testovacího běhu: Chybná položka nasazení: {0}: výstupní adresář {1} určuje položku, která se má nasadit mimo kořenový adresář nasazení, což není povolené.
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
- Problém nasazení testovacího běhu: Nepodařilo se získat přístup k výstupnímu adresáři {1} zadanému položkou nasazení {0}, položka se nenasadí: {2}: {3}
-
+ Problém nasazení testovacího běhu: Nepodařilo se získat přístup k výstupnímu adresáři {1} zadanému položkou nasazení {0}, položka se nenasadí: {2}: {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
- Problém nasazení testovacího běhu: Nepodařilo se získat přístup k souboru {0}: {1}: {2}
-
+ Problém nasazení testovacího běhu: Nepodařilo se získat přístup k souboru {0}: {1}: {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
- Problém nasazení testovacího běhu: Nepodařilo se zkopírovat soubor {0} do {1}: {2}: {3}
-
+ Problém nasazení testovacího běhu: Nepodařilo se zkopírovat soubor {0} do {1}: {2}: {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
- Problém nasazení testovacího běhu: Nepodařilo se nasadit závislosti úložiště testů {0}: {1}
-
+ Problém nasazení testovacího běhu: Nepodařilo se nasadit závislosti úložiště testů {0}: {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
- Problém nasazení testovacího běhu: Nepodařilo se získat soubor pro {0}: {1}: {2}
-
+ Problém nasazení testovacího běhu: Nepodařilo se získat soubor pro {0}: {1}: {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
- Problém nasazení testovacího běhu: Během získávání satelitních sestavení pro {0}: {1}: {2} došlo k chybě
-
+ Problém nasazení testovacího běhu: Během získávání satelitních sestavení pro {0}: {1}: {2} došlo k chybě
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
- položka nasazení {0}
-
+ položka nasazení {0}
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
- Neplatná položka nasazení: Zadaná cesta {0} nebo adresář výstupu {1} obsahuje neplatné znaky.
-
+ Neplatná položka nasazení: Zadaná cesta {0} nebo adresář výstupu {1} obsahuje neplatné znaky.
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
- Neplatná položka nasazení: Adresář výstupu nemůže být null.
-
+ Neplatná položka nasazení: Adresář výstupu nemůže být null.
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
- Neplatná položka nasazení: Zadaný adresář výstupu {0} nemá relativní adresu.
-
+ Neplatná položka nasazení: Zadaný adresář výstupu {0} nemá relativní adresu.
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.
@@ -168,107 +163,105 @@ byl však přijat tento počet argumentů: {4} s typy {5}.
deployment item '{0}' (output directory '{1}')
- položka nasazení {0} (adresář výstupu {1})
-
+ položka nasazení {0} (adresář výstupu {1})
+ {0} is the deployment item path. {1} is the output directory.Discovery failed for source '{0}' with {1} errors:
{2}
- Zjišťování zdroje {0} se nezdařilo s chybami (celkem {1}):
+ Zjišťování zdroje {0} se nezdařilo s chybami (celkem {1}):
{2}
-
+ {0} is the source path. {1} is the error count. {2} is the error details.[MSTest][Discovery][{0}] {1}
- [MSTest][Discovery][{0}] {1}
-
+ [MSTest][Discovery][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Only one attribute of type '{0}' is allowed, but multiple were found.
- Je povolen pouze jeden atribut typu {0}, ale bylo nalezeno více atributů.
-
+ Je povolen pouze jeden atribut typu {0}, ale bylo nalezeno více atributů.
+ {0} is the attribute type name.Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
- Byly zjištěny soubory .runsettings i .testconfig.json. Vyberte prosím jenom jeden z těchto souborů konfigurace testu.
-
+ Byly zjištěny soubory .runsettings i .testconfig.json. Vyberte prosím jenom jeden z těchto souborů konfigurace testu.
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- „{0}“: (Nepodařilo se získat popis výjimky z důvodu výjimky typu „{1}“.
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ „{0}“: (Nepodařilo se získat popis výjimky z důvodu výjimky typu „{1}“.
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
- Test {0} byl zrušen.
-
+ Test {0} byl zrušen.
+ {0} is the test name.Test '{0}' timed out after {1}ms
- Časový limit testu {0} vypršel po {1} ms.
-
+ Časový limit testu {0} vypršel po {1} ms.
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- Získání vlastních atributů pro typ {0} vyvolalo výjimku (bude ignorovat a používat způsob reflexe): {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ Získání vlastních atributů pro typ {0} vyvolalo výjimku (bude ignorovat a používat způsob reflexe): {1}
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
- Typ obecného parametru {0} nelze odvodit.
-
+ Typ obecného parametru {0} nelze odvodit.
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
- Obecná testovací metoda {0}'nemá argumenty, takže nelze odvodit obecný parametr.
-
+ Obecná testovací metoda {0}'nemá argumenty, takže nelze odvodit obecný parametr.
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- Byly nalezeny dva konfliktní typy pro obecný parametr {0}. Konfliktní typy jsou {1} a {2}.
-
+ Byly nalezeny dva konfliktní typy pro obecný parametr {0}. Konfliktní typy jsou {1} a {2}.
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- Pro procesy 'Scope' je zadaná neplatná hodnota {0}. Podporované obory jsou {1}.
- {Locked="Scope"}
+ Pro procesy 'Scope' je zadaná neplatná hodnota {0}. Podporované obory jsou {1}.
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- Pro procesy 'Workers' je zadaná neplatná hodnota {0}. Hodnota by měla být nezáporné celé číslo.
- {Locked="Workers"}
+ Pro procesy 'Workers' je zadaná neplatná hodnota {0}. Hodnota by měla být nezáporné celé číslo.
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
- Neplatné nastavení {0}. Neočekávaný XmlAttribute: {1}.
-
+ Neplatné nastavení {0}. Neočekávaný XmlAttribute: {1}.
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
- Nástroj MSTestAdapter zjistil neočekávaný prvek {0} v nastavení {1}. Odeberte tento prvek a zkuste to znovu.
-
+ Nástroj MSTestAdapter zjistil neočekávaný prvek {0} v nastavení {1}. Odeberte tento prvek a zkuste to znovu.
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
- Neplatná hodnota {0} pro položku runsettings {1}. Nastavení bude ignorováno.
-
+ Neplatná hodnota {0} pro položku runsettings {1}. Nastavení bude ignorováno.
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
- Problém nasazení testovacího běhu: Sestavení nebo modul {0} se nenašly. Důvod: {1}
-
+ Problém nasazení testovacího běhu: Sestavení nebo modul {0} se nenašly. Důvod: {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
- Problém nasazení testovacího běhu: Sestavení nebo modul {0} se nenašly.
-
+ Problém nasazení testovacího běhu: Sestavení nebo modul {0} se nenašly.
+ {0} is the assembly or module name.An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
- V sestavení je načtena starší verze balíčku MSTestV2. Zjišťování testů může selhat při zjišťování všech testů dat, pokud jsou závislé na souboru .runsettings.
-
+ V sestavení je načtena starší verze balíčku MSTestV2. Zjišťování testů může selhat při zjišťování všech testů dat, pokud jsou závislé na souboru .runsettings.
+ {Locked="MSTestV2"}{Locked=".runsettings"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -277,13 +270,13 @@ byl však přijat tento počet argumentů: {4} s typy {5}.
Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- Náhodné pořadí testů je povoleno (Seed: {0}). Pokud chcete toto pořadí reprodukovat, nastavte RandomTestOrderSeed.
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ Náhodné pořadí testů je povoleno (Seed: {0}). Pokud chcete toto pořadí reprodukovat, nastavte RandomTestOrderSeed.
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
- Položka runsettings <ExecutionApartmentState>STA</ExecutionApartmentState> se v operačních systémech jiných než Windows nepodporuje.
-
+ Položka runsettings <ExecutionApartmentState>STA</ExecutionApartmentState> se v operačních systémech jiných než Windows nepodporuje.
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}Running tests in any of the provided sources is not supported for the selected platform
@@ -292,108 +285,108 @@ byl však přijat tento počet argumentů: {4} s typy {5}.
File does not exist: {0}
- Neexistující soubor: {0}
-
+ Neexistující soubor: {0}
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
- Po {2} ms vypršel časový limit metody čištění testu {0}.{1}.
-
+ Po {2} ms vypršel časový limit metody čištění testu {0}.{1}.
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
- Metoda čištění testu {0}.{1} byla zrušena.
-
+ Metoda čištění testu {0}.{1} byla zrušena.
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
- Zprávy pro TestContext:
-
+ Zprávy pro TestContext:
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
- Po {2} ms vypršel časový limit metody inicializace testu {0}.{1}.
-
+ Po {2} ms vypršel časový limit metody inicializace testu {0}.{1}.
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
- Metoda inicializace testu {0}.{1} byla zrušena.
-
+ Metoda inicializace testu {0}.{1} byla zrušena.
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
- Testovací metoda {0} se nenašla.
-
+ Testovací metoda {0} se nenašla.
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- Je povolená paralelizace testu pro {0} (Workers: {1}, Scope: {2})
- {Locked="Workers"}{Locked="Scope"}
+ Je povolená paralelizace testu pro {0} (Workers: {1}, Scope: {2})
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}{0}_{1} {2}
- {0}_{1} {2}
-
+ {0}_{1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
- Čisticí metoda sestavení {0}.{1} selhala. Chybová zpráva: {2}. Trasování zásobníku: {3}
-
+ Čisticí metoda sestavení {0}.{1} selhala. Chybová zpráva: {2}. Trasování zásobníku: {3}
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
- UTA070: Typ {0}, na který odkazuje [AssemblyFixtureProvider], nesmí být obecný.
-
+ UTA070: Typ {0}, na který odkazuje [AssemblyFixtureProvider], nesmí být obecný.
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
- UTA071: Nepodařilo se vytvořit výčet metod pro typ {0}, na který odkazuje [AssemblyFixtureProvider]. {1}
-
+ UTA071: Nepodařilo se vytvořit výčet metod pro typ {0}, na který odkazuje [AssemblyFixtureProvider]. {1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
- UTA072: Nepodařilo se načíst značku [AssemblyFixtureProvider] ze sestavení {0}. {1}
-
+ UTA072: Nepodařilo se načíst značku [AssemblyFixtureProvider] ze sestavení {0}. {1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
- Inicializační metoda sestavení {0}.{1} vyvolala výjimku. {2}: {3}. Přerušuje se provádění testu.
-
+ Inicializační metoda sestavení {0}.{1} vyvolala výjimku. {2}: {3}. Přerušuje se provádění testu.
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
- Čisticí metoda třídy {0}.{1} selhala. Chybová zpráva: {2}. Trasování zásobníku: {3}
-
+ Čisticí metoda třídy {0}.{1} selhala. Chybová zpráva: {2}. Trasování zásobníku: {3}
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
- Inicializační metoda třídy {0}.{1} vyvolala výjimku. {2}: {3}.
-
+ Inicializační metoda třídy {0}.{1} vyvolala výjimku. {2}: {3}.
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- Metoda {0}.{1} má špatný podpis. Metoda musí být static nebo public, nevrací hodnotu a nesmí přijímat žádný parametr. Pokud navíc v metodě používáte operátor async-await, musí být návratový typ Task nebo ValueTask.
-
+ Metoda {0}.{1} má špatný podpis. Metoda musí být static nebo public, nevrací hodnotu a nesmí přijímat žádný parametr. Pokud navíc v metodě používáte operátor async-await, musí být návratový typ Task nebo ValueTask.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- Metoda {0}.{1} má špatný podpis. Metoda musí být static nebo public, nevrací hodnotu a musí přijímat jeden parametr typu TestContext. Pokud navíc v metodě používáte operátor async-await, musí být návratový typ Task nebo ValueTask.
-
+ Metoda {0}.{1} má špatný podpis. Metoda musí být static nebo public, nevrací hodnotu a musí přijímat jeden parametr typu TestContext. Pokud navíc v metodě používáte operátor async-await, musí být návratový typ Task nebo ValueTask.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
- Metoda TestCleanup {0}.{1} vyvolala výjimku. {2}.
-
+ Metoda TestCleanup {0}.{1} vyvolala výjimku. {2}.
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
- Při volání čisticí metody testu pro třídu {0} došlo k chybě: {1}
-
+ Při volání čisticí metody testu pro třídu {0} došlo k chybě: {1}
+ {0} is the test class name. {1} is the exception message.Data source '{0}' cannot be found in the test configuration settings
- Zdroj dat {0} se v nastavení konfigurace testu nenašel.
-
+ Zdroj dat {0} se v nastavení konfigurace testu nenašel.
+ {0} is the data source name.--- End of inner exception stack trace ---
@@ -402,162 +395,162 @@ byl však přijat tento počet argumentů: {4} s typy {5}.
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
- Adaptéru testování částí se buď nepodařilo připojit ke zdroji dat, nebo přečíst data. Další informace o odstraňování této chyby najdete v knihovně MSDN v tématu Troubleshooting Data-Driven Unit Tests (http://go.microsoft.com/fwlink/?LinkId=62412). Podrobnosti o chybě: {0}
-
+ Adaptéru testování částí se buď nepodařilo připojit ke zdroji dat, nebo přečíst data. Další informace o odstraňování této chyby najdete v knihovně MSDN v tématu Troubleshooting Data-Driven Unit Tests (http://go.microsoft.com/fwlink/?LinkId=62412). Podrobnosti o chybě: {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
- UTA031: Třída {0} nemá platnou vlastnost TestContext. Vlastnost TestContext musí být typu TestContext, musí být nestatická a musí být veřejná. Například: public TestContext TestContext
-
+ UTA031: Třída {0} nemá platnou vlastnost TestContext. Vlastnost TestContext musí být typu TestContext, musí být nestatická a musí být veřejná. Například: public TestContext TestContext
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
- UTA007: Metoda {1} definovaná ve třídě {0} nemá správný podpis. Testovací metoda označená atributem [TestMethod] nesmí být static ani public, musí mít návratový typ void a nesmí přijímat žádný parametr. Například: public void Test.Class1.Test(). Pokud navíc v testovací metodě používáte operátor async-await, musí být návratový typ Task nebo ValueTask. Například: public async Task Test.Class1.Test2()
-
+ UTA007: Metoda {1} definovaná ve třídě {0} nemá správný podpis. Testovací metoda označená atributem [TestMethod] nesmí být static ani public, musí mít návratový typ void a nesmí přijímat žádný parametr. Například: public void Test.Class1.Test(). Pokud navíc v testovací metodě používáte operátor async-await, musí být návratový typ Task nebo ValueTask. Například: public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
- UTA054: {0}.{1} má neplatný atribut Timeout. Hodnota timeline musí být celé číslo větší než 0.
-
+ UTA054: {0}.{1} má neplatný atribut Timeout. Hodnota timeline musí být celé číslo větší než 0.
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
- UTA014: {0}: V jednom sestavení nejde definovat více jak jednu metodu s atributem AssemblyCleanup.
-
+ UTA014: {0}: V jednom sestavení nejde definovat více jak jednu metodu s atributem AssemblyCleanup.
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
- UTA013: {0}: V jednom sestavení nejde definovat více jak jednu metodu s atributem AssemblyInitialize.
-
+ UTA013: {0}: V jednom sestavení nejde definovat více jak jednu metodu s atributem AssemblyInitialize.
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
- UTA026: {0}: Uvnitř třídy nejde definovat více jak jednu metodu s atributem ClassCleanup.
-
+ UTA026: {0}: Uvnitř třídy nejde definovat více jak jednu metodu s atributem ClassCleanup.
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
- UTA025: {0}: Uvnitř třídy nejde definovat více jak jednu metodu s atributem ClassInitialize.
-
+ UTA025: {0}: Uvnitř třídy nejde definovat více jak jednu metodu s atributem ClassInitialize.
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
- UTA024: {0}: Nejde definovat více jak jednu metodu s atributem TestCleanup.
-
+ UTA024: {0}: Nejde definovat více jak jednu metodu s atributem TestCleanup.
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
- UTA018: {0}: Nejde definovat více jak jednu metodu s atributem TestInitialize.
-
+ UTA018: {0}: Nejde definovat více jak jednu metodu s atributem TestInitialize.
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
- UTA001: Atribut TestClass se definoval v neveřejné třídě {0}.
-
+ UTA001: Atribut TestClass se definoval v neveřejné třídě {0}.
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
- Atribut TestClass definovaný u obecné neabstraktní třídy {0}
-
+ Atribut TestClass definovaný u obecné neabstraktní třídy {0}
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
- Metoda Execute vyvolala neošetřenou výjimku. Nahlaste prosím tuto chybu autorovi atributu {0}.
+ Metoda Execute vyvolala neošetřenou výjimku. Nahlaste prosím tuto chybu autorovi atributu {0}.
{1}
-
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
- Nepovedlo se získat výjimku vyvolanou testovací metodou {0}.{1}.
-
+ Nepovedlo se získat výjimku vyvolanou testovací metodou {0}.{1}.
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
- Inicializační metoda {0}.{1} způsobila výjimku. {2}.
-
+ Inicializační metoda {0}.{1} způsobila výjimku. {2}.
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
- Nepodařilo se vytvořit instanci třídy {0}. Chyba: {1}.
-
+ Nepodařilo se vytvořit instanci třídy {0}. Chyba: {1}.
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
- Metoda {0}.{1} neexistuje.
-
+ Metoda {0}.{1} neexistuje.
+ {0} is the declaring type name. {1} is the method name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
- Testovací třída {0} má definovaných více atributů odvozených od {1}. Povolený je jenom jeden takový atribut.
-
+ Testovací třída {0} má definovaných více atributů odvozených od {1}. Povolený je jenom jeden takový atribut.
+ {0} is the test class name. {1} is the attribute base type name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
- Testovací metoda {0}.{1} má definovaných více atributů odvozených od atributu {2}. Povolený je jenom jeden takový atribut.
-
+ Testovací metoda {0}.{1} má definovaných více atributů odvozených od atributu {2}. Povolený je jenom jeden takový atribut.
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
- Při provádění testu došlo k chybě. Rozšíření nevrátilo žádný výsledek. Pokud používáte rozšíření třídy TestMethodAttribute, obraťte se na dodavatele.
-
+ Při provádění testu došlo k chybě. Rozšíření nevrátilo žádný výsledek. Pokud používáte rozšíření třídy TestMethodAttribute, obraťte se na dodavatele.
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- Nelze najít platný konstruktor pro testovací třídu {0}. Platné konstruktory jsou public a buď bez parametrů, nebo s jedním parametrem typu TestContext.
-
+ Nelze najít platný konstruktor pro testovací třídu {0}. Platné konstruktory jsou public a buď bez parametrů, nebo s jedním parametrem typu TestContext.
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
- Nepodařilo se najít vlastnost {0}.TestContext. Chyba:{1}.
-
+ Nepodařilo se najít vlastnost {0}.TestContext. Chyba:{1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
- Pro třídu {0} se nepodařilo nastavit vlastnost TestContext. Chyba: {1}.
-
+ Pro třídu {0} se nepodařilo nastavit vlastnost TestContext. Chyba: {1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
- {0}.TestContext má nesprávný typ.
-
+ {0}.TestContext má nesprávný typ.
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- Metoda {0}.{1} má špatný podpis. Metoda nesmí být static nebo public, nevrací hodnotu a nesmí přijímat žádný parametr. Pokud navíc v metodě používáte operátor async-await, musí být návratový typ Task nebo ValueTask.
-
+ Metoda {0}.{1} má špatný podpis. Metoda nesmí být static nebo public, nevrací hodnotu a nesmí přijímat žádný parametr. Pokud navíc v metodě používáte operátor async-await, musí být návratový typ Task nebo ValueTask.
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
- V testovací metodě {0}.{1} došlo k výjimce:
+ V testovací metodě {0}.{1} došlo k výjimce:
{2}
-
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
- Nepodařilo se získat typ {0}. Chyba: {1}.
-
+ Nepodařilo se získat typ {0}. Chyba: {1}.
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
- Volaný kód vyvolal výjimku, která byla zachycena, ale její hodnota byla null.
-
+ Volaný kód vyvolal výjimku, která byla zachycena, ale její hodnota byla null.
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
- {0}. Pokud v testu používáte objekty uživatelského rozhraní, zvažte u projektů pro platformu UPW použití atributu [UITestMethod] místo atributu [TestMethod], aby se test provedl ve vlákně uživatelského rozhraní.
-
+ {0}. Pokud v testu používáte objekty uživatelského rozhraní, zvažte u projektů pro platformu UPW použití atributu [UITestMethod] místo atributu [TestMethod], aby se test provedl ve vlákně uživatelského rozhraní.
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
- (Z důvodu výjimky se nepodařilo získat zprávu o výjimce typu {0}.)
-
+ (Z důvodu výjimky se nepodařilo získat zprávu o výjimce typu {0}.)
+ {0} is the exception type name.'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
- MSTest.TestAdapter a MSTest.TestFramework musí mít stejnou verzi. Byla nalezena verze MSTest.TestAdapter {0} a verze MSTest.TestFramework {1}. Ujistěte se prosím, že verze balíčků NuGet MSTest.TestAdapter a MSTest.TestFramework jsou shodné.
-
+ MSTest.TestAdapter a MSTest.TestFramework musí mít stejnou verzi. Byla nalezena verze MSTest.TestAdapter {0} a verze MSTest.TestFramework {1}. Ujistěte se prosím, že verze balíčků NuGet MSTest.TestAdapter a MSTest.TestFramework jsou shodné.
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Wrong number of objects for permutation. Should be greater than zero.
@@ -566,8 +559,8 @@ byl však přijat tento počet argumentů: {4} s typy {5}.
Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
- Upozornění: Testovací metoda {0}.{1} má parametry out nebo ref, které nejsou podporovány a mohou být v budoucí verzi nástroje MSTest zakázány.
-
+ Upozornění: Testovací metoda {0}.{1} má parametry out nebo ref, které nejsou podporovány a mohou být v budoucí verzi nástroje MSTest zakázány.
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}
diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.de.xlf b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.de.xlf
index ebbffd3709..430774fa12 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.de.xlf
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.de.xlf
@@ -4,102 +4,97 @@
Assembly cleanup method '{0}.{1}' timed out after {2}ms
- Timeout der Assemblybereinigungsmethode "{0}.{1}" nach {2} ms
-
+ Timeout der Assemblybereinigungsmethode "{0}.{1}" nach {2} ms
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
- Die Assemblybereinigungsmethode "{0}.{1}" wurde abgebrochen
-
+ Die Assemblybereinigungsmethode "{0}.{1}" wurde abgebrochen
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
- Timeout der Assemblyinitialisierungsmethode "{0}.{1}" nach {2} ms
-
+ Timeout der Assemblyinitialisierungsmethode "{0}.{1}" nach {2} ms
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
- Die Assemblyinitialisierungsmethode "{0}.{1}" wurde abgebrochen
-
+ Die Assemblyinitialisierungsmethode "{0}.{1}" wurde abgebrochen
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
- MSTestAdapterV2
-
+ MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- Ausnahme beim Auflisten des IDataSource-Attributs für "{0}.{1}": {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ Ausnahme beim Auflisten des IDataSource-Attributs für "{0}.{1}": {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- Ausnahme beim Erweitern von IDataSource-Zeilen aus dem Attribut auf "{0}.{1}": {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ Ausnahme beim Erweitern von IDataSource-Zeilen aus dem Attribut auf "{0}.{1}": {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- Daten im Index {0} für "{1}" können nicht serialisiert werden. Alle über "IDataSource" bereitgestellten Daten sollten serialisierbar sein. Wenn Sie nicht serialisierbare Datenquellen testen müssen, stellen Sie sicher, dass Sie der Testassembly das Attribut "TestDataSourceDiscovery" hinzufügen und die Ermittlungsoption auf "DuringExecution" festlegen.
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ Daten im Index {0} für "{1}" können nicht serialisiert werden. Alle über "IDataSource" bereitgestellten Daten sollten serialisierbar sein. Wenn Sie nicht serialisierbare Datenquellen testen müssen, stellen Sie sicher, dass Sie der Testassembly das Attribut "TestDataSourceDiscovery" hinzufügen und die Ermittlungsoption auf "DuringExecution" festlegen.
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Could not find file '{0}'.
- Die Datei "{0}" konnte nicht gefunden werden.
-
+ Die Datei "{0}" konnte nicht gefunden werden.
+ {0} is the file path.Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
- Die Testmethode „{0}.{1}“ kann nicht ausgeführt werden: Testdaten stimmen nicht mit Methodenparametern überein. Die Anzahl oder die Typen unterscheiden sich.
+ Die Testmethode „{0}.{1}“ kann nicht ausgeführt werden: Testdaten stimmen nicht mit Methodenparametern überein. Die Anzahl oder die Typen unterscheiden sich.
Test erwartete {2} Parameter mit den Typen „{3}“,
aber empfing {4} Argument(e) mit den Typen „{5}“.
-
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
- Die Testmethode „{0}.{1}“ kann nicht ausgeführt werden: Die Methode verfügt über Parameter, definiert jedoch keine Testquelle. Verwenden Sie „[DataRow]“, „[DynamicData]“ oder eine benutzerdefinierte „ITestDataSource-Datenquelle“, um Testdaten bereitzustellen.
-
+ Die Testmethode „{0}.{1}“ kann nicht ausgeführt werden: Die Methode verfügt über Parameter, definiert jedoch keine Testquelle. Verwenden Sie „[DataRow]“, „[DynamicData]“ oder eine benutzerdefinierte „ITestDataSource-Datenquelle“, um Testdaten bereitzustellen.
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
- Timeout der Klassenbereinigungsmethode "{0}.{1}" nach {2} ms
-
+ Timeout der Klassenbereinigungsmethode "{0}.{1}" nach {2} ms
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
- Die Klassenbereinigungsmethode "{0}.{1}" wurde abgebrochen
-
+ Die Klassenbereinigungsmethode "{0}.{1}" wurde abgebrochen
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
- Timeout der Klasseninitialisierungsmethode "{0}.{1}" nach {2} ms
-
+ Timeout der Klasseninitialisierungsmethode "{0}.{1}" nach {2} ms
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
- Die Initialisierungsmethode "{0}.{1}" der Klasse wurde abgebrochen
-
+ Die Initialisierungsmethode "{0}.{1}" der Klasse wurde abgebrochen
+ {0} is the type name. {1} is the class initialize method name.The parameter should not be null or empty.
- Der Parameter darf nicht NULL oder leer sein.
-
+ Der Parameter darf nicht NULL oder leer sein.
+ {Locked="null"}MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
- Fehler von 'MSTestAdapter' beim Ermitteln von Tests in der Klasse "{0}" der Assembly "{1}". Ursache: {2}.
-
+ Fehler von 'MSTestAdapter' beim Ermitteln von Tests in der Klasse "{0}" der Assembly "{1}". Ursache: {2}.
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
- {0} (Datenzeile {1})
-
+ {0} (Datenzeile {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:
@@ -108,58 +103,58 @@ aber empfing {4} Argument(e) mit den Typen „{5}“.
Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
- Problem bei der Testlaufbereitstellung: Ungültiges Bereitstellungselement: "{0}". Das Ausgabeverzeichnis "{1}" gibt das unzulässige Element an, das außerhalb des Bereitstellungsstammverzeichnisses bereitgestellt werden soll.
-
+ Problem bei der Testlaufbereitstellung: Ungültiges Bereitstellungselement: "{0}". Das Ausgabeverzeichnis "{1}" gibt das unzulässige Element an, das außerhalb des Bereitstellungsstammverzeichnisses bereitgestellt werden soll.
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
- Problem bei der Testlaufbereitstellung: Fehler beim Zugriff auf das vom Bereitstellungselement "{0}" angegebene Ausgabeverzeichnis "{1}". Das Element wird nicht bereitgestellt: {2}: {3}
-
+ Problem bei der Testlaufbereitstellung: Fehler beim Zugriff auf das vom Bereitstellungselement "{0}" angegebene Ausgabeverzeichnis "{1}". Das Element wird nicht bereitgestellt: {2}: {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
- Problem bei der Testlaufbereitstellung: Fehler beim Zugriff auf die Datei "{0}": {1}: {2}
-
+ Problem bei der Testlaufbereitstellung: Fehler beim Zugriff auf die Datei "{0}": {1}: {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
- Problem bei der Testlaufbereitstellung: Fehler beim Kopieren der Datei "{0}" nach "{1}": {2}: {3}
-
+ Problem bei der Testlaufbereitstellung: Fehler beim Kopieren der Datei "{0}" nach "{1}": {2}: {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
- Problem bei der Testlaufbereitstellung: Fehler beim Bereitstellen der Abhängigkeiten für den Testspeicher "{0}": {1}
-
+ Problem bei der Testlaufbereitstellung: Fehler beim Bereitstellen der Abhängigkeiten für den Testspeicher "{0}": {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
- Problem bei der Testlaufbereitstellung: Fehler beim Abrufen der Datei für {0}: {1}: {2}
-
+ Problem bei der Testlaufbereitstellung: Fehler beim Abrufen der Datei für {0}: {1}: {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
- Problem bei der Testlaufbereitstellung: Fehler beim Abrufen der Satellitenassemblys für {0}: {1}: {2}
-
+ Problem bei der Testlaufbereitstellung: Fehler beim Abrufen der Satellitenassemblys für {0}: {1}: {2}
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
- Bereitstellungselement "{0}"
-
+ Bereitstellungselement "{0}"
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
- Ungültiges Bereitstellungselement: Der angegebene Pfad "{0}" oder das angegebene Ausgabeverzeichnis "{1}" enthält unzulässige Zeichen.
-
+ Ungültiges Bereitstellungselement: Der angegebene Pfad "{0}" oder das angegebene Ausgabeverzeichnis "{1}" enthält unzulässige Zeichen.
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
- Ungültiges Bereitstellungselement: Das Ausgabeverzeichnis darf nicht NULL sein.
-
+ Ungültiges Bereitstellungselement: Das Ausgabeverzeichnis darf nicht NULL sein.
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
- Ungültiges Bereitstellungselement: Das angegebene Ausgabeverzeichnis "{0}" ist nicht relativ.
-
+ Ungültiges Bereitstellungselement: Das angegebene Ausgabeverzeichnis "{0}" ist nicht relativ.
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.
@@ -168,107 +163,105 @@ aber empfing {4} Argument(e) mit den Typen „{5}“.
deployment item '{0}' (output directory '{1}')
- Bereitstellungselement "{0}" (Ausgabeverzeichnis "{1}")
-
+ Bereitstellungselement "{0}" (Ausgabeverzeichnis "{1}")
+ {0} is the deployment item path. {1} is the output directory.Discovery failed for source '{0}' with {1} errors:
{2}
- Ermittlung für Quelle „{0}“ fehlgeschlagen mit {1} Fehlern:
+ Ermittlung für Quelle „{0}“ fehlgeschlagen mit {1} Fehlern:
{2}
-
+ {0} is the source path. {1} is the error count. {2} is the error details.[MSTest][Discovery][{0}] {1}
- [MSTest][Discovery][{0}] {1}
-
+ [MSTest][Discovery][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Only one attribute of type '{0}' is allowed, but multiple were found.
- Es ist nur ein Attribut vom Typ „{0}“ erlaubt, aber es wurden mehrere gefunden.
-
+ Es ist nur ein Attribut vom Typ „{0}“ erlaubt, aber es wurden mehrere gefunden.
+ {0} is the attribute type name.Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
- Es wurden sowohl die Dateien „.runsettings“ als auch „.testconfig.json“ erkannt. Wählen Sie nur eine dieser Testkonfigurationsdateien aus.
-
+ Es wurden sowohl die Dateien „.runsettings“ als auch „.testconfig.json“ erkannt. Wählen Sie nur eine dieser Testkonfigurationsdateien aus.
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- "{0}": (Fehler beim Abrufen der Ausnahmebeschreibung aufgrund einer Ausnahme vom Typ "{1}".
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ "{0}": (Fehler beim Abrufen der Ausnahmebeschreibung aufgrund einer Ausnahme vom Typ "{1}".
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
- Test „{0}“ wurde abgebrochen
-
+ Test „{0}“ wurde abgebrochen
+ {0} is the test name.Test '{0}' timed out after {1}ms
- Timeout bei Test „{0}“ nach {1} ms
-
+ Timeout bei Test „{0}“ nach {1} ms
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- Beim Abrufen von benutzerdefinierten Attributen für den Typ {0} wurde Ausnahme ausgelöst (wird ignoriert und die Reflektionsart verwendet): {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ Beim Abrufen von benutzerdefinierten Attributen für den Typ {0} wurde Ausnahme ausgelöst (wird ignoriert und die Reflektionsart verwendet): {1}
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
- Der Typ des generischen Parameters „{0}“ konnte nicht abgeleitet werden.
-
+ Der Typ des generischen Parameters „{0}“ konnte nicht abgeleitet werden.
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
- Die generische Testmethode „{0}“ hat keine Argumente, daher kann der generische Parameter nicht abgeleitet werden.
-
+ Die generische Testmethode „{0}“ hat keine Argumente, daher kann der generische Parameter nicht abgeleitet werden.
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- Es wurden zwei in Konflikt stehende Typen für den generischen Parameter „{0}“ gefunden. Die in Konflikt stehenden Typen sind „{1}“ und „{2}“.
-
+ Es wurden zwei in Konflikt stehende Typen für den generischen Parameter „{0}“ gefunden. Die in Konflikt stehenden Typen sind „{1}“ und „{2}“.
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- Ungültiger Wert "{0}" für "Scope" angegeben. Unterstützte Bereiche: {1}.
- {Locked="Scope"}
+ Ungültiger Wert "{0}" für "Scope" angegeben. Unterstützte Bereiche: {1}.
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- Ungültiger Wert "{0}" für "Workers" angegeben. Der Wert muss eine nicht negative Ganzzahl sein.
- {Locked="Workers"}
+ Ungültiger Wert "{0}" für "Workers" angegeben. Der Wert muss eine nicht negative Ganzzahl sein.
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
- Ungültige Einstellungen "{0}". Unerwartetes XmlAttribute: "{1}".
-
+ Ungültige Einstellungen "{0}". Unerwartetes XmlAttribute: "{1}".
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
- "MSTestAdapter" hat ein unerwartetes Element "{0}" in den Einstellungen "{1}" ermittelt. Entfernen Sie dieses Element, und versuchen Sie es erneut.
-
+ "MSTestAdapter" hat ein unerwartetes Element "{0}" in den Einstellungen "{1}" ermittelt. Entfernen Sie dieses Element, und versuchen Sie es erneut.
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
- Ungültiger Wert "{0}" für runsettings-Eintrag "{1}". Die Einstellung wird ignoriert.
-
+ Ungültiger Wert "{0}" für runsettings-Eintrag "{1}". Die Einstellung wird ignoriert.
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
- Problem bei der Testlaufbereitstellung: Die Assembly oder das Modul "{0}" wurde nicht gefunden. Ursache: {1}
-
+ Problem bei der Testlaufbereitstellung: Die Assembly oder das Modul "{0}" wurde nicht gefunden. Ursache: {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
- Problem bei der Testlaufbereitstellung: Die Assembly oder das Modul "{0}" wurde nicht gefunden.
-
+ Problem bei der Testlaufbereitstellung: Die Assembly oder das Modul "{0}" wurde nicht gefunden.
+ {0} is the assembly or module name.An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
- Eine ältere Version des MSTestV2-Pakets wird in die Assembly geladen. Bei der Testermittlung werden möglicherweise nicht alle Datentests ermittelt, wenn sie von der Datei ".runsettings" abhängen.
-
+ Eine ältere Version des MSTestV2-Pakets wird in die Assembly geladen. Bei der Testermittlung werden möglicherweise nicht alle Datentests ermittelt, wenn sie von der Datei ".runsettings" abhängen.
+ {Locked="MSTestV2"}{Locked=".runsettings"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -277,13 +270,13 @@ aber empfing {4} Argument(e) mit den Typen „{5}“.
Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- Zufällige Testreihenfolge aktiviert (Seed: {0}). Legen Sie „RandomTestOrderSeed“ fest, um diese Reihenfolge zu reproduzieren.
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ Zufällige Testreihenfolge aktiviert (Seed: {0}). Legen Sie „RandomTestOrderSeed“ fest, um diese Reihenfolge zu reproduzieren.
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
- Der Eintrag "<ExecutionApartmentState>STA</ExecutionApartmentState>" der Ausführungseinstellungen wird auf Nicht-Windows-Betriebssystemen nicht unterstützt.
-
+ Der Eintrag "<ExecutionApartmentState>STA</ExecutionApartmentState>" der Ausführungseinstellungen wird auf Nicht-Windows-Betriebssystemen nicht unterstützt.
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}Running tests in any of the provided sources is not supported for the selected platform
@@ -292,108 +285,108 @@ aber empfing {4} Argument(e) mit den Typen „{5}“.
File does not exist: {0}
- Die Datei ist nicht vorhanden: {0}
-
+ Die Datei ist nicht vorhanden: {0}
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
- Timeout der Testbereinigungsmethode "{0}.{1}" nach {2} ms
-
+ Timeout der Testbereinigungsmethode "{0}.{1}" nach {2} ms
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
- Die Testbereinigungsmethode "{0}.{1}" wurde abgebrochen
-
+ Die Testbereinigungsmethode "{0}.{1}" wurde abgebrochen
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
- TestContext-Meldungen:
-
+ TestContext-Meldungen:
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
- Timeout der Testinitialisierungsmethode "{0}.{1}" nach {2} ms
-
+ Timeout der Testinitialisierungsmethode "{0}.{1}" nach {2} ms
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
- Die Testinitialisierungsmethode "{0}.{1}" wurde abgebrochen
-
+ Die Testinitialisierungsmethode "{0}.{1}" wurde abgebrochen
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
- Die Testmethode "{0}" wurde nicht gefunden.
-
+ Die Testmethode "{0}" wurde nicht gefunden.
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- Testparallelisierung aktiviert für {0} (Workers: {1}, Scope: {2})
- {Locked="Workers"}{Locked="Scope"}
+ Testparallelisierung aktiviert für {0} (Workers: {1}, Scope: {2})
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}{0}_{1} {2}
- {0}{1} {2}
-
+ {0}{1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
- Fehler bei der Methode "{0}.{1}" für die Assemblybereinigung. Fehlermeldung: {2}. "StackTrace": {3}
-
+ Fehler bei der Methode "{0}.{1}" für die Assemblybereinigung. Fehlermeldung: {2}. "StackTrace": {3}
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
- UTA070: Der Typ „{0}“, auf den [AssemblyFixtureProvider] verweist, darf kein generischer Typ sein.
-
+ UTA070: Der Typ „{0}“, auf den [AssemblyFixtureProvider] verweist, darf kein generischer Typ sein.
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
- UTA071: Methoden des Typs „{0}“, auf den [AssemblyFixtureProvider] verweist, konnten nicht aufgelistet werden. {1}
-
+ UTA071: Methoden des Typs „{0}“, auf den [AssemblyFixtureProvider] verweist, konnten nicht aufgelistet werden. {1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
- UTA072: Das [AssemblyFixtureProvider]-Kennzeichen konnte nicht aus der Assembly „{0}“ geladen werden. {1}
-
+ UTA072: Das [AssemblyFixtureProvider]-Kennzeichen konnte nicht aus der Assembly „{0}“ geladen werden. {1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
- Die Methode "{0}.{1}" für die Assemblyinitialisierung hat eine Ausnahme ausgelöst. {2}: {3}. Die Ausführung des Tests wird abgebrochen.
-
+ Die Methode "{0}.{1}" für die Assemblyinitialisierung hat eine Ausnahme ausgelöst. {2}: {3}. Die Ausführung des Tests wird abgebrochen.
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
- Fehler bei der Methode "{0}.{1}" für die Klassenbereinigung. Fehlermeldung: {2}. Stapelüberwachung: {3}
-
+ Fehler bei der Methode "{0}.{1}" für die Klassenbereinigung. Fehlermeldung: {2}. Stapelüberwachung: {3}
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
- Die Methode "{0}.{1}" für die Klasseninitialisierung hat eine Ausnahme ausgelöst. {2}: {3}.
-
+ Die Methode "{0}.{1}" für die Klasseninitialisierung hat eine Ausnahme ausgelöst. {2}: {3}.
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- Die Methode „{0}.{1}“ weist eine falsche Signatur auf. Die Methode muss statisch und öffentlich sein. Sie darf keinen Wert zurückgeben und keinen Parameter annehmen. Wenn Sie außerdem in der Methode „async-await“ verwenden, muss der Rückgabetyp „Task“ oder „ValueTask“ sein.
-
+ Die Methode „{0}.{1}“ weist eine falsche Signatur auf. Die Methode muss statisch und öffentlich sein. Sie darf keinen Wert zurückgeben und keinen Parameter annehmen. Wenn Sie außerdem in der Methode „async-await“ verwenden, muss der Rückgabetyp „Task“ oder „ValueTask“ sein.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- Die Methode „{0}.{1}“ weist eine falsche Signatur auf. Die Methode muss statisch und öffentlich sein. Sie darf keinen Wert zurückgeben und muss einen einzigen Parameter des Typs TestContext annehmen. Wenn Sie außerdem in der Methode „async-await“ verwenden, muss der Rückgabetyp „Task“ oder „ValueTask“ sein.
-
+ Die Methode „{0}.{1}“ weist eine falsche Signatur auf. Die Methode muss statisch und öffentlich sein. Sie darf keinen Wert zurückgeben und muss einen einzigen Parameter des Typs TestContext annehmen. Wenn Sie außerdem in der Methode „async-await“ verwenden, muss der Rückgabetyp „Task“ oder „ValueTask“ sein.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
- Die TestCleanup-Methode "{0}.{1}" hat eine Ausnahme ausgelöst. {2}.
-
+ Die TestCleanup-Methode "{0}.{1}" hat eine Ausnahme ausgelöst. {2}.
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
- Fehler beim Aufruf der Testbereinigungsmethode für die Testklasse "{0}": {1}
-
+ Fehler beim Aufruf der Testbereinigungsmethode für die Testklasse "{0}": {1}
+ {0} is the test class name. {1} is the exception message.Data source '{0}' cannot be found in the test configuration settings
- Die Datenquelle "{0}" wurde in den Testkonfigurationseinstellungen nicht gefunden.
-
+ Die Datenquelle "{0}" wurde in den Testkonfigurationseinstellungen nicht gefunden.
+ {0} is the data source name.--- End of inner exception stack trace ---
@@ -402,162 +395,162 @@ aber empfing {4} Argument(e) mit den Typen „{5}“.
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
- Der Komponententestadapter konnte keine Verbindung mit der Datenquelle herstellen bzw. die Daten nicht lesen. Weitere Informationen zur Problembehandlung dieses Fehlers finden Sie unter "Problembehandlung von datengesteuerten Komponententests" (http://go.microsoft.com/fwlink/?LinkId=62412) in der MSDN Library. Fehlerdetails: {0}
-
+ Der Komponententestadapter konnte keine Verbindung mit der Datenquelle herstellen bzw. die Daten nicht lesen. Weitere Informationen zur Problembehandlung dieses Fehlers finden Sie unter "Problembehandlung von datengesteuerten Komponententests" (http://go.microsoft.com/fwlink/?LinkId=62412) in der MSDN Library. Fehlerdetails: {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
- UTA031: Die Klasse {0} weist keine gültige Eigenschaft TestContext auf. TestContext muss vom Typ TestContext sein, muss nicht statisch und öffentlich sein. Beispiel: 'public TestContext TestContext'.
-
+ UTA031: Die Klasse {0} weist keine gültige Eigenschaft TestContext auf. TestContext muss vom Typ TestContext sein, muss nicht statisch und öffentlich sein. Beispiel: 'public TestContext TestContext'.
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
- UTA007: Die in der Klasse {0} definierte Methode {1} weist nicht die richtige Signatur auf. Die mit dem [TestMethod]-Attribut markierte Testmethode muss nicht statisch und öffentlich sein, muss den Rückgabetyp „void“ aufweisen und darf keine Parameter annehmen. Beispiel: public void Test.Class1.Test(). Wenn Sie außerdem in der Testmethode „async-await“ verwenden, muss der Rückgabetyp „Task“ oder „ValueTask“ sein. Beispiel: public async Task Test.Class1.Test2()
-
+ UTA007: Die in der Klasse {0} definierte Methode {1} weist nicht die richtige Signatur auf. Die mit dem [TestMethod]-Attribut markierte Testmethode muss nicht statisch und öffentlich sein, muss den Rückgabetyp „void“ aufweisen und darf keine Parameter annehmen. Beispiel: public void Test.Class1.Test(). Wenn Sie außerdem in der Testmethode „async-await“ verwenden, muss der Rückgabetyp „Task“ oder „ValueTask“ sein. Beispiel: public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
- UTA054: {0}.{1} weist ein ungültiges Attribut „Timeout“ auf. Timeout muss eine ganze Zahl größer als 0 sein.
-
+ UTA054: {0}.{1} weist ein ungültiges Attribut „Timeout“ auf. Timeout muss eine ganze Zahl größer als 0 sein.
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
- UTA014: {0}: Es darf nur eine Methode mit dem Attribut 'AssemblyCleanup' innerhalb einer Assembly definiert werden.
-
+ UTA014: {0}: Es darf nur eine Methode mit dem Attribut 'AssemblyCleanup' innerhalb einer Assembly definiert werden.
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
- UTA013: {0}: Es darf nur eine Methode mit dem Attribut 'AssemblyInitialize' innerhalb einer Assembly definiert werden.
-
+ UTA013: {0}: Es darf nur eine Methode mit dem Attribut 'AssemblyInitialize' innerhalb einer Assembly definiert werden.
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
- UTA026: {0}: Es darf nur eine Methode mit dem Attribut 'ClassCleanup' innerhalb einer Klasse definiert werden.
-
+ UTA026: {0}: Es darf nur eine Methode mit dem Attribut 'ClassCleanup' innerhalb einer Klasse definiert werden.
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
- UTA025: {0}: Es darf nur eine Methode mit dem Attribut 'ClassInitialize' innerhalb einer Klasse definiert werden.
-
+ UTA025: {0}: Es darf nur eine Methode mit dem Attribut 'ClassInitialize' innerhalb einer Klasse definiert werden.
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
- UTA024: {0}: Es darf nur eine Methode mit dem Attribut 'TestCleanup' definiert werden.
-
+ UTA024: {0}: Es darf nur eine Methode mit dem Attribut 'TestCleanup' definiert werden.
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
- UTA018: {0}: Es darf nur eine Methode mit dem Attribut 'TestInitialize' definiert werden.
-
+ UTA018: {0}: Es darf nur eine Methode mit dem Attribut 'TestInitialize' definiert werden.
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
- UTA001: Für die nicht öffentliche Klasse '{0}' definiertes Attribut 'TestClass'.
-
+ UTA001: Für die nicht öffentliche Klasse '{0}' definiertes Attribut 'TestClass'.
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
- TestClass-Attribut für generische nicht abstrakte Klasse {0} definiert
-
+ TestClass-Attribut für generische nicht abstrakte Klasse {0} definiert
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
- Von der„Execute“-Methode wurde ein Ausnahmefehler ausgelöst. Melden Sie diesen Fehler dem Autor des Attributs „{0}“.
+ Von der„Execute“-Methode wurde ein Ausnahmefehler ausgelöst. Melden Sie diesen Fehler dem Autor des Attributs „{0}“.
{1}
-
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
- Fehler beim Abrufen der von der Testmethode "{0}.{1}" ausgelösten Ausnahme.
-
+ Fehler beim Abrufen der von der Testmethode "{0}.{1}" ausgelösten Ausnahme.
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
- Die Initialisierungsmethode '{0}.{1}' hat eine Ausnahme ausgelöst. {2}.
-
+ Die Initialisierungsmethode '{0}.{1}' hat eine Ausnahme ausgelöst. {2}.
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
- Es kann keine Instanz der Klasse '{0}' erstellt werden. Fehler: {1}.
-
+ Es kann keine Instanz der Klasse '{0}' erstellt werden. Fehler: {1}.
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
- Die Methode "{0}.{1}" ist nicht vorhanden.
-
+ Die Methode "{0}.{1}" ist nicht vorhanden.
+ {0} is the declaring type name. {1} is the method name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
- Für die Testmethode „{0}“ sind mehrere Attribute definiert, die von „{1}“ abgeleitet sind. Nur ein einziges solches Attribut ist zulässig.
-
+ Für die Testmethode „{0}“ sind mehrere Attribute definiert, die von „{1}“ abgeleitet sind. Nur ein einziges solches Attribut ist zulässig.
+ {0} is the test class name. {1} is the attribute base type name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
- Für die Testmethode „{0}.{1}“ sind mehrere Attribute definiert, die von „{2}“ abgeleitet sind. Nur ein einziges solches Attribut ist zulässig.
-
+ Für die Testmethode „{0}.{1}“ sind mehrere Attribute definiert, die von „{2}“ abgeleitet sind. Nur ein einziges solches Attribut ist zulässig.
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
- Fehler beim Ausführen des Tests. Von der Extension wurde kein Ergebnis zurückgegeben. Wenn Sie eine Extension von "TestMethodAttribute" verwenden, wenden Sie sich bitte an den Anbieter.
-
+ Fehler beim Ausführen des Tests. Von der Extension wurde kein Ergebnis zurückgegeben. Wenn Sie eine Extension von "TestMethodAttribute" verwenden, wenden Sie sich bitte an den Anbieter.
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- Es wurde kein gültiger Konstruktor für die Testklasse "{0}" gefunden. Gültige Konstruktoren sind "public" und entweder parameterlos oder mit einem Parameter vom Typ "TestContext".
-
+ Es wurde kein gültiger Konstruktor für die Testklasse "{0}" gefunden. Gültige Konstruktoren sind "public" und entweder parameterlos oder mit einem Parameter vom Typ "TestContext".
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
- Die Eigenschaft "{0}.TestContext" wurde nicht gefunden. Fehler: {1}.
-
+ Die Eigenschaft "{0}.TestContext" wurde nicht gefunden. Fehler: {1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
- Die Eigenschaft 'TestContext' für die Klasse '{0}' kann nicht festgelegt werden. Fehler: {1}.
-
+ Die Eigenschaft 'TestContext' für die Klasse '{0}' kann nicht festgelegt werden. Fehler: {1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
- "{0}.TestContext" weist einen falschen Typ auf.
-
+ "{0}.TestContext" weist einen falschen Typ auf.
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- Die Methode „{0}.{1}“ weist eine falsche Signatur auf. Die Methode muss nicht statisch und öffentlich sein, und sie darf keinen Wert zurückgeben und keinen Parameter annehmen. Wenn Sie außerdem in der Methode „async-await“ verwenden, muss der Rückgabetyp „Task“ oder „ValueTask“ sein.
-
+ Die Methode „{0}.{1}“ weist eine falsche Signatur auf. Die Methode muss nicht statisch und öffentlich sein, und sie darf keinen Wert zurückgeben und keinen Parameter annehmen. Wenn Sie außerdem in der Methode „async-await“ verwenden, muss der Rückgabetyp „Task“ oder „ValueTask“ sein.
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
- Die Testmethode „{0}.{1}“ hat eine Ausnahme ausgelöst:
+ Die Testmethode „{0}.{1}“ hat eine Ausnahme ausgelöst:
{2}
-
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
- Der Typ "{0}" kann nicht abgerufen werden. Fehler: {1}.
-
+ Der Typ "{0}" kann nicht abgerufen werden. Fehler: {1}.
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
- Der aufgerufene Code hat eine Ausnahme ausgelöst, die abgefangen wurde, aber der Ausnahmewert war NULL.
-
+ Der aufgerufene Code hat eine Ausnahme ausgelöst, die abgefangen wurde, aber der Ausnahmewert war NULL.
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
- {0}: Erwägen Sie für UWP-Projekte bei Einsatz von UI-Objekten im Test die Verwendung des [UITestMethod]-Attributs anstelle von "[TestMethod]", um den Test im UI-Thread auszuführen.
-
+ {0}: Erwägen Sie für UWP-Projekte bei Einsatz von UI-Objekten im Test die Verwendung des [UITestMethod]-Attributs anstelle von "[TestMethod]", um den Test im UI-Thread auszuführen.
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
- (Fehler beim Abrufen der Meldung für eine Ausnahme vom Typ "{0}" aufgrund einer Ausnahme.)
-
+ (Fehler beim Abrufen der Meldung für eine Ausnahme vom Typ "{0}" aufgrund einer Ausnahme.)
+ {0} is the exception type name.'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
- „MSTest.TestAdapter“ und „MSTest.TestFramework“ müssen dieselbe Version aufweisen. Gefunden wurde „MSTest.TestAdapter“ Version „{0}“ und „MSTest.TestFramework“ Version „{1}“. Stellen Sie sicher, dass die Versionen der NuGet-Pakete „MSTest.TestAdapter“ und „MSTest.TestFramework“ übereinstimmen.
-
+ „MSTest.TestAdapter“ und „MSTest.TestFramework“ müssen dieselbe Version aufweisen. Gefunden wurde „MSTest.TestAdapter“ Version „{0}“ und „MSTest.TestFramework“ Version „{1}“. Stellen Sie sicher, dass die Versionen der NuGet-Pakete „MSTest.TestAdapter“ und „MSTest.TestFramework“ übereinstimmen.
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Wrong number of objects for permutation. Should be greater than zero.
@@ -566,8 +559,8 @@ aber empfing {4} Argument(e) mit den Typen „{5}“.
Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
- Warnung: Die Testmethode „{0}.{1}“ verfügt über out- oder ref-Parameter, die nicht unterstützt werden und in einer zukünftigen Version von MSTest möglicherweise nicht zulässig sind.
-
+ Warnung: Die Testmethode „{0}.{1}“ verfügt über out- oder ref-Parameter, die nicht unterstützt werden und in einer zukünftigen Version von MSTest möglicherweise nicht zulässig sind.
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}
diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.es.xlf b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.es.xlf
index afe7ab8315..1d830d0de4 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.es.xlf
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.es.xlf
@@ -4,102 +4,97 @@
Assembly cleanup method '{0}.{1}' timed out after {2}ms
- Método de limpieza de ensamblado '{0}.{1}' se agotó el tiempo de espera después de {2}ms
-
+ Método de limpieza de ensamblado '{0}.{1}' se agotó el tiempo de espera después de {2}ms
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
- Método de limpieza de ensamblado "{0}.{1}" se canceló
-
+ Método de limpieza de ensamblado "{0}.{1}" se canceló
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
- Método de inicialización de ensamblado '{0}.{1}' se agotó el tiempo de espera de después de {2}ms
-
+ Método de inicialización de ensamblado '{0}.{1}' se agotó el tiempo de espera de después de {2}ms
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
- Método de inicialización de ensamblado "{0}.{1}" se canceló
-
+ Método de inicialización de ensamblado "{0}.{1}" se canceló
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
- MSTestAdapterV2
-
+ MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- Excepción al enumerar el atributo IDataSource en "{0}.{1}": {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ Excepción al enumerar el atributo IDataSource en "{0}.{1}": {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- Se produjo una excepción al expandir las filas de IDataSource del atributo en "{0}.{1}": {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ Se produjo una excepción al expandir las filas de IDataSource del atributo en "{0}.{1}": {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- No se pueden serializar los datos del {0} de índice para "{1}". Todos los datos proporcionados a través de "IDataSource" deben ser serializables. Si necesita probar orígenes de datos no serializables, asegúrese de agregar el atributo "TestDataSourceDiscovery" en el ensamblado de prueba y establezca la opción de detección en "DuringExecution".
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ No se pueden serializar los datos del {0} de índice para "{1}". Todos los datos proporcionados a través de "IDataSource" deben ser serializables. Si necesita probar orígenes de datos no serializables, asegúrese de agregar el atributo "TestDataSourceDiscovery" en el ensamblado de prueba y establezca la opción de detección en "DuringExecution".
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Could not find file '{0}'.
- No se pudo encontrar el archivo '{0}'.
-
+ No se pudo encontrar el archivo '{0}'.
+ {0} is the file path.Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
- No se puede ejecutar el método de prueba '{0}.{1}': Los datos de prueba no coinciden con los parámetros del método. El recuento o los tipos son diferentes.
+ No se puede ejecutar el método de prueba '{0}.{1}': Los datos de prueba no coinciden con los parámetros del método. El recuento o los tipos son diferentes.
Probar los parámetros de {2} esperados, con los tipos '{3}',
pero recibió {4} argumentos, con los tipos '{5}'.
-
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
- No se puede ejecutar el método de prueba "{0}.{1}": el método tiene parámetros, pero no define ningún origen de prueba. Use "[DataRow]", "[DynamicData]" o un origen de datos "ITestDataSource" personalizado para proporcionar datos de prueba.
-
+ No se puede ejecutar el método de prueba "{0}.{1}": el método tiene parámetros, pero no define ningún origen de prueba. Use "[DataRow]", "[DynamicData]" o un origen de datos "ITestDataSource" personalizado para proporcionar datos de prueba.
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
- Método de limpieza de clases '{0}.{1}' se agotó el tiempo de espera después de {2}ms
-
+ Método de limpieza de clases '{0}.{1}' se agotó el tiempo de espera después de {2}ms
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
- Método de limpieza de clases "{0}.{1}" se canceló
-
+ Método de limpieza de clases "{0}.{1}" se canceló
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
- Método de inicialización de clase '{0}.{1}' se agotó el tiempo de espera después de {2}ms
-
+ Método de inicialización de clase '{0}.{1}' se agotó el tiempo de espera después de {2}ms
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
- Método de inicialización de clase "{0}.{1}" se canceló
-
+ Método de inicialización de clase "{0}.{1}" se canceló
+ {0} is the type name. {1} is the class initialize method name.The parameter should not be null or empty.
- El parámetro no debe ser NULL ni estar vacío.
-
+ El parámetro no debe ser NULL ni estar vacío.
+ {Locked="null"}MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
- MSTestAdapter no detectó pruebas en la clase '{0}' del ensamblado '{1}' porque {2}.
-
+ MSTestAdapter no detectó pruebas en la clase '{0}' del ensamblado '{1}' porque {2}.
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
- {0} (Fila de datos {1})
-
+ {0} (Fila de datos {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:
@@ -108,58 +103,58 @@ pero recibió {4} argumentos, con los tipos '{5}'.
Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
- Problema de implementación en la serie de pruebas: elemento de implementación incorrecto '{0}': el directorio de salida '{1}' especifica el elemento que se va a implementar fuera del directorio raíz de implementación, lo cual no está permitido.
-
+ Problema de implementación en la serie de pruebas: elemento de implementación incorrecto '{0}': el directorio de salida '{1}' especifica el elemento que se va a implementar fuera del directorio raíz de implementación, lo cual no está permitido.
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
- Problema de implementación en la serie de pruebas: no se pudo acceder al directorio de salida '{1}' especificado por el elemento de implementación '{0}', el elemento no se implementará {2}: {3}
-
+ Problema de implementación en la serie de pruebas: no se pudo acceder al directorio de salida '{1}' especificado por el elemento de implementación '{0}', el elemento no se implementará {2}: {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
- Problema de implementación en la serie de pruebas: no se pudo acceder al archivo '{0}': {1}: {2}
-
+ Problema de implementación en la serie de pruebas: no se pudo acceder al archivo '{0}': {1}: {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
- Problema de implementación en la serie de pruebas: no se pudo copiar el archivo '{0}' en '{1}': {2}: {3}
-
+ Problema de implementación en la serie de pruebas: no se pudo copiar el archivo '{0}' en '{1}': {2}: {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
- Problema de implementación en la serie de pruebas: no se pudo implementar dependencias para el almacenamiento de prueba '{0}': {1}
-
+ Problema de implementación en la serie de pruebas: no se pudo implementar dependencias para el almacenamiento de prueba '{0}': {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
- Problema de implementación en la serie de pruebas: no se pudo obtener el archivo para {0}: {1}: {2}
-
+ Problema de implementación en la serie de pruebas: no se pudo obtener el archivo para {0}: {1}: {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
- Problema de implementación en la serie de pruebas: no se pudo obtener los ensamblados satélite para {0}: {1}: {2}
-
+ Problema de implementación en la serie de pruebas: no se pudo obtener los ensamblados satélite para {0}: {1}: {2}
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
- elemento de implementación '{0}'
-
+ elemento de implementación '{0}'
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
- Elemento de implementación no válido: la ruta de acceso '{0}' o el directorio de salida '{1}' especificados contienen caracteres no válidos.
-
+ Elemento de implementación no válido: la ruta de acceso '{0}' o el directorio de salida '{1}' especificados contienen caracteres no válidos.
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
- Elemento de implementación no válido: el directorio de salida no puede ser un valor nulo.
-
+ Elemento de implementación no válido: el directorio de salida no puede ser un valor nulo.
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
- Elemento de implementación no válido: el directorio de salida especificado '{0}' no es relativo.
-
+ Elemento de implementación no válido: el directorio de salida especificado '{0}' no es relativo.
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.
@@ -168,107 +163,105 @@ pero recibió {4} argumentos, con los tipos '{5}'.
deployment item '{0}' (output directory '{1}')
- elemento de implementación '{0}' (directorio de salida '{1}')
-
+ elemento de implementación '{0}' (directorio de salida '{1}')
+ {0} is the deployment item path. {1} is the output directory.Discovery failed for source '{0}' with {1} errors:
{2}
- Error de detección para el origen “{0}” con {1} errores:
+ Error de detección para el origen “{0}” con {1} errores:
{2}
-
+ {0} is the source path. {1} is the error count. {2} is the error details.[MSTest][Discovery][{0}] {1}
- [MSTest][Discovery][{0}] {1}
-
+ [MSTest][Discovery][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Only one attribute of type '{0}' is allowed, but multiple were found.
- Solo se permite un atributo de tipo ''{0}", pero se encontraron varios.
-
+ Solo se permite un atributo de tipo ''{0}", pero se encontraron varios.
+ {0} is the attribute type name.Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
- Se han detectado los archivos ".runsettings" y ".testconfig.json". Seleccione solo uno de estos archivos de configuración de prueba.
-
+ Se han detectado los archivos ".runsettings" y ".testconfig.json". Seleccione solo uno de estos archivos de configuración de prueba.
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- "{0}": (No se pudo obtener la descripción de la excepción debido a una excepción de tipo "{1}".
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ "{0}": (No se pudo obtener la descripción de la excepción debido a una excepción de tipo "{1}".
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
- Se canceló la prueba '{0}'
-
+ Se canceló la prueba '{0}'
+ {0} is the test name.Test '{0}' timed out after {1}ms
- La prueba '{0}' agotó el tiempo de espera después de {1} ms
-
+ La prueba '{0}' agotó el tiempo de espera después de {1} ms
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- Al obtener atributos personalizados para el tipo {0} se produjo una excepción (se omitirá y se usará la forma de reflexión): {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ Al obtener atributos personalizados para el tipo {0} se produjo una excepción (se omitirá y se usará la forma de reflexión): {1}
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
- No se pudo inferir el tipo del parámetro genérico '{0}'.
-
+ No se pudo inferir el tipo del parámetro genérico '{0}'.
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
- El método de prueba genérico '{0}' no tiene argumentos, por lo que no se puede inferir el parámetro genérico.
-
+ El método de prueba genérico '{0}' no tiene argumentos, por lo que no se puede inferir el parámetro genérico.
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- Se encontraron dos tipos en conflicto para el parámetro genérico '{0}'. Los tipos en conflicto son '{1}' y ''{2}.
-
+ Se encontraron dos tipos en conflicto para el parámetro genérico '{0}'. Los tipos en conflicto son '{1}' y ''{2}.
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- Valor no válido "{0}" especificado para "Scope". Los ámbitos admitidos son {1}.
- {Locked="Scope"}
+ Valor no válido "{0}" especificado para "Scope". Los ámbitos admitidos son {1}.
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- Valor no válido "{0}" especificado para "Workers". El valor debe ser un entero no negativo.
- {Locked="Workers"}
+ Valor no válido "{0}" especificado para "Workers". El valor debe ser un entero no negativo.
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
- Valor no válido '{0}'. XmlAttribute no esperado: '{1}'.
-
+ Valor no válido '{0}'. XmlAttribute no esperado: '{1}'.
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
- MSTestAdapter encontró un elemento inesperado '{0}' en su configuración '{1}'. Quite este elemento e inténtelo de nuevo.
-
+ MSTestAdapter encontró un elemento inesperado '{0}' en su configuración '{1}'. Quite este elemento e inténtelo de nuevo.
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
- Valor ''{0}'' no válido para la entrada runsettings ''{1}'', se omitirá la configuración.
-
+ Valor ''{0}'' no válido para la entrada runsettings ''{1}'', se omitirá la configuración.
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
- Problema de implementación en la serie de pruebas: no se encontró el ensamblado o el módulo '{0}'. Motivo: {1}
-
+ Problema de implementación en la serie de pruebas: no se encontró el ensamblado o el módulo '{0}'. Motivo: {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
- Problema de implementación en la serie de pruebas: no se encontró el ensamblado o el módulo '{0}'.
-
+ Problema de implementación en la serie de pruebas: no se encontró el ensamblado o el módulo '{0}'.
+ {0} is the assembly or module name.An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
- Hay una versión anterior del paquete MSTestV2 cargada en el ensamblado. Es posible que la detección de pruebas no detecte todas las pruebas de datos si dependen del archivo ".runsettings".
-
+ Hay una versión anterior del paquete MSTestV2 cargada en el ensamblado. Es posible que la detección de pruebas no detecte todas las pruebas de datos si dependen del archivo ".runsettings".
+ {Locked="MSTestV2"}{Locked=".runsettings"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -277,13 +270,13 @@ pero recibió {4} argumentos, con los tipos '{5}'.
Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- Orden de prueba aleatorio habilitado (Seed: {0}). Establezca "RandomTestOrderSeed" para reproducir este orden.
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ Orden de prueba aleatorio habilitado (Seed: {0}). Establezca "RandomTestOrderSeed" para reproducir este orden.
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
- La entrada runsettings "<ExecutionApartmentState>STA</ExecutionApartmentState>" no se admite en sistemas operativos que no son de Windows.
-
+ La entrada runsettings "<ExecutionApartmentState>STA</ExecutionApartmentState>" no se admite en sistemas operativos que no son de Windows.
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}Running tests in any of the provided sources is not supported for the selected platform
@@ -292,108 +285,108 @@ pero recibió {4} argumentos, con los tipos '{5}'.
File does not exist: {0}
- El archivo no existe: {0}
-
+ El archivo no existe: {0}
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
- Método de limpieza de pruebas '{0}.{1}' se agotó el tiempo de espera después de {2}ms
-
+ Método de limpieza de pruebas '{0}.{1}' se agotó el tiempo de espera después de {2}ms
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
- Método de limpieza de pruebas "{0}.{1}" se canceló
-
+ Método de limpieza de pruebas "{0}.{1}" se canceló
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
- Mensajes de TestContext:
-
+ Mensajes de TestContext:
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
- Método de inicialización de prueba '{0}.{1}' se agotó el tiempo de espera después de {2}ms
-
+ Método de inicialización de prueba '{0}.{1}' se agotó el tiempo de espera después de {2}ms
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
- Método de inicialización de prueba "{0}.{1}" se canceló
-
+ Método de inicialización de prueba "{0}.{1}" se canceló
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
- No encontrado método prueba {0}.
-
+ No encontrado método prueba {0}.
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- Probar paralelización habilitada para {0} (Workers: {1}, Scope: {2})
- {Locked="Workers"}{Locked="Scope"}
+ Probar paralelización habilitada para {0} (Workers: {1}, Scope: {2})
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}{0}_{1} {2}
- {0} {1} {2}
-
+ {0} {1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
- Error de método Cleanup de ensamblado {0}.{1}. Mensaje de error: {2}. StackTrace: {3}
-
+ Error de método Cleanup de ensamblado {0}.{1}. Mensaje de error: {2}. StackTrace: {3}
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
- UTA070: El tipo "{0}" al que hace referencia [AssemblyFixtureProvider] no debe ser genérico.
-
+ UTA070: El tipo "{0}" al que hace referencia [AssemblyFixtureProvider] no debe ser genérico.
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
- UTA071: no se pudieron enumerar los métodos en el tipo "{0}" al que hace referencia [AssemblyFixtureProvider]. {1}
-
+ UTA071: no se pudieron enumerar los métodos en el tipo "{0}" al que hace referencia [AssemblyFixtureProvider]. {1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
- UTA072: no se pudo cargar el marcador [AssemblyFixtureProvider] del ensamblado "{0}". {1}
-
+ UTA072: no se pudo cargar el marcador [AssemblyFixtureProvider] del ensamblado "{0}". {1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
- Excepción método inicialización ensamblado {0}.{1}. {2}: {3}. Anulada ejecución de prueba.
-
+ Excepción método inicialización ensamblado {0}.{1}. {2}: {3}. Anulada ejecución de prueba.
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
- Error de método Cleanup de clase {0}.{1}. Mensaje error: {2}. Seguimiento de pila: {3}
-
+ Error de método Cleanup de clase {0}.{1}. Mensaje error: {2}. Seguimiento de pila: {3}
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
- Excepción del método inicialización clase {0}. {1}. {2}: {3}.
-
+ Excepción del método inicialización clase {0}. {1}. {2}: {3}.
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- El método {0}.{1} tiene una firma incorrecta. El método debe ser estático, público, no devolver un valor y no aceptar ningún parámetro. Además, si está usando async-await en el método entonces el tipo de valor devuelto debe ser 'Task' o 'ValueTask'.
-
+ El método {0}.{1} tiene una firma incorrecta. El método debe ser estático, público, no devolver un valor y no aceptar ningún parámetro. Además, si está usando async-await en el método entonces el tipo de valor devuelto debe ser 'Task' o 'ValueTask'.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- El método {0}.{1} tiene una firma incorrecta. El método debe ser estático, público, no devolver ningún valor y debe tomar un único parámetro de tipo TestContext. Además, si está usando async-await en el método entonces el tipo de valor devuelto debe ser 'Task' o 'ValueTask'.
-
+ El método {0}.{1} tiene una firma incorrecta. El método debe ser estático, público, no devolver ningún valor y debe tomar un único parámetro de tipo TestContext. Además, si está usando async-await en el método entonces el tipo de valor devuelto debe ser 'Task' o 'ValueTask'.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
- El método TestCleanup {0}.{1} devolvió una excepción. {2}.
-
+ El método TestCleanup {0}.{1} devolvió una excepción. {2}.
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
- Error al llamar al método Test Cleanup para la clase de prueba {0}: {1}
-
+ Error al llamar al método Test Cleanup para la clase de prueba {0}: {1}
+ {0} is the test class name. {1} is the exception message.Data source '{0}' cannot be found in the test configuration settings
- No se encuentra el origen de datos '{0}' en los valores de configuración de prueba
-
+ No se encuentra el origen de datos '{0}' en los valores de configuración de prueba
+ {0} is the data source name.--- End of inner exception stack trace ---
@@ -402,162 +395,162 @@ pero recibió {4} argumentos, con los tipos '{5}'.
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
- El adaptador de pruebas unitarias no puede conectarse al origen de datos o leer los datos. Para obtener más información acerca de cómo solucionar este error, consulte "Solución de problemas de pruebas unitarias orientadas a datos" (http://go.microsoft.com/fwlink/?LinkId=62412) en la biblioteca de MSDN. Detalles del error: {0}
-
+ El adaptador de pruebas unitarias no puede conectarse al origen de datos o leer los datos. Para obtener más información acerca de cómo solucionar este error, consulte "Solución de problemas de pruebas unitarias orientadas a datos" (http://go.microsoft.com/fwlink/?LinkId=62412) en la biblioteca de MSDN. Detalles del error: {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
- UTA031: la clase {0}no tiene la propiedad TestContext válida. TestContext debe ser de tipo TestContext, debe ser no estática y debe ser pública. Por ejemplo: public TestContext TestContext.
-
+ UTA031: la clase {0}no tiene la propiedad TestContext válida. TestContext debe ser de tipo TestContext, debe ser no estática y debe ser pública. Por ejemplo: public TestContext TestContext.
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
- UTA007: El método {1} definido en la clase {0} no tiene la firma correcta. El método de prueba marcado con el atributo [TestMethod] debe ser no estático, público, con el tipo devuelto void y no debe tomar ningún parámetro. Ejemplo: public void Test.Class1.Test(). Además, si está usando async-await en el método de prueba, entonces el tipo de valor devuelto debe ser 'Task' o 'ValueTask'. Ejemplo: public async Task Test.Class1.Test2()
-
+ UTA007: El método {1} definido en la clase {0} no tiene la firma correcta. El método de prueba marcado con el atributo [TestMethod] debe ser no estático, público, con el tipo devuelto void y no debe tomar ningún parámetro. Ejemplo: public void Test.Class1.Test(). Además, si está usando async-await en el método de prueba, entonces el tipo de valor devuelto debe ser 'Task' o 'ValueTask'. Ejemplo: public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
- UTA054: {0}.{1} tiene un atributo Timeout no válido. El tiempo de espera debe ser un valor entero mayor que 0.
-
+ UTA054: {0}.{1} tiene un atributo Timeout no válido. El tiempo de espera debe ser un valor entero mayor que 0.
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
- UTA014: {0}: No se puede definir más de un método con el atributo AssemblyCleanup dentro de un ensamblado.
-
+ UTA014: {0}: No se puede definir más de un método con el atributo AssemblyCleanup dentro de un ensamblado.
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
- UTA013: {0}: No se puede definir más de un método con el atributo AssemblyInitialize dentro de un ensamblado.
-
+ UTA013: {0}: No se puede definir más de un método con el atributo AssemblyInitialize dentro de un ensamblado.
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
- UTA026: {0}: No se puede definir más de un método con el atributo ClassCleanup dentro de una clase.
-
+ UTA026: {0}: No se puede definir más de un método con el atributo ClassCleanup dentro de una clase.
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
- UTA025: {0}: No se puede definir más de un método con el atributo ClassInitialize dentro de una clase.
-
+ UTA025: {0}: No se puede definir más de un método con el atributo ClassInitialize dentro de una clase.
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
- UTA024: {0}: No se puede definir más de un método con el atributo TestCleanup.
-
+ UTA024: {0}: No se puede definir más de un método con el atributo TestCleanup.
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
- UTA018: {0}: No se puede definir más de un método con el atributo TestInitialize.
-
+ UTA018: {0}: No se puede definir más de un método con el atributo TestInitialize.
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
- UTA001: se ha definido el atributo TestClass en la clase no pública {0}
-
+ UTA001: se ha definido el atributo TestClass en la clase no pública {0}
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
- Atributo TestClass definido en una clase genérica no abstracta {0}
-
+ Atributo TestClass definido en una clase genérica no abstracta {0}
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
- El método 'Execute' produjo una excepción no controlada. Notifique este error al autor del atributo ''{0}.
+ El método 'Execute' produjo una excepción no controlada. Notifique este error al autor del atributo ''{0}.
{1}
-
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
- No se pudo obtener la excepción iniciada por el método de prueba {0}.{1}.
-
+ No se pudo obtener la excepción iniciada por el método de prueba {0}.{1}.
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
- El método de inicialización {0}.{1} devolvió una excepción. {2}.
-
+ El método de inicialización {0}.{1} devolvió una excepción. {2}.
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
- No se puede crear una instancia de la clase {0}. Error: {1}.
-
+ No se puede crear una instancia de la clase {0}. Error: {1}.
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
- El método {0}.{1} no existe.
-
+ El método {0}.{1} no existe.
+ {0} is the declaring type name. {1} is the method name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
- La clase de prueba "{0}" tiene varios atributos derivados de "{1}" definidos en ella. Solo se permite un atributo de este tipo.
-
+ La clase de prueba "{0}" tiene varios atributos derivados de "{1}" definidos en ella. Solo se permite un atributo de este tipo.
+ {0} is the test class name. {1} is the attribute base type name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
- El método de prueba '{0}.{1}' tiene varios atributos derivados de '{2}' definidos en él. Solo se permite un atributo de este tipo.
-
+ El método de prueba '{0}.{1}' tiene varios atributos derivados de '{2}' definidos en él. Solo se permite un atributo de este tipo.
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
- No se pudo ejecutar prueba. Extensión no devolvió resultados. Si usa extensión TestMethodAttribute, contacte con el proveedor.
-
+ No se pudo ejecutar prueba. Extensión no devolvió resultados. Si usa extensión TestMethodAttribute, contacte con el proveedor.
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- No se encuentra un constructor válido para la clase de prueba '{0}'. Los constructores válidos son 'public' y sin parámetros o con un parámetro de tipo 'TestContext'.
-
+ No se encuentra un constructor válido para la clase de prueba '{0}'. Los constructores válidos son 'public' y sin parámetros o con un parámetro de tipo 'TestContext'.
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
- No se puede encontrar la propiedad {0}.TestContext. Error:{1}.
-
+ No se puede encontrar la propiedad {0}.TestContext. Error:{1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
- No se puede establecer la propiedad TestContext para la clase {0}. Error: {1}.
-
+ No se puede establecer la propiedad TestContext para la clase {0}. Error: {1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
- Tipo {0}.TestContext no es correcto.
-
+ Tipo {0}.TestContext no es correcto.
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- El método {0}.{1} tiene una firma incorrecta. Debe ser un método no estático, público, no devolver ningún valor y no debe aceptar parámetros. Además, si está usando async-await en el método entonces el tipo de valor devuelto debe ser 'Task' o 'ValueTask'.
-
+ El método {0}.{1} tiene una firma incorrecta. Debe ser un método no estático, público, no devolver ningún valor y no debe aceptar parámetros. Además, si está usando async-await en el método entonces el tipo de valor devuelto debe ser 'Task' o 'ValueTask'.
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
- Excepción método de prueba {0}.{1}:
+ Excepción método de prueba {0}.{1}:
{2}
-
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
- No se puede obtener el tipo {0}. Error: {1}.
-
+ No se puede obtener el tipo {0}. Error: {1}.
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
- El código llamado produjo una excepción que se detectó, pero el valor de la excepción era null
-
+ El código llamado produjo una excepción que se detectó, pero el valor de la excepción era null
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
- {0}. En proyectos de UWP, si usa objetos de interfaz de usuario en la prueba, podría usar el atributo [UITestMethod] en lugar de [TestMethod] para ejecutar la prueba en el subproceso de interfaz de usuario.
-
+ {0}. En proyectos de UWP, si usa objetos de interfaz de usuario en la prueba, podría usar el atributo [UITestMethod] en lugar de [TestMethod] para ejecutar la prueba en el subproceso de interfaz de usuario.
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
- (No se pudo obtener el mensaje para una excepción del tipo {0} debido a una excepción.)
-
+ (No se pudo obtener el mensaje para una excepción del tipo {0} debido a una excepción.)
+ {0} is the exception type name.'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
- "MSTest.TestAdapter" y "MSTest.TestFramework" deben tener la misma versión. Se encontró la versión "{0}" de "MSTest.TestAdapter" y la versión "{1}" de "MSTest.TestFramework". Asegúrese de que las versiones de los paquetes NuGet "MSTest.TestAdapter" y "MSTest.TestFramework" tienen la misma versión.
-
+ "MSTest.TestAdapter" y "MSTest.TestFramework" deben tener la misma versión. Se encontró la versión "{0}" de "MSTest.TestAdapter" y la versión "{1}" de "MSTest.TestFramework". Asegúrese de que las versiones de los paquetes NuGet "MSTest.TestAdapter" y "MSTest.TestFramework" tienen la misma versión.
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Wrong number of objects for permutation. Should be greater than zero.
@@ -566,8 +559,8 @@ pero recibió {4} argumentos, con los tipos '{5}'.
Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
- Advertencia: el método de prueba ''{0}.{1}'' tiene parámetros 'out' o 'ref' que no se admiten y pueden no estar permitidos en una versión futura de MSTest.
-
+ Advertencia: el método de prueba ''{0}.{1}'' tiene parámetros 'out' o 'ref' que no se admiten y pueden no estar permitidos en una versión futura de MSTest.
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}
diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.fr.xlf b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.fr.xlf
index 0e67f56036..6a3da3ad67 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.fr.xlf
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.fr.xlf
@@ -4,102 +4,97 @@
Assembly cleanup method '{0}.{1}' timed out after {2}ms
- La méthode de nettoyage d’assembly « {0}.{1} » a expiré après {2}ms
-
+ La méthode de nettoyage d’assembly « {0}.{1} » a expiré après {2}ms
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
- La méthode de nettoyage de l’assembly « {0}.{1} » a été annulée
-
+ La méthode de nettoyage de l’assembly « {0}.{1} » a été annulée
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
- La méthode d'initialisation de l’assembly « {0}.{1} » a expiré après {2}ms
-
+ La méthode d'initialisation de l’assembly « {0}.{1} » a expiré après {2}ms
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
- La méthode d’initialisation de l’assembly « {0}.{1} » a été annulée
-
+ La méthode d’initialisation de l’assembly « {0}.{1} » a été annulée
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
- MSTestAdapterV2
-
+ MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- Une exception s’est produite lors de l’énumération de l’attribut IDataSource sur « {0}.{1} » : {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ Une exception s’est produite lors de l’énumération de l’attribut IDataSource sur « {0}.{1} » : {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- Une exception s’est produite lors du développement des lignes IDataSource à partir de l’attribut sur « {0}.{1} » : {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ Une exception s’est produite lors du développement des lignes IDataSource à partir de l’attribut sur « {0}.{1} » : {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- Impossible de sérialiser les données de l’index {0} pour « {1} ». Toutes les données fournies via « IDataSource » doivent être sérialisables. Si vous devez tester des sources de données non sérialisables, veillez à ajouter l’attribut « TestDataSourceDiscovery » à votre assembly de test et définissez l’option de découverte sur « DuringExecution ».
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ Impossible de sérialiser les données de l’index {0} pour « {1} ». Toutes les données fournies via « IDataSource » doivent être sérialisables. Si vous devez tester des sources de données non sérialisables, veillez à ajouter l’attribut « TestDataSourceDiscovery » à votre assembly de test et définissez l’option de découverte sur « DuringExecution ».
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Could not find file '{0}'.
- Le fichier '{0}' est introuvable.
-
+ Le fichier '{0}' est introuvable.
+ {0} is the file path.Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
- Impossible d’exécuter la méthode de test « {0}.{1} » : les données de test ne correspondent pas aux paramètres de la méthode. Le nombre ou les types sont différents.
+ Impossible d’exécuter la méthode de test « {0}.{1} » : les données de test ne correspondent pas aux paramètres de la méthode. Le nombre ou les types sont différents.
Tester le ou les paramètres de {2} attendus, avec les types « {3} »,
mais a reçu {4} argument(s), avec les types « {5} ».
-
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
- Impossible d’exécuter la méthode de test « {0}.{1} » : la méthode a des paramètres, mais ne définit aucune source de test. Utilisez « [DataRow] », « [DynamicData] » ou une source de données « ITestDataSource » personnalisée pour fournir des données de test.
-
+ Impossible d’exécuter la méthode de test « {0}.{1} » : la méthode a des paramètres, mais ne définit aucune source de test. Utilisez « [DataRow] », « [DynamicData] » ou une source de données « ITestDataSource » personnalisée pour fournir des données de test.
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
- La méthode de nettoyage de classe « {0}.{1} » a expiré après {2}ms
-
+ La méthode de nettoyage de classe « {0}.{1} » a expiré après {2}ms
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
- La méthode de nettoyage de la classe « {0}.{1} » a été annulée
-
+ La méthode de nettoyage de la classe « {0}.{1} » a été annulée
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
- La méthode d'initialisation de la classe « {0}.{1} » a expiré après {2}ms
-
+ La méthode d'initialisation de la classe « {0}.{1} » a expiré après {2}ms
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
- La méthode d’initialisation de la classe « {0}.{1} » a été annulée
-
+ La méthode d’initialisation de la classe « {0}.{1} » a été annulée
+ {0} is the type name. {1} is the class initialize method name.The parameter should not be null or empty.
- Le paramètre ne doit pas être une valeur Null ou être vide.
-
+ Le paramètre ne doit pas être une valeur Null ou être vide.
+ {Locked="null"}MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
- MSTestAdapter n'a pas découvert de tests dans la classe '{0}' de l'assembly '{1}', car {2}.
-
+ MSTestAdapter n'a pas découvert de tests dans la classe '{0}' de l'assembly '{1}', car {2}.
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
- {0} (ligne de données {1})
-
+ {0} (ligne de données {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:
@@ -108,58 +103,58 @@ mais a reçu {4} argument(s), avec les types « {5} ».
Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
- Problème de déploiement de la série de tests : élément de déploiement incorrect : '{0}' : le répertoire de sortie '{1}' spécifie l'élément à déployer en dehors du répertoire racine du déploiement, ce qui n'est pas autorisé.
-
+ Problème de déploiement de la série de tests : élément de déploiement incorrect : '{0}' : le répertoire de sortie '{1}' spécifie l'élément à déployer en dehors du répertoire racine du déploiement, ce qui n'est pas autorisé.
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
- Problème de déploiement de la série de tests : échec de l'accès au répertoire de sortie '{1}' spécifié par l'élément de déploiement '{0}', l'élément ne sera pas déployé : {2} : {3}
-
+ Problème de déploiement de la série de tests : échec de l'accès au répertoire de sortie '{1}' spécifié par l'élément de déploiement '{0}', l'élément ne sera pas déployé : {2} : {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
- Problème de déploiement de la série de tests : échec de l'accès au fichier '{0}' : {1} : {2}
-
+ Problème de déploiement de la série de tests : échec de l'accès au fichier '{0}' : {1} : {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
- Problème de déploiement de la série de tests : échec de la copie du fichier '{0}' dans '{1}' : {2} : {3}
-
+ Problème de déploiement de la série de tests : échec de la copie du fichier '{0}' dans '{1}' : {2} : {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
- Problème de déploiement de la série de tests : échec du déploiement des dépendances pour le stockage de test '{0}' : {1}
-
+ Problème de déploiement de la série de tests : échec du déploiement des dépendances pour le stockage de test '{0}' : {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
- Problème de déploiement de la série de tests : échec de l'obtention du fichier pour {0} : {1} : {2}
-
+ Problème de déploiement de la série de tests : échec de l'obtention du fichier pour {0} : {1} : {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
- Problème de déploiement de la série de tests : une erreur s'est produite durant l'obtention des assemblys satellites pour {0} : {1} : {2}
-
+ Problème de déploiement de la série de tests : une erreur s'est produite durant l'obtention des assemblys satellites pour {0} : {1} : {2}
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
- élément de déploiement '{0}'
-
+ élément de déploiement '{0}'
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
- Élément de déploiement non valide : le chemin '{0}' ou le répertoire de sortie '{1}' spécifié contient des caractères non conformes.
-
+ Élément de déploiement non valide : le chemin '{0}' ou le répertoire de sortie '{1}' spécifié contient des caractères non conformes.
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
- Élément de déploiement non valide : le répertoire de sortie doit être défini.
-
+ Élément de déploiement non valide : le répertoire de sortie doit être défini.
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
- Élément de déploiement non valide : le répertoire de sortie '{0}' spécifié n'est pas relatif.
-
+ Élément de déploiement non valide : le répertoire de sortie '{0}' spécifié n'est pas relatif.
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.
@@ -168,107 +163,105 @@ mais a reçu {4} argument(s), avec les types « {5} ».
deployment item '{0}' (output directory '{1}')
- élément de déploiement '{0}' (répertoire de sortie '{1}')
-
+ élément de déploiement '{0}' (répertoire de sortie '{1}')
+ {0} is the deployment item path. {1} is the output directory.Discovery failed for source '{0}' with {1} errors:
{2}
- Désolé, échec de la découverte de la source « {0} » avec {1} erreurs :
+ Désolé, échec de la découverte de la source « {0} » avec {1} erreurs :
{2}
-
+ {0} is the source path. {1} is the error count. {2} is the error details.[MSTest][Discovery][{0}] {1}
- [MSTest][Discovery][{0}] {1}
-
+ [MSTest][Discovery][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Only one attribute of type '{0}' is allowed, but multiple were found.
- Un seul attribut de type « {0} » est autorisé, mais plusieurs ont été trouvés.
-
+ Un seul attribut de type « {0} » est autorisé, mais plusieurs ont été trouvés.
+ {0} is the attribute type name.Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
- Les fichiers « .runsettings » et « .testconfig.json » ont été détectés. Veuillez sélectionner un seul de ces fichiers de configuration de test.
-
+ Les fichiers « .runsettings » et « .testconfig.json » ont été détectés. Veuillez sélectionner un seul de ces fichiers de configuration de test.
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- « {0} » : (Échec de l’obtention de la description de l’exception en raison d’une exception de type « {1} ».
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ « {0} » : (Échec de l’obtention de la description de l’exception en raison d’une exception de type « {1} ».
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
- Le test {0} a été annulé
-
+ Le test {0} a été annulé
+ {0} is the test name.Test '{0}' timed out after {1}ms
- Le test « {0} » a expiré après {1} ms
-
+ Le test « {0} » a expiré après {1} ms
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- L’obtention d’attributs personnalisés pour le type {0} a levé une exception (ignorera et utilisera la méthode de réflexion) : {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ L’obtention d’attributs personnalisés pour le type {0} a levé une exception (ignorera et utilisera la méthode de réflexion) : {1}
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
- Le type du paramètre générique « {0} » n'a pas pu être déduit.
-
+ Le type du paramètre générique « {0} » n'a pas pu être déduit.
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
- La méthode de test générique « {0} » n’a pas d’arguments, donc le paramètre générique ne peut pas être déduit.
-
+ La méthode de test générique « {0} » n’a pas d’arguments, donc le paramètre générique ne peut pas être déduit.
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- Deux types en conflit ont été trouvés pour le paramètre générique « {0} ». Les types en conflit sont « {1} » et « {2} ».
-
+ Deux types en conflit ont été trouvés pour le paramètre générique « {0} ». Les types en conflit sont « {1} » et « {2} ».
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- Valeur non valide « {0} » spécifiée pour « Scope ». Les étendues prises en charge sont {1}.
- {Locked="Scope"}
+ Valeur non valide « {0} » spécifiée pour « Scope ». Les étendues prises en charge sont {1}.
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- Valeur non valide '{0}' spécifiée pour 'Workers'. La valeur doit être un entier non négatif.
- {Locked="Workers"}
+ Valeur non valide '{0}' spécifiée pour 'Workers'. La valeur doit être un entier non négatif.
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
- Paramètres non valides '{0}'. XmlAttribute inattendu : '{1}'.
-
+ Paramètres non valides '{0}'. XmlAttribute inattendu : '{1}'.
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
- MSTestAdapter a rencontré un élément inattendu '{0}' dans ses paramètres '{1}'. Supprimez cet élément, puis réessayez.
-
+ MSTestAdapter a rencontré un élément inattendu '{0}' dans ses paramètres '{1}'. Supprimez cet élément, puis réessayez.
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
- Valeur non valide '{0}' pour l’entrée runsettings '{1}', le paramètre sera ignoré.
-
+ Valeur non valide '{0}' pour l’entrée runsettings '{1}', le paramètre sera ignoré.
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
- Problème de déploiement de la série de tests : l'assembly ou le module '{0}' est introuvable. Raison : {1}
-
+ Problème de déploiement de la série de tests : l'assembly ou le module '{0}' est introuvable. Raison : {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
- Problème de déploiement de la série de tests : l'assembly ou le module '{0}' est introuvable.
-
+ Problème de déploiement de la série de tests : l'assembly ou le module '{0}' est introuvable.
+ {0} is the assembly or module name.An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
- Une version antérieure du package MSTestV2 est chargée dans l’assembly. La découverte de tests risque de ne pas découvrir tous les tests de données s’ils dépendent du fichier '.runsettings'.
-
+ Une version antérieure du package MSTestV2 est chargée dans l’assembly. La découverte de tests risque de ne pas découvrir tous les tests de données s’ils dépendent du fichier '.runsettings'.
+ {Locked="MSTestV2"}{Locked=".runsettings"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -277,13 +270,13 @@ mais a reçu {4} argument(s), avec les types « {5} ».
Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- Ordre de test aléatoire activé (Seed : {0}). Définissez « RandomTestOrderSeed » pour reproduire cet ordre.
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ Ordre de test aléatoire activé (Seed : {0}). Définissez « RandomTestOrderSeed » pour reproduire cet ordre.
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
- L’entrée Runsettings « <ExecutionApartmentState>STA</ExecutionApartmentState> » n’est pas prise en charge sur les systèmes d’exploitation non Windows.
-
+ L’entrée Runsettings « <ExecutionApartmentState>STA</ExecutionApartmentState> » n’est pas prise en charge sur les systèmes d’exploitation non Windows.
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}Running tests in any of the provided sources is not supported for the selected platform
@@ -292,108 +285,108 @@ mais a reçu {4} argument(s), avec les types « {5} ».
File does not exist: {0}
- Fichier inexistant : {0}
-
+ Fichier inexistant : {0}
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
- La méthode de nettoyage de test « {0}.{1} » a expiré après {2}ms
-
+ La méthode de nettoyage de test « {0}.{1} » a expiré après {2}ms
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
- La méthode de nettoyage du test « {0}.{1} » a été annulée
-
+ La méthode de nettoyage du test « {0}.{1} » a été annulée
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
- Messages TestContext :
-
+ Messages TestContext :
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
- La méthode d’initialisation de test « {0}.{1} » a expiré après {2}ms
-
+ La méthode d’initialisation de test « {0}.{1} » a expiré après {2}ms
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
- La méthode d’initialisation du test « {0}.{1} » a été annulée
-
+ La méthode d’initialisation du test « {0}.{1} » a été annulée
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
- Méthode de test {0} introuvable.
-
+ Méthode de test {0} introuvable.
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- Parallélisation des tests activée pour {0} (Workers : {1}, Scope : {2})
- {Locked="Workers"}{Locked="Scope"}
+ Parallélisation des tests activée pour {0} (Workers : {1}, Scope : {2})
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}{0}_{1} {2}
- {0}_{1} {2}
-
+ {0}_{1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
- La méthode Cleanup d'assembly {0}.{1} a échoué. Message d'erreur : {2}. StackTrace : {3}
-
+ La méthode Cleanup d'assembly {0}.{1} a échoué. Message d'erreur : {2}. StackTrace : {3}
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
- UTA070 : le type « {0} » référencé par [AssemblyFixtureProvider] ne doit pas être générique.
-
+ UTA070 : le type « {0} » référencé par [AssemblyFixtureProvider] ne doit pas être générique.
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
- UTA071 : échec de l’énumération des méthodes sur le type « {0} » référencé par [AssemblyFixtureProvider]. {1}
-
+ UTA071 : échec de l’énumération des méthodes sur le type « {0} » référencé par [AssemblyFixtureProvider]. {1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
- UTA072 : échec du chargement du marqueur [AssemblyFixtureProvider] à partir de l’assembly « {0} ». {1}
-
+ UTA072 : échec du chargement du marqueur [AssemblyFixtureProvider] à partir de l’assembly « {0} ». {1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
- La méthode d'assembly Initialization {0}.{1} a levé une exception. {2} : {3}. Abandon de l'exécution de tests.
-
+ La méthode d'assembly Initialization {0}.{1} a levé une exception. {2} : {3}. Abandon de l'exécution de tests.
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
- La méthode de classe Cleanup {0}.{1} a échoué. Message d'erreur : {2}. Trace de la pile : {3}
-
+ La méthode de classe Cleanup {0}.{1} a échoué. Message d'erreur : {2}. Trace de la pile : {3}
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
- La méthode de classe Initialization {0}.{1} a levé une exception. {2} : {3}.
-
+ La méthode de classe Initialization {0}.{1} a levé une exception. {2} : {3}.
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- La méthode {0}.{1} présente une signature incorrecte. La méthode doit être statique, publique et ne doit retourner aucune valeur ni accepter aucun paramètre. En outre, si vous utilisez async-await dans la méthode, return-type doit être « Task » ou « ValueTask ».
-
+ La méthode {0}.{1} présente une signature incorrecte. La méthode doit être statique, publique et ne doit retourner aucune valeur ni accepter aucun paramètre. En outre, si vous utilisez async-await dans la méthode, return-type doit être « Task » ou « ValueTask ».
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- La méthode {0}.{1} présente une signature incorrecte. La méthode doit être statique, publique et ne doit retourner aucune valeur et accepter un seul paramètre de type TestContext. En outre, si vous utilisez async-await dans la méthode, return-type doit être « Task » ou « ValueTask ».
-
+ La méthode {0}.{1} présente une signature incorrecte. La méthode doit être statique, publique et ne doit retourner aucune valeur et accepter un seul paramètre de type TestContext. En outre, si vous utilisez async-await dans la méthode, return-type doit être « Task » ou « ValueTask ».
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
- La méthode TestCleanup {0}.{1} a levé une exception. {2}.
-
+ La méthode TestCleanup {0}.{1} a levé une exception. {2}.
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
- Erreur lors de l'appel de la méthode Test Cleanup pour la classe de test {0} : {1}
-
+ Erreur lors de l'appel de la méthode Test Cleanup pour la classe de test {0} : {1}
+ {0} is the test class name. {1} is the exception message.Data source '{0}' cannot be found in the test configuration settings
- Source de données '{0}' introuvable dans les paramètres de configuration de test
-
+ Source de données '{0}' introuvable dans les paramètres de configuration de test
+ {0} is the data source name.--- End of inner exception stack trace ---
@@ -402,162 +395,162 @@ mais a reçu {4} argument(s), avec les types « {5} ».
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
- L'adaptateur de test unitaire n'a pas réussi à se connecter à la source de données ou à lire les données. Pour plus d'informations sur le dépannage de l'erreur, consultez "Résolution des problèmes liés aux tests unitaires pilotés par les données" (http://go.microsoft.com/fwlink/?LinkId=62412) dans MSDN Library. Détails de l'erreur : {0}
-
+ L'adaptateur de test unitaire n'a pas réussi à se connecter à la source de données ou à lire les données. Pour plus d'informations sur le dépannage de l'erreur, consultez "Résolution des problèmes liés aux tests unitaires pilotés par les données" (http://go.microsoft.com/fwlink/?LinkId=62412) dans MSDN Library. Détails de l'erreur : {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
- UTA031 : la classe {0} n'a pas de propriété TestContext valide. TestContext doit être de type TestContext, doit être non statique et doit être public. Par exemple : public TestContext TestContext.
-
+ UTA031 : la classe {0} n'a pas de propriété TestContext valide. TestContext doit être de type TestContext, doit être non statique et doit être public. Par exemple : public TestContext TestContext.
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
- UTA007 : la méthode {1} définie dans la classe {0} ne dispose pas d'une signature correcte. Une méthode de test marquée avec l'attribut [TestMethod] doit être non statique, doit utiliser void pour return-type et ne doit accepter aucun paramètre. Exemple : public void Test.Class1.Test(). En outre, si vous utilisez async-await dans la méthode test, return-type doit être « Task » ou « ValueTask ». Exemple : public async Task Test.Class1.Test2()
-
+ UTA007 : la méthode {1} définie dans la classe {0} ne dispose pas d'une signature correcte. Une méthode de test marquée avec l'attribut [TestMethod] doit être non statique, doit utiliser void pour return-type et ne doit accepter aucun paramètre. Exemple : public void Test.Class1.Test(). En outre, si vous utilisez async-await dans la méthode test, return-type doit être « Task » ou « ValueTask ». Exemple : public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
- UTA054 : {0}.{1}possède un attribut de délai d’expiration non valide. Le délai d’expiration doit être un nombre entier supérieur à 0.
-
+ UTA054 : {0}.{1}possède un attribut de délai d’expiration non valide. Le délai d’expiration doit être un nombre entier supérieur à 0.
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
- UTA014 : {0} : impossible de définir plus d'une méthode avec l'attribut AssemblyCleanup à l'intérieur d'un assembly.
-
+ UTA014 : {0} : impossible de définir plus d'une méthode avec l'attribut AssemblyCleanup à l'intérieur d'un assembly.
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
- UTA013 : {0} : impossible de définir plus d'une méthode avec l'attribut AssemblyInitialize à l'intérieur d'un assembly.
-
+ UTA013 : {0} : impossible de définir plus d'une méthode avec l'attribut AssemblyInitialize à l'intérieur d'un assembly.
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
- UTA026 : {0} : impossible de définir plus d'une méthode avec l'attribut ClassCleanup à l'intérieur d'une classe.
-
+ UTA026 : {0} : impossible de définir plus d'une méthode avec l'attribut ClassCleanup à l'intérieur d'une classe.
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
- UTA025 : {0} : impossible de définir plus d'une méthode avec l'attribut ClassInitialize à l'intérieur d'une classe.
-
+ UTA025 : {0} : impossible de définir plus d'une méthode avec l'attribut ClassInitialize à l'intérieur d'une classe.
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
- UTA024 : {0} : impossible de définir plus d'une méthode avec l'attribut TestCleanup.
-
+ UTA024 : {0} : impossible de définir plus d'une méthode avec l'attribut TestCleanup.
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
- UTA018 : {0} : impossible de définir plus d'une méthode avec l'attribut TestInitialize.
-
+ UTA018 : {0} : impossible de définir plus d'une méthode avec l'attribut TestInitialize.
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
- UTA001 : attribut TestClass défini sur la classe non publique {0}
-
+ UTA001 : attribut TestClass défini sur la classe non publique {0}
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
- Attribut TestClass défini sur une classe non abstraite générique {0}
-
+ Attribut TestClass défini sur une classe non abstraite générique {0}
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
- Une exception non gérée a été levée par la méthode « Execute ». Veuillez signaler cette erreur à l’auteur de l’attribut « {0} ».
+ Une exception non gérée a été levée par la méthode « Execute ». Veuillez signaler cette erreur à l’auteur de l’attribut « {0} ».
{1}
-
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
- Échec de l'obtention de l'exception levée par la méthode de test {0}.{1}.
-
+ Échec de l'obtention de l'exception levée par la méthode de test {0}.{1}.
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
- La méthode Initialization {0}.{1} a levé une exception. {2}.
-
+ La méthode Initialization {0}.{1} a levé une exception. {2}.
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
- Impossible de créer une instance de la classe {0}. Erreur : {1}.
-
+ Impossible de créer une instance de la classe {0}. Erreur : {1}.
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
- La méthode {0}.{1} n'existe pas.
-
+ La méthode {0}.{1} n'existe pas.
+ {0} is the declaring type name. {1} is the method name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
- La classe de test « {0} » possède plusieurs attributs dérivés de « {1} » définis sur elle. Un seul attribut de ce type est autorisé.
-
+ La classe de test « {0} » possède plusieurs attributs dérivés de « {1} » définis sur elle. Un seul attribut de ce type est autorisé.
+ {0} is the test class name. {1} is the attribute base type name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
- La méthode de test « {0}.{1} » possède plusieurs attributs dérivés de « {2} » qui lui sont définis. Un seul attribut de ce type est autorisé.
-
+ La méthode de test « {0}.{1} » possède plusieurs attributs dérivés de « {2} » qui lui sont définis. Un seul attribut de ce type est autorisé.
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
- Erreur lors de l'exécution du test. L'extension n'a retourné aucun résultat. Si vous utilisez l'extension de TestMethodAttribute, contactez le fournisseur.
-
+ Erreur lors de l'exécution du test. L'extension n'a retourné aucun résultat. Si vous utilisez l'extension de TestMethodAttribute, contactez le fournisseur.
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- Impossible de trouver un constructeur valide pour la classe de test « {0} ». Les constructeurs valides sont « publics » et sans paramètre ou avec un paramètre de type « TestContext ».
-
+ Impossible de trouver un constructeur valide pour la classe de test « {0} ». Les constructeurs valides sont « publics » et sans paramètre ou avec un paramètre de type « TestContext ».
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
- Propriété {0}.TestContext introuvable. Erreur :{1}.
-
+ Propriété {0}.TestContext introuvable. Erreur :{1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
- Impossible de définir la propriété TestContext pour la classe {0}. Erreur : {1}.
-
+ Impossible de définir la propriété TestContext pour la classe {0}. Erreur : {1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
- {0}.TestContext possède un type incorrect.
-
+ {0}.TestContext possède un type incorrect.
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- La méthode {0}.{1} présente une signature incorrecte. La méthode doit être non statique, publique et ne doit retourner aucune valeur ni accepter aucun paramètre. En outre, si vous utilisez async-await dans la méthode, return-type doit être « Task » ou « ValueTask ».
-
+ La méthode {0}.{1} présente une signature incorrecte. La méthode doit être non statique, publique et ne doit retourner aucune valeur ni accepter aucun paramètre. En outre, si vous utilisez async-await dans la méthode, return-type doit être « Task » ou « ValueTask ».
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
- La méthode de test {0}.{1} a levé une exception :
+ La méthode de test {0}.{1} a levé une exception :
{2}
-
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
- Impossible d'obtenir le type {0}. Erreur : {1}.
-
+ Impossible d'obtenir le type {0}. Erreur : {1}.
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
- Le code appelé a levé une exception qui a été interceptée, mais la valeur de l’exception était nul
-
+ Le code appelé a levé une exception qui a été interceptée, mais la valeur de l’exception était nul
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
- {0} Pour les projets UWP, si vous utilisez des objets d'IU dans un test, utilisez l'attribut [UITestMethod] à la place de [TestMethod] pour exécuter le test dans le thread d'interface utilisateur.
-
+ {0} Pour les projets UWP, si vous utilisez des objets d'IU dans un test, utilisez l'attribut [UITestMethod] à la place de [TestMethod] pour exécuter le test dans le thread d'interface utilisateur.
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
- (Échec de la réception du message pour une exception de type {0} en raison d'une exception.)
-
+ (Échec de la réception du message pour une exception de type {0} en raison d'une exception.)
+ {0} is the exception type name.'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
- « MSTest.TestAdapter » et « MSTest.TestFramework » doivent avoir la même version. Version de « MSTest.TestAdapter » : « {0} » et version de « MSTest.TestFramework » : « {1} ». Veuillez vous assurer que les versions des packages NuGet « MSTest.TestAdapter » et « MSTest.TestFramework » sont identiques.
-
+ « MSTest.TestAdapter » et « MSTest.TestFramework » doivent avoir la même version. Version de « MSTest.TestAdapter » : « {0} » et version de « MSTest.TestFramework » : « {1} ». Veuillez vous assurer que les versions des packages NuGet « MSTest.TestAdapter » et « MSTest.TestFramework » sont identiques.
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Wrong number of objects for permutation. Should be greater than zero.
@@ -566,8 +559,8 @@ mais a reçu {4} argument(s), avec les types « {5} ».
Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
- Avertissement : la méthode de test « {0}.{1} » utilise des paramètres « out » ou « ref » qui ne sont pas pris en charge et seront sans doute interdits dans une future version de MSTest.
-
+ Avertissement : la méthode de test « {0}.{1} » utilise des paramètres « out » ou « ref » qui ne sont pas pris en charge et seront sans doute interdits dans une future version de MSTest.
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}
diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.it.xlf b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.it.xlf
index fc92844e1f..a91e8c02bc 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.it.xlf
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.it.xlf
@@ -4,102 +4,97 @@
Assembly cleanup method '{0}.{1}' timed out after {2}ms
- Metodo di pulizia dell’assembly '{0}. Time out di {1}' dopo {2} ms
-
+ Metodo di pulizia dell’assembly '{0}. Time out di {1}' dopo {2} ms
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
- Il metodo di pulizia dell'assembly "{0}.{1}" è stato annullato
-
+ Il metodo di pulizia dell'assembly "{0}.{1}" è stato annullato
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
- Metodo di inizializzazione dell'assembly '{0}. Timeout di {1}' dopo {2} ms
-
+ Metodo di inizializzazione dell'assembly '{0}. Timeout di {1}' dopo {2} ms
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
- Il metodo di inizializzazione dell'assembly "{0}.{1}" è stato annullato
-
+ Il metodo di inizializzazione dell'assembly "{0}.{1}" è stato annullato
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
- MSTestAdapterV2
-
+ MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- Si è verificata un'eccezione durante l'enumerazione dell'attributo IDataSource in "{0}.{1}": {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ Si è verificata un'eccezione durante l'enumerazione dell'attributo IDataSource in "{0}.{1}": {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- Si è verificata un'eccezione durante l'espansione delle righe IDataSource dall'attributo in "{0}.{1}": {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ Si è verificata un'eccezione durante l'espansione delle righe IDataSource dall'attributo in "{0}.{1}": {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- Non è possibile serializzare i dati nell'indice {0} per "{1}". Tutti i dati forniti tramite "IDataSource" devono essere serializzabili. Se è necessario testare origini dati non serializzabili, assicurarsi di aggiungere l'attributo "TestDataSourceDiscovery" nell'assembly di test e impostare l'opzione di individuazione su "DuringExecution".
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ Non è possibile serializzare i dati nell'indice {0} per "{1}". Tutti i dati forniti tramite "IDataSource" devono essere serializzabili. Se è necessario testare origini dati non serializzabili, assicurarsi di aggiungere l'attributo "TestDataSourceDiscovery" nell'assembly di test e impostare l'opzione di individuazione su "DuringExecution".
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Could not find file '{0}'.
- Il file '{0}' non è stato trovato.
-
+ Il file '{0}' non è stato trovato.
+ {0} is the file path.Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
- Non è possibile eseguire il metodo di test '{0}.{1}': i dati del test non corrispondono ai parametri del metodo. Il numero o il tipo è diverso.
+ Non è possibile eseguire il metodo di test '{0}.{1}': i dati del test non corrispondono ai parametri del metodo. Il numero o il tipo è diverso.
Il test prevedeva {2} parametri, con tipi '{3}',
ma ha ricevuto {4} argomenti, con tipi '{5}'.
-
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
- Impossibile eseguire il metodo di test "{0}.{1}": il metodo contiene parametri, ma non definisce alcuna origine test. Usare "[DataRow]", "[DynamicData]" o un'origine dati "ITestDataSource" personalizzata per fornire i dati del test.
-
+ Impossibile eseguire il metodo di test "{0}.{1}": il metodo contiene parametri, ma non definisce alcuna origine test. Usare "[DataRow]", "[DynamicData]" o un'origine dati "ITestDataSource" personalizzata per fornire i dati del test.
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
- Time out del metodo di pulizia della classe '{0}. Time out di {1}' dopo {2} ms
-
+ Time out del metodo di pulizia della classe '{0}. Time out di {1}' dopo {2} ms
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
- Il metodo di pulizia della classe "{0}.{1}" è stato annullato
-
+ Il metodo di pulizia della classe "{0}.{1}" è stato annullato
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
- Metodo di inizializzazione della classe '{0}. Timeout di {1}' dopo {2} ms
-
+ Metodo di inizializzazione della classe '{0}. Timeout di {1}' dopo {2} ms
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
- Il metodo di inizializzazione della classe "{0}.{1}" è stato annullato
-
+ Il metodo di inizializzazione della classe "{0}.{1}" è stato annullato
+ {0} is the type name. {1} is the class initialize method name.The parameter should not be null or empty.
- Il parametro non deve essere vuoto o Null.
-
+ Il parametro non deve essere vuoto o Null.
+ {Locked="null"}MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
- MSTestAdapter non è riuscito a individuare test nella classe '{0}' dell'assembly '{1}' perché {2}.
-
+ MSTestAdapter non è riuscito a individuare test nella classe '{0}' dell'assembly '{1}' perché {2}.
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
- {0} (riga dati {1})
-
+ {0} (riga dati {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:
@@ -108,58 +103,58 @@ ma ha ricevuto {4} argomenti, con tipi '{5}'.
Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
- Problema di distribuzione dell'esecuzione dei test: l'elemento di distribuzione '{0}' non è corretto. La directory di output '{1}' specifica l'elemento da distribuire all'esterno della directory radice della distribuzione e questa operazione non consentita.
-
+ Problema di distribuzione dell'esecuzione dei test: l'elemento di distribuzione '{0}' non è corretto. La directory di output '{1}' specifica l'elemento da distribuire all'esterno della directory radice della distribuzione e questa operazione non consentita.
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
- Problema di distribuzione dell'esecuzione dei test: non è stato possibile accedere alla directory di output '{0}' specificata dall'elemento di distribuzione '{1}'. L'elemento non verrà distribuito: {2}: {3}
-
+ Problema di distribuzione dell'esecuzione dei test: non è stato possibile accedere alla directory di output '{0}' specificata dall'elemento di distribuzione '{1}'. L'elemento non verrà distribuito: {2}: {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
- Problema di distribuzione dell'esecuzione dei test: non è stato possibile accedere al file '{0}': {1}: {2}
-
+ Problema di distribuzione dell'esecuzione dei test: non è stato possibile accedere al file '{0}': {1}: {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
- Problema di distribuzione dell'esecuzione dei test: non è stato possibile copiare il file '{0}' in '{1}': {2}: {3}
-
+ Problema di distribuzione dell'esecuzione dei test: non è stato possibile copiare il file '{0}' in '{1}': {2}: {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
- Problema di distribuzione dell'esecuzione dei test: non è stato possibile distribuire le dipendenze per l'archivio dei test '{0}': {1}
-
+ Problema di distribuzione dell'esecuzione dei test: non è stato possibile distribuire le dipendenze per l'archivio dei test '{0}': {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
- Problema di distribuzione dell'esecuzione dei test: non è stato possibile ottenere il file per {0}: {1}: {2}
-
+ Problema di distribuzione dell'esecuzione dei test: non è stato possibile ottenere il file per {0}: {1}: {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
- Problema di distribuzione dell'esecuzione dei test: si è verificato un errore durante il recupero degli assembly satellite per {0}: {1}: {2}
-
+ Problema di distribuzione dell'esecuzione dei test: si è verificato un errore durante il recupero degli assembly satellite per {0}: {1}: {2}
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
- elemento di distribuzione '{0}'
-
+ elemento di distribuzione '{0}'
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
- Elemento di distribuzione non valido: la directory di output '{1}' o il percorso specificato '{0}' contiene caratteri non validi.
-
+ Elemento di distribuzione non valido: la directory di output '{1}' o il percorso specificato '{0}' contiene caratteri non validi.
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
- Elemento di distribuzione non valido: la directory di output non può essere Null.
-
+ Elemento di distribuzione non valido: la directory di output non può essere Null.
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
- Elemento di distribuzione non valido: la directory di output specificata '{0}' non è relativa.
-
+ Elemento di distribuzione non valido: la directory di output specificata '{0}' non è relativa.
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.
@@ -168,107 +163,105 @@ ma ha ricevuto {4} argomenti, con tipi '{5}'.
deployment item '{0}' (output directory '{1}')
- elemento di distribuzione '{0}' (directory di output '{1}')
-
+ elemento di distribuzione '{0}' (directory di output '{1}')
+ {0} is the deployment item path. {1} is the output directory.Discovery failed for source '{0}' with {1} errors:
{2}
- Individuazione non riuscita per l'origine '{0}' con {1} errori:
+ Individuazione non riuscita per l'origine '{0}' con {1} errori:
{2}
-
+ {0} is the source path. {1} is the error count. {2} is the error details.[MSTest][Discovery][{0}] {1}
- [MSTest][Individuazione][{0}] {1}
-
+ [MSTest][Individuazione][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Only one attribute of type '{0}' is allowed, but multiple were found.
- È consentito un solo attributo di tipo '{0}', ma ne sono stati trovati diversi.
-
+ È consentito un solo attributo di tipo '{0}', ma ne sono stati trovati diversi.
+ {0} is the attribute type name.Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
- Sono stati rilevati sia i file '.runsettings' sia '.testconfig.json'. Selezionare solo uno di questi file di configurazione di test.
-
+ Sono stati rilevati sia i file '.runsettings' sia '.testconfig.json'. Selezionare solo uno di questi file di configurazione di test.
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- "{0}": (non è stato possibile ottenere la descrizione dell'eccezione a causa di un'eccezione di tipo "{1}".
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ "{0}": (non è stato possibile ottenere la descrizione dell'eccezione a causa di un'eccezione di tipo "{1}".
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
- Il test '{0}' è stato annullato
-
+ Il test '{0}' è stato annullato
+ {0} is the test name.Test '{0}' timed out after {1}ms
- Timeout del test '{0}' dopo {1} ms
-
+ Timeout del test '{0}' dopo {1} ms
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- Il recupero degli attributi personalizzati per il tipo {0} ha generato un'eccezione (verrà ignorata e verrà usata la modalità reflection): {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ Il recupero degli attributi personalizzati per il tipo {0} ha generato un'eccezione (verrà ignorata e verrà usata la modalità reflection): {1}
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
- Non è possibile dedurre il tipo del parametro generico '{0}'.
-
+ Non è possibile dedurre il tipo del parametro generico '{0}'.
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
- Il metodo di test generico '{0}' non ha argomenti, quindi non è possibile dedurre il parametro generico.
-
+ Il metodo di test generico '{0}' non ha argomenti, quindi non è possibile dedurre il parametro generico.
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- Sono stati trovati due tipi in conflitto per il parametro generico '{0}'. I tipi in conflitto sono '{1}' e '{2}'.
-
+ Sono stati trovati due tipi in conflitto per il parametro generico '{0}'. I tipi in conflitto sono '{1}' e '{2}'.
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- Il valore '{0}', specificato per 'Scope', non è valido. I valori supportati per Scope sono {1}.
- {Locked="Scope"}
+ Il valore '{0}', specificato per 'Scope', non è valido. I valori supportati per Scope sono {1}.
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- Il valore '{0}', specificato per 'Workers', non è valido. Il valore deve essere un numero intero non negativo.
- {Locked="Workers"}
+ Il valore '{0}', specificato per 'Workers', non è valido. Il valore deve essere un numero intero non negativo.
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
- Le impostazioni '{0}' non sono valide. Elemento XmlAttribute imprevisto: '{1}'.
-
+ Le impostazioni '{0}' non sono valide. Elemento XmlAttribute imprevisto: '{1}'.
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
- MSTestAdapter ha rilevato un elemento imprevisto '{0}' nelle impostazioni '{1}'. Rimuovere l'elemento e riprovare.
-
+ MSTestAdapter ha rilevato un elemento imprevisto '{0}' nelle impostazioni '{1}'. Rimuovere l'elemento e riprovare.
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
- Valore non valido '{0}' per la voce runsettings '{1}'. L'impostazione verrà ignorata.
-
+ Valore non valido '{0}' per la voce runsettings '{1}'. L'impostazione verrà ignorata.
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
- Problema di distribuzione dell'esecuzione dei test: l'assembly o il modulo '{0}' non è stato trovato. Motivo: {1}
-
+ Problema di distribuzione dell'esecuzione dei test: l'assembly o il modulo '{0}' non è stato trovato. Motivo: {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
- Problema di distribuzione dell'esecuzione dei test: l'assembly o il modulo '{0}' non è stato trovato.
-
+ Problema di distribuzione dell'esecuzione dei test: l'assembly o il modulo '{0}' non è stato trovato.
+ {0} is the assembly or module name.An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
- Nell'assembly è caricata una versione precedente del pacchetto MSTestV2. L'individuazione dei test potrebbe non riuscire a individuare tutti i test dei dati se dipendono dal file '.runsettings'.
-
+ Nell'assembly è caricata una versione precedente del pacchetto MSTestV2. L'individuazione dei test potrebbe non riuscire a individuare tutti i test dei dati se dipendono dal file '.runsettings'.
+ {Locked="MSTestV2"}{Locked=".runsettings"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -277,13 +270,13 @@ ma ha ricevuto {4} argomenti, con tipi '{5}'.
Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- Ordine di test casuale abilitato (Seed: {0}). Imposta 'RandomTestOrderSeed' per riprodurre questo ordine.
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ Ordine di test casuale abilitato (Seed: {0}). Imposta 'RandomTestOrderSeed' per riprodurre questo ordine.
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
- La voce Runsettings '<ExecutionApartmentState>STA</ExecutionApartmentState>' non è supportata nei sistemi operativi non Windows.
-
+ La voce Runsettings '<ExecutionApartmentState>STA</ExecutionApartmentState>' non è supportata nei sistemi operativi non Windows.
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}Running tests in any of the provided sources is not supported for the selected platform
@@ -292,108 +285,108 @@ ma ha ricevuto {4} argomenti, con tipi '{5}'.
File does not exist: {0}
- Il file {0} non esiste
-
+ Il file {0} non esiste
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
- Time out del metodo di pulizia della classe dei test '{0}. Time out di {1}' dopo {2} ms
-
+ Time out del metodo di pulizia della classe dei test '{0}. Time out di {1}' dopo {2} ms
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
- Il metodo di pulizia del test "{0}.{1}" è stato annullato
-
+ Il metodo di pulizia del test "{0}.{1}" è stato annullato
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
- Messaggi di TestContext:
-
+ Messaggi di TestContext:
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
- Metodo di inizializzazione del test '{0}. Timeout di {1}' dopo {2} ms
-
+ Metodo di inizializzazione del test '{0}. Timeout di {1}' dopo {2} ms
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
- Il metodo di inizializzazione del test "{0}.{1}" è stato annullato
-
+ Il metodo di inizializzazione del test "{0}.{1}" è stato annullato
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
- Il metodo di test {0} non è stato trovato.
-
+ Il metodo di test {0} non è stato trovato.
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- Parallelizzazione test abilitata per {0} (Workers: {1}. Scope: {2})
- {Locked="Workers"}{Locked="Scope"}
+ Parallelizzazione test abilitata per {0} (Workers: {1}. Scope: {2})
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}{0}_{1} {2}
- {0}_{1} {2}
-
+ {0}_{1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
- Il metodo di pulizia assembly {0}.{1} non è riuscito. Messaggio di errore: {2}. Analisi dello stack: {3}
-
+ Il metodo di pulizia assembly {0}.{1} non è riuscito. Messaggio di errore: {2}. Analisi dello stack: {3}
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
- UTA070: il tipo '{0}' a cui fa riferimento [AssemblyFixtureProvider] non deve essere generico.
-
+ UTA070: il tipo '{0}' a cui fa riferimento [AssemblyFixtureProvider] non deve essere generico.
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
- UTA071: non è possibile enumerare i metodi sul tipo '{0}' a cui [AssemblyFixtureProvider] fa riferimento. {1}
-
+ UTA071: non è possibile enumerare i metodi sul tipo '{0}' a cui [AssemblyFixtureProvider] fa riferimento. {1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
- UTA072: non è possibile caricare l'indicatore [AssemblyFixtureProvider] dall'assembly '{0}'. {1}
-
+ UTA072: non è possibile caricare l'indicatore [AssemblyFixtureProvider] dall'assembly '{0}'. {1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
- Il metodo di inizializzazione assembly {0}.{1} ha generato un'eccezione. {2}: {3}. L'esecuzione del test verrà interrotta.
-
+ Il metodo di inizializzazione assembly {0}.{1} ha generato un'eccezione. {2}: {3}. L'esecuzione del test verrà interrotta.
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
- Il metodo di pulizia classi {0}.{1} non è riuscito. Messaggio di errore: {2}. Analisi dello stack: {3}
-
+ Il metodo di pulizia classi {0}.{1} non è riuscito. Messaggio di errore: {2}. Analisi dello stack: {3}
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
- Il metodo di inizializzazione classi {0}.{1} ha generato un'eccezione. {2}: {3}.
-
+ Il metodo di inizializzazione classi {0}.{1} ha generato un'eccezione. {2}: {3}.
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- La firma del metodo {0}.{1}non è corretta. Il metodo deve essere statico e pubblico, non deve restituire un valore né accettare parametri. Se inoltre si usa async-await nel metodo di test, il tipo restituito deve essere 'Task' o 'ValueTask'.
-
+ La firma del metodo {0}.{1}non è corretta. Il metodo deve essere statico e pubblico, non deve restituire un valore né accettare parametri. Se inoltre si usa async-await nel metodo di test, il tipo restituito deve essere 'Task' o 'ValueTask'.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- La firma del metodo {0}.{1}non è corretta. Il metodo deve essere statico e pubblico, non deve restituire un valore e deve accettare un singolo parametro di tipo TestContext. Se inoltre si usa async-await nel metodo di test, il tipo restituito deve essere 'Task' o 'ValueTask'.
-
+ La firma del metodo {0}.{1}non è corretta. Il metodo deve essere statico e pubblico, non deve restituire un valore e deve accettare un singolo parametro di tipo TestContext. Se inoltre si usa async-await nel metodo di test, il tipo restituito deve essere 'Task' o 'ValueTask'.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
- Il metodo TestCleanup {0}.{1} ha generato un'eccezione. {2}.
-
+ Il metodo TestCleanup {0}.{1} ha generato un'eccezione. {2}.
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
- Si è verificato un errore durante la chiamata del metodo TestCleanup per la classe di test {0}: {1}
-
+ Si è verificato un errore durante la chiamata del metodo TestCleanup per la classe di test {0}: {1}
+ {0} is the test class name. {1} is the exception message.Data source '{0}' cannot be found in the test configuration settings
- L'origine dati '{0}' non è stata trovata nelle impostazioni della configurazione di test
-
+ L'origine dati '{0}' non è stata trovata nelle impostazioni della configurazione di test
+ {0} is the data source name.--- End of inner exception stack trace ---
@@ -402,162 +395,162 @@ ma ha ricevuto {4} argomenti, con tipi '{5}'.
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
- L'adattatore di unit test non è riuscito a connettersi all'origine dati o a leggere i dati. Per altre informazioni sulla risoluzione di questo errore, vedere "Risoluzione dei problemi relativi a unit test basati su dati" (http://go.microsoft.com/fwlink/?LinkId=62412) in MSDN Library. Dettagli errore: {0}
-
+ L'adattatore di unit test non è riuscito a connettersi all'origine dati o a leggere i dati. Per altre informazioni sulla risoluzione di questo errore, vedere "Risoluzione dei problemi relativi a unit test basati su dati" (http://go.microsoft.com/fwlink/?LinkId=62412) in MSDN Library. Dettagli errore: {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
- UTA031: la classe {0} non dispone di una proprietà TestContext valida. La proprietà TestContext deve essere di tipo TestContext, non deve essere statica e deve essere pubblica. Ad esempio: public TestContext TestContext.
-
+ UTA031: la classe {0} non dispone di una proprietà TestContext valida. La proprietà TestContext deve essere di tipo TestContext, non deve essere statica e deve essere pubblica. Ad esempio: public TestContext TestContext.
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
- UTA007: la firma del metodo {1} definito nella classe {0} non è corretta. Il metodo di test contrassegnato con l'attributo [TestMethod] deve essere pubblico e non statico, non deve accettare parametri e deve includere un tipo restituito void. Esempio: public void Test.Class1.Test(). Se inoltre nel metodo di test si usa async-await, il tipo restituito deve essere 'Task' o 'ValueTask'. Esempio: public async Task Test.Class1.Test2()
-
+ UTA007: la firma del metodo {1} definito nella classe {0} non è corretta. Il metodo di test contrassegnato con l'attributo [TestMethod] deve essere pubblico e non statico, non deve accettare parametri e deve includere un tipo restituito void. Esempio: public void Test.Class1.Test(). Se inoltre nel metodo di test si usa async-await, il tipo restituito deve essere 'Task' o 'ValueTask'. Esempio: public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
- UTA054: {0}.{1} ha un attributo Timeout non valido. Il timeout deve essere un valore intero maggiore di 0.
-
+ UTA054: {0}.{1} ha un attributo Timeout non valido. Il timeout deve essere un valore intero maggiore di 0.
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
- UTA014: {0}: non è possibile definire più di un metodo con l'attributo AssemblyCleanup all'interno di un assembly.
-
+ UTA014: {0}: non è possibile definire più di un metodo con l'attributo AssemblyCleanup all'interno di un assembly.
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
- UTA013: {0}: non è possibile definire più di un metodo con l'attributo AssemblyInitialize all'interno di un assembly.
-
+ UTA013: {0}: non è possibile definire più di un metodo con l'attributo AssemblyInitialize all'interno di un assembly.
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
- UTA026: {0}: non è possibile definire più di un metodo con l'attributo ClassCleanup all'interno di una classe.
-
+ UTA026: {0}: non è possibile definire più di un metodo con l'attributo ClassCleanup all'interno di una classe.
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
- UTA025: {0}: non è possibile definire più di un metodo con l'attributo ClassInitialize all'interno di una classe.
-
+ UTA025: {0}: non è possibile definire più di un metodo con l'attributo ClassInitialize all'interno di una classe.
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
- UTA024: {0}: non è possibile definire più di un metodo con l'attributo TestCleanup.
-
+ UTA024: {0}: non è possibile definire più di un metodo con l'attributo TestCleanup.
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
- UTA018: {0}: non è possibile definire più di un metodo con l'attributo TestInitialize.
-
+ UTA018: {0}: non è possibile definire più di un metodo con l'attributo TestInitialize.
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
- UTA001: è stato definito l'attributo TestClass per la classe non pubblica {0}
-
+ UTA001: è stato definito l'attributo TestClass per la classe non pubblica {0}
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
- Attributo TestClass definito nella classe generica non astratta {0}
-
+ Attributo TestClass definito nella classe generica non astratta {0}
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
- Un'eccezione non gestita è stata generata dal metodo 'Execute'. Segnalare questo errore all'autore dell'attributo '{0}'.
+ Un'eccezione non gestita è stata generata dal metodo 'Execute'. Segnalare questo errore all'autore dell'attributo '{0}'.
{1}
-
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
- Non è stato possibile ottenere l'eccezione generata dal metodo di test {0}.{1}.
-
+ Non è stato possibile ottenere l'eccezione generata dal metodo di test {0}.{1}.
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
- Il metodo di inizializzazione {0}.{1} ha generato un'eccezione. {2}.
-
+ Il metodo di inizializzazione {0}.{1} ha generato un'eccezione. {2}.
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
- Non è possibile creare un'istanza della classe {0}. Errore: {1}.
-
+ Non è possibile creare un'istanza della classe {0}. Errore: {1}.
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
- Il metodo {0}.{1} non esiste.
-
+ Il metodo {0}.{1} non esiste.
+ {0} is the declaring type name. {1} is the method name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
- La classe di test "{0}" contiene più attributi derivati da "{1}" definiti in essa. È consentito solo uno di tali attributi.
-
+ La classe di test "{0}" contiene più attributi derivati da "{1}" definiti in essa. È consentito solo uno di tali attributi.
+ {0} is the test class name. {1} is the attribute base type name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
- Il metodo di test '{0}.{1}' contiene più attributi derivati da '{2}' definito in esso. È consentito solo uno di tali attributi.
-
+ Il metodo di test '{0}.{1}' contiene più attributi derivati da '{2}' definito in esso. È consentito solo uno di tali attributi.
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
- Si è verificato un errore durante l'esecuzione del test. L'estensione non ha restituito alcun risultato. Se si usa l'estensione di TestMethodAttribute, contattare il fornitore.
-
+ Si è verificato un errore durante l'esecuzione del test. L'estensione non ha restituito alcun risultato. Se si usa l'estensione di TestMethodAttribute, contattare il fornitore.
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- Impossibile trovare un costruttore valido per la classe di test '{0}'. I costruttori validi sono 'public' e senza parametri o con un parametro di tipo 'TestContext'.
-
+ Impossibile trovare un costruttore valido per la classe di test '{0}'. I costruttori validi sono 'public' e senza parametri o con un parametro di tipo 'TestContext'.
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
- La proprietà {0}.TestContext non è stata trovata. Errore: {1}.
-
+ La proprietà {0}.TestContext non è stata trovata. Errore: {1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
- Non è possibile impostare la proprietà TestContext per la classe {0}. Errore: {1}.
-
+ Non è possibile impostare la proprietà TestContext per la classe {0}. Errore: {1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
- Il tipo di {0}.TestContext non è corretto.
-
+ Il tipo di {0}.TestContext non è corretto.
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- La firma del metodo {0}.{1}non è corretta. Il metodo deve essere non statico e pubblico, non deve restituire un valore né accettare parametri. Se inoltre si usa async-await nel metodo di test, il tipo restituito deve essere 'Task' o 'ValueTask'.
-
+ La firma del metodo {0}.{1}non è corretta. Il metodo deve essere non statico e pubblico, non deve restituire un valore né accettare parametri. Se inoltre si usa async-await nel metodo di test, il tipo restituito deve essere 'Task' o 'ValueTask'.
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
- Il metodo di test {0}.{1} ha generato un'eccezione:
+ Il metodo di test {0}.{1} ha generato un'eccezione:
{2}
-
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
- Non è possibile ottenere il tipo {0}. Errore: {1}.
-
+ Non è possibile ottenere il tipo {0}. Errore: {1}.
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
- Il codice chiamato ha generato un'eccezione che è stata rilevata, ma il valore dell'eccezione è Null
-
+ Il codice chiamato ha generato un'eccezione che è stata rilevata, ma il valore dell'eccezione è Null
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
- {0}. Se, per i progetti della piattaforma UWP, nel test si usano oggetti dell'interfaccia utente, provare a specificare l'attributo [UITestMethod] invece di [TestMethod] per eseguire il test nel thread di UI.
-
+ {0}. Se, per i progetti della piattaforma UWP, nel test si usano oggetti dell'interfaccia utente, provare a specificare l'attributo [UITestMethod] invece di [TestMethod] per eseguire il test nel thread di UI.
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
- Non è stato possibile ottenere il messaggio per un'eccezione di tipo {0} a causa di un'eccezione.
-
+ Non è stato possibile ottenere il messaggio per un'eccezione di tipo {0} a causa di un'eccezione.
+ {0} is the exception type name.'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
- 'MSTest.TestAdapter' e 'MSTest.TestFramework' devono avere la stessa versione. Trovato 'MSTest.TestAdapter' versione '{0}' e 'MSTest.TestFramework' versione '{1}'. Assicurarsi che le versioni dei pacchetti NuGet 'MSTest.TestAdapter' e 'MSTest.TestFramework' siano identiche.
-
+ 'MSTest.TestAdapter' e 'MSTest.TestFramework' devono avere la stessa versione. Trovato 'MSTest.TestAdapter' versione '{0}' e 'MSTest.TestFramework' versione '{1}'. Assicurarsi che le versioni dei pacchetti NuGet 'MSTest.TestAdapter' e 'MSTest.TestFramework' siano identiche.
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Wrong number of objects for permutation. Should be greater than zero.
@@ -566,8 +559,8 @@ ma ha ricevuto {4} argomenti, con tipi '{5}'.
Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
- Avviso: il metodo di test '{0}.{1}' contiene parametri 'out' o 'ref' non supportati che potrebbero non essere consentiti in una versione futura di MSTest.
-
+ Avviso: il metodo di test '{0}.{1}' contiene parametri 'out' o 'ref' non supportati che potrebbero non essere consentiti in una versione futura di MSTest.
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}
diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.ja.xlf b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.ja.xlf
index a849fd11cc..baeec46d16 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.ja.xlf
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.ja.xlf
@@ -4,103 +4,98 @@
Assembly cleanup method '{0}.{1}' timed out after {2}ms
- アセンブリ クリーンアップ メソッド '{0}.{1}' が {2}ms 後にタイムアウトしました
-
+ アセンブリ クリーンアップ メソッド '{0}.{1}' が {2}ms 後にタイムアウトしました
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
- アセンブリ クリーンアップ メソッド '{0}.{1}' が取り消されました
-
+ アセンブリ クリーンアップ メソッド '{0}.{1}' が取り消されました
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
- アセンブリ初期化メソッド '{0}.{1}' が {2}ms 後にタイムアウトになりました
-
+ アセンブリ初期化メソッド '{0}.{1}' が {2}ms 後にタイムアウトになりました
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
- アセンブリ初期化メソッド '{0}.{1}' が取り消されました
-
+ アセンブリ初期化メソッド '{0}.{1}' が取り消されました
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
- MSTestAdapterV2
-
+ MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- "{0}.{1}" で IDataSource 属性を列挙中に例外が発生しました: {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ "{0}.{1}" で IDataSource 属性を列挙中に例外が発生しました: {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- "{0}.{1}" の属性から IDataSource 行を展開中に例外が発生しました: {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ "{0}.{1}" の属性から IDataSource 行を展開中に例外が発生しました: {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- "{1}" のインデックス {0} のデータをシリアル化できません。"IDataSource" を介して提供されるすべてのデータはシリアル化可能である必要があります。シリアル化できないデータ ソースをテストする必要がある場合は、テスト アセンブリに "TestDataSourceDiscovery" 属性を追加し、検出オプションを "DuringExecution" に設定してください。
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ "{1}" のインデックス {0} のデータをシリアル化できません。"IDataSource" を介して提供されるすべてのデータはシリアル化可能である必要があります。シリアル化できないデータ ソースをテストする必要がある場合は、テスト アセンブリに "TestDataSourceDiscovery" 属性を追加し、検出オプションを "DuringExecution" に設定してください。
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Could not find file '{0}'.
- ファイル '{0}' が見つかりませんでした。
-
+ ファイル '{0}' が見つかりませんでした。
+ {0} is the file path.Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
- テスト メソッド '{0}.{1}' を実行できません: テスト データがメソッド パラメーターと一致しません。カウントまたは型が異なります。
+ テスト メソッド '{0}.{1}' を実行できません: テスト データがメソッド パラメーターと一致しません。カウントまたは型が異なります。
型 '{3}'、
を持つ、予期された {2} パラメーターをテストします
ただし、型 '{5}' の引数 {4} を受け取りました。
-
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
- テスト メソッド '{0} を実行できません。{1}': メソッドにはパラメーターがありますが、テスト ソースは定義されていません。'[DataRow]'、'[DynamicData]'、カスタムの 'ITestDataSource' データ ソースを使用して、テスト データを提供します。
-
+ テスト メソッド '{0} を実行できません。{1}': メソッドにはパラメーターがありますが、テスト ソースは定義されていません。'[DataRow]'、'[DynamicData]'、カスタムの 'ITestDataSource' データ ソースを使用して、テスト データを提供します。
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
- クラス クリーンアップ メソッド '{0}.{1}' が {2}ms 後にタイムアウトしました
-
+ クラス クリーンアップ メソッド '{0}.{1}' が {2}ms 後にタイムアウトしました
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
- クラス クリーンアップ メソッド '{0}.{1}' が取り消されました
-
+ クラス クリーンアップ メソッド '{0}.{1}' が取り消されました
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
- クラス初期化メソッド '{0}.{1}' が {2}ms 後にタイムアウトになりました
-
+ クラス初期化メソッド '{0}.{1}' が {2}ms 後にタイムアウトになりました
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
- クラス初期化メソッド '{0}.{1}' が取り消されました
-
+ クラス初期化メソッド '{0}.{1}' が取り消されました
+ {0} is the type name. {1} is the class initialize method name.The parameter should not be null or empty.
- パラメーターを null または空にすることはできません。
-
+ パラメーターを null または空にすることはできません。
+ {Locked="null"}MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
- MSTestAdapter でアセンブリ '{1}' のクラス '{0}' にテストが見つかりませんでした。理由 {2}。
-
+ MSTestAdapter でアセンブリ '{1}' のクラス '{0}' にテストが見つかりませんでした。理由 {2}。
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
- {0} (データ行 {1})
-
+ {0} (データ行 {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:
@@ -109,58 +104,58 @@ but received {4} argument(s), with types '{5}'.
Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
- テストの実行の配置問題です: 配置項目が正しくありません: '{0}': 出力ディレクトリ '{1}' は、項目が配置ルート ディレクトリ外に配置されるように指定していますが、それは許可されません。
-
+ テストの実行の配置問題です: 配置項目が正しくありません: '{0}': 出力ディレクトリ '{1}' は、項目が配置ルート ディレクトリ外に配置されるように指定していますが、それは許可されません。
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
- テストの実行の配置問題です: 配置項目 '{0}' によって指定された出力ディレクトリ '{1}' にアクセスできません。項目は配置されません: {2}: {3}
-
+ テストの実行の配置問題です: 配置項目 '{0}' によって指定された出力ディレクトリ '{1}' にアクセスできません。項目は配置されません: {2}: {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
- テストの実行の配置問題です: ファイル '{0}' にアクセスできませんでした: {1}: {2}
-
+ テストの実行の配置問題です: ファイル '{0}' にアクセスできませんでした: {1}: {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
- テストの実行の配置問題です: ファイル '{0}' を '{1}' にコピーできませんでした: {2}: {3}
-
+ テストの実行の配置問題です: ファイル '{0}' を '{1}' にコピーできませんでした: {2}: {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
- テストの実行の配置問題です: テスト ストレージ '{0}' の依存関係を配置できませんでした: {1}
-
+ テストの実行の配置問題です: テスト ストレージ '{0}' の依存関係を配置できませんでした: {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
- テストの実行の配置問題です: {0} のファイルを取得できませんでした: {1}: {2}
-
+ テストの実行の配置問題です: {0} のファイルを取得できませんでした: {1}: {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
- テストの実行の配置問題です: {0} のサテライト アセンブリを取得中にエラーが発生しました: {1}: {2}
-
+ テストの実行の配置問題です: {0} のサテライト アセンブリを取得中にエラーが発生しました: {1}: {2}
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
- 配置項目 '{0}'
-
+ 配置項目 '{0}'
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
- 無効な配置項目です: 指定されたパス '{0}' または出力ディレクトリ '{1}' に使用できない文字が含まれています。
-
+ 無効な配置項目です: 指定されたパス '{0}' または出力ディレクトリ '{1}' に使用できない文字が含まれています。
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
- 無効な配置項目です: 出力ディレクトリを null にすることはできません。
-
+ 無効な配置項目です: 出力ディレクトリを null にすることはできません。
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
- 無効な配置項目です: 指定された出力ディレクトリ '{0}' は相対ではありません。
-
+ 無効な配置項目です: 指定された出力ディレクトリ '{0}' は相対ではありません。
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.
@@ -169,107 +164,105 @@ but received {4} argument(s), with types '{5}'.
deployment item '{0}' (output directory '{1}')
- 配置項目 '{0}' (出力ディレクトリ '{1}')
-
+ 配置項目 '{0}' (出力ディレクトリ '{1}')
+ {0} is the deployment item path. {1} is the output directory.Discovery failed for source '{0}' with {1} errors:
{2}
- ソース '{0}' の検出に失敗しました。{1} エラー:
+ ソース '{0}' の検出に失敗しました。{1} エラー:
{2}
-
+ {0} is the source path. {1} is the error count. {2} is the error details.[MSTest][Discovery][{0}] {1}
- [MSTest][Discovery][{0}] {1}
-
+ [MSTest][Discovery][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Only one attribute of type '{0}' is allowed, but multiple were found.
- '{0}' 型の属性は 1 つのみ許可されていますが、複数の属性が見つかりました。
-
+ '{0}' 型の属性は 1 つのみ許可されていますが、複数の属性が見つかりました。
+ {0} is the attribute type name.Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
- '.runsettings' ファイルと '.testconfig.json' ファイルの両方が検出されました。これらのテスト構成ファイルのいずれか 1 つだけを選択してください。
-
+ '.runsettings' ファイルと '.testconfig.json' ファイルの両方が検出されました。これらのテスト構成ファイルのいずれか 1 つだけを選択してください。
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- "{0}": (種類が "{1}"の例外のため、例外の説明を取得できませんでした。
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ "{0}": (種類が "{1}"の例外のため、例外の説明を取得できませんでした。
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
- テスト '{0}' が取り消されました
-
+ テスト '{0}' が取り消されました
+ {0} is the test name.Test '{0}' timed out after {1}ms
- テスト '{0}' が {1} ミリ秒後にタイムアウトしました
-
+ テスト '{0}' が {1} ミリ秒後にタイムアウトしました
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- 型 {0} のカスタム属性を取得中に例外がスローされました (無視してリフレクションの方法を使用します): {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ 型 {0} のカスタム属性を取得中に例外がスローされました (無視してリフレクションの方法を使用します): {1}
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
- ジェネリック パラメーター '{0}' の型を推論できませんでした。
-
+ ジェネリック パラメーター '{0}' の型を推論できませんでした。
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
- ジェネリック テスト メソッド '{0}' に引数がないため、ジェネリック パラメーターを推論できません。
-
+ ジェネリック テスト メソッド '{0}' に引数がないため、ジェネリック パラメーターを推論できません。
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- ジェネリック パラメーター '{0}' に 2 つの競合する型が見つかりました。競合する型は '{1}' および '{2}' です。
-
+ ジェネリック パラメーター '{0}' に 2 つの競合する型が見つかりました。競合する型は '{1}' および '{2}' です。
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- 無効な値 '{0}' が 'Scope' に指定されました。サポートされているスコープは {1} です。
- {Locked="Scope"}
+ 無効な値 '{0}' が 'Scope' に指定されました。サポートされているスコープは {1} です。
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- 無効な値 '{0}' が 'Workers' に指定されました。値は負ではない整数である必要があります。
- {Locked="Workers"}
+ 無効な値 '{0}' が 'Workers' に指定されました。値は負ではない整数である必要があります。
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
- 設定 '{0}' は無効です。予期しない XmlAttribute: '{1}'。
-
+ 設定 '{0}' は無効です。予期しない XmlAttribute: '{1}'。
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
- MSTestAdapter で設定 '{1}' に予期しない要素 '{0}' が見つかりました。この要素を削除して、もう一度お試しください。
-
+ MSTestAdapter で設定 '{1}' に予期しない要素 '{0}' が見つかりました。この要素を削除して、もう一度お試しください。
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
- runsettings エントリ '{1}' の値 '{0}' は無効です。設定は無視されます。
-
+ runsettings エントリ '{1}' の値 '{0}' は無効です。設定は無視されます。
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
- テストの実行の配置問題です: アセンブリまたはモジュール '{0}' が見つかりませんでした。理由: {1}
-
+ テストの実行の配置問題です: アセンブリまたはモジュール '{0}' が見つかりませんでした。理由: {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
- テストの実行の配置問題です: アセンブリまたはモジュール '{0}' が見つかりませんでした。
-
+ テストの実行の配置問題です: アセンブリまたはモジュール '{0}' が見つかりませんでした。
+ {0} is the assembly or module name.An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
- 古いバージョンの MSTestV2 パッケージがアセンブリに読み込まれています。`.runsettings` ファイルに依存している場合、テスト検出ですべてのデータ テストを検出できない可能性があります。
-
+ 古いバージョンの MSTestV2 パッケージがアセンブリに読み込まれています。`.runsettings` ファイルに依存している場合、テスト検出ですべてのデータ テストを検出できない可能性があります。
+ {Locked="MSTestV2"}{Locked=".runsettings"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -278,13 +271,13 @@ but received {4} argument(s), with types '{5}'.
Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- ランダム テスト順序が有効になっています (Seed: {0})。この順序を再現するには、'RandomTestOrderSeed' を設定します。
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ ランダム テスト順序が有効になっています (Seed: {0})。この順序を再現するには、'RandomTestOrderSeed' を設定します。
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
- Runsettings エントリ '<ExecutionApartmentState>STA</ExecutionApartmentState>' は、Windows OS 以外ではサポートされていません。
-
+ Runsettings エントリ '<ExecutionApartmentState>STA</ExecutionApartmentState>' は、Windows OS 以外ではサポートされていません。
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}Running tests in any of the provided sources is not supported for the selected platform
@@ -293,108 +286,108 @@ but received {4} argument(s), with types '{5}'.
File does not exist: {0}
- ファイルが存在しません: {0}
-
+ ファイルが存在しません: {0}
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
- テスト クリーンアップ メソッド '{0}.{1}' が {2}ms 後にタイムアウトしました
-
+ テスト クリーンアップ メソッド '{0}.{1}' が {2}ms 後にタイムアウトしました
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
- テスト クリーンアップ メソッド '{0}.{1}' が取り消されました
-
+ テスト クリーンアップ メソッド '{0}.{1}' が取り消されました
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
- TestContext メッセージ:
-
+ TestContext メッセージ:
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
- テスト初期化メソッド '{0}.{1}' が {2}ms 後にタイムアウトになりました
-
+ テスト初期化メソッド '{0}.{1}' が {2}ms 後にタイムアウトになりました
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
- テスト初期化メソッド '{0}.{1}' が取り消されました
-
+ テスト初期化メソッド '{0}.{1}' が取り消されました
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
- テスト メソッド {0} が見つかりませんでした。
-
+ テスト メソッド {0} が見つかりませんでした。
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- {0} でテスト並列処理が有効にされています (Workers: {1}、Scope: {2})。
- {Locked="Workers"}{Locked="Scope"}
+ {0} でテスト並列処理が有効にされています (Workers: {1}、Scope: {2})。
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}{0}_{1} {2}
- {0}_{1} {2}
-
+ {0}_{1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
- アセンブリ クリーンアップ メソッド {0}.{1} に失敗しました。エラー メッセージ: {2}。スタック トレース: {3}
-
+ アセンブリ クリーンアップ メソッド {0}.{1} に失敗しました。エラー メッセージ: {2}。スタック トレース: {3}
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
- UTA070: [AssemblyFixtureProvider] で参照される型 '{0}' はジェネリックにできません。
-
+ UTA070: [AssemblyFixtureProvider] で参照される型 '{0}' はジェネリックにできません。
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
- UTA071: [AssemblyFixtureProvider] で参照される型 '{0}' のメソッドを列挙できませんでした。 {1}
-
+ UTA071: [AssemblyFixtureProvider] で参照される型 '{0}' のメソッドを列挙できませんでした。 {1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
- UTA072: アセンブリ '{0}' から [AssemblyFixtureProvider] マーカーを読み込めませんでした。 {1}
-
+ UTA072: アセンブリ '{0}' から [AssemblyFixtureProvider] マーカーを読み込めませんでした。 {1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
- アセンブリ初期化メソッド {0}.{1} は例外をスローしました。{2}: {3}。テストの実行を中止しています。
-
+ アセンブリ初期化メソッド {0}.{1} は例外をスローしました。{2}: {3}。テストの実行を中止しています。
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
- クラス クリーンアップ メソッド {0}.{1} に失敗しました。エラー メッセージ: {2}。スタック トレース: {3}
-
+ クラス クリーンアップ メソッド {0}.{1} に失敗しました。エラー メッセージ: {2}。スタック トレース: {3}
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
- クラス初期化メソッド {0}.{1} は例外をスローしました。{2}: {3}。
-
+ クラス初期化メソッド {0}.{1} は例外をスローしました。{2}: {3}。
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- メソッド {0}。{1} は不適切なシグネチャを含んでいます。メソッドは static および public である必要があり、値を返しません。また、パラメーターを受け取ることはできません。また、メソッドで async-await を使用している場合、戻り値の型は 'Task' または 'ValueTask' である必要があります。
-
+ メソッド {0}。{1} は不適切なシグネチャを含んでいます。メソッドは static および public である必要があり、値を返しません。また、パラメーターを受け取ることはできません。また、メソッドで async-await を使用している場合、戻り値の型は 'Task' または 'ValueTask' である必要があります。
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- メソッド {0}。{1} は不適切なシグネチャを含んでいます。メソッドは static および public である必要があり、値を返しません。また、TestContext 型の 1 つのパラメーターを受け取る必要があります。また、メソッドで async-await を使用している場合、戻り値の型は 'Task' または 'ValueTask' である必要があります。
-
+ メソッド {0}。{1} は不適切なシグネチャを含んでいます。メソッドは static および public である必要があり、値を返しません。また、TestContext 型の 1 つのパラメーターを受け取る必要があります。また、メソッドで async-await を使用している場合、戻り値の型は 'Task' または 'ValueTask' である必要があります。
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
- TestCleanup メソッド {0}.{1} は例外をスローしました。{2}。
-
+ TestCleanup メソッド {0}.{1} は例外をスローしました。{2}。
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
- テスト クラス {0} のテスト クリーンアップ メソッドの呼び出しでエラーが発生しました: {1}
-
+ テスト クラス {0} のテスト クリーンアップ メソッドの呼び出しでエラーが発生しました: {1}
+ {0} is the test class name. {1} is the exception message.Data source '{0}' cannot be found in the test configuration settings
- データ ソース '{0}' がテスト構成の設定に見つかりません
-
+ データ ソース '{0}' がテスト構成の設定に見つかりません
+ {0} is the data source name.--- End of inner exception stack trace ---
@@ -403,162 +396,162 @@ but received {4} argument(s), with types '{5}'.
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
- 単体テスト アダプターがデータ ソースに接続できなかったか、データを読み取れませんでした。このエラーのトラブルシューティングの詳細については、MSDN ライブラリの「方法: データ ドリブン単体テストを作成する」(http://go.microsoft.com/fwlink/?LinkId=62412) をご覧ください。エラーの詳細: {0}
-
+ 単体テスト アダプターがデータ ソースに接続できなかったか、データを読み取れませんでした。このエラーのトラブルシューティングの詳細については、MSDN ライブラリの「方法: データ ドリブン単体テストを作成する」(http://go.microsoft.com/fwlink/?LinkId=62412) をご覧ください。エラーの詳細: {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
- UTA031: クラス {0} に有効な TestContext プロパティがありません。TestContext は TestContext 型で、非静的である必要があり、public である必要があります。たとえば、public TestContext TestContext です。
-
+ UTA031: クラス {0} に有効な TestContext プロパティがありません。TestContext は TestContext 型で、非静的である必要があり、public である必要があります。たとえば、public TestContext TestContext です。
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
- UTA007: クラス {0} で定義されているメソッド {1} に適切なシグネチャが含まれていません。[TestMethod] 属性でマークされたテスト メソッドは、non-static および public である必要があり、戻り値の型は void である必要があります。また、パラメーターを受け取ることはできません。例: public void Test.Class1.Test()。また、テスト メソッドで async-await を使用している場合、戻り値の型は 'Task' または 'ValueTask' である必要があります。例: public async Task Test.Class1.Test2()
-
+ UTA007: クラス {0} で定義されているメソッド {1} に適切なシグネチャが含まれていません。[TestMethod] 属性でマークされたテスト メソッドは、non-static および public である必要があり、戻り値の型は void である必要があります。また、パラメーターを受け取ることはできません。例: public void Test.Class1.Test()。また、テスト メソッドで async-await を使用している場合、戻り値の型は 'Task' または 'ValueTask' である必要があります。例: public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
- UTA054: {0}。{1} に無効な Timeout 属性があります。タイムアウトには、0 より大きい整数値を指定する必要があります。
-
+ UTA054: {0}。{1} に無効な Timeout 属性があります。タイムアウトには、0 より大きい整数値を指定する必要があります。
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
- UTA014: {0}: 1 つのアセンブリ内で、AssemblyCleanup 属性を伴う 2 つ以上のメソッドを定義することはできません。
-
+ UTA014: {0}: 1 つのアセンブリ内で、AssemblyCleanup 属性を伴う 2 つ以上のメソッドを定義することはできません。
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
- UTA013: {0}: 1 つのアセンブリ内で、AssemblyInitialize 属性を伴う 2 つ以上のメソッドを定義することはできません。
-
+ UTA013: {0}: 1 つのアセンブリ内で、AssemblyInitialize 属性を伴う 2 つ以上のメソッドを定義することはできません。
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
- UTA026: {0}: 1 つのクラス内で、ClassCleanup 属性を伴う 2 つ以上のメソッドを定義することはできません。
-
+ UTA026: {0}: 1 つのクラス内で、ClassCleanup 属性を伴う 2 つ以上のメソッドを定義することはできません。
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
- UTA025: {0}: 1 つのクラス内で、ClassInitialize 属性を伴う 2 つ以上のメソッドを定義することはできません。
-
+ UTA025: {0}: 1 つのクラス内で、ClassInitialize 属性を伴う 2 つ以上のメソッドを定義することはできません。
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
- UTA024: {0}: TestCleanup 属性を伴う 2 つ以上のメソッドを定義することはできません。
-
+ UTA024: {0}: TestCleanup 属性を伴う 2 つ以上のメソッドを定義することはできません。
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
- UTA018: {0}: TestInitialize 属性を伴う 2 つ以上のメソッドを定義することはできません。
-
+ UTA018: {0}: TestInitialize 属性を伴う 2 つ以上のメソッドを定義することはできません。
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
- UTA001: TestClass 属性がパブリックでないクラス {0} で定義されています
-
+ UTA001: TestClass 属性がパブリックでないクラス {0} で定義されています
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
- 汎用の非抽象クラス {0}で定義された TestClass 属性
-
+ 汎用の非抽象クラス {0}で定義された TestClass 属性
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
- 'Execute' メソッドによってハンドルされない例外がスローされました。属性 '{0}' の作成者にこのエラーを報告してください。
+ 'Execute' メソッドによってハンドルされない例外がスローされました。属性 '{0}' の作成者にこのエラーを報告してください。
{1}
-
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
- テスト メソッド {0}.{1} によってスローされた例外を取得できませんでした。
-
+ テスト メソッド {0}.{1} によってスローされた例外を取得できませんでした。
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
- 初期化メソッド {0}.{1} は例外をスローしました。{2}。
-
+ 初期化メソッド {0}.{1} は例外をスローしました。{2}。
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
- クラス {0} のインスタンスを作成できません。エラー: {1}。
-
+ クラス {0} のインスタンスを作成できません。エラー: {1}。
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
- メソッド {0}.{1} は存在しません。
-
+ メソッド {0}.{1} は存在しません。
+ {0} is the declaring type name. {1} is the method name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
- テスト クラス '{0}' には、 '{1}' から派生した属性が複数定義されています。このような属性は 1 つしか許可されません。
-
+ テスト クラス '{0}' には、 '{1}' から派生した属性が複数定義されています。このような属性は 1 つしか許可されません。
+ {0} is the test class name. {1} is the attribute base type name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
- テスト メソッド '{0}.{1}' には、 '{2}' から派生した属性が複数定義されています。このような属性は 1 つしか許可されません。
-
+ テスト メソッド '{0}.{1}' には、 '{2}' から派生した属性が複数定義されています。このような属性は 1 つしか許可されません。
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
- テストの実行中にエラーが発生しました。拡張から結果が返されませんでした。TestMethodAttribute の拡張クラスを使用している場合は、ベンダーに連絡してください。
-
+ テストの実行中にエラーが発生しました。拡張から結果が返されませんでした。TestMethodAttribute の拡張クラスを使用している場合は、ベンダーに連絡してください。
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- テスト クラス '{0}' の有効なコンストラクターが見つかりません。有効なコンストラクターは、'public' で、パラメーターがないもの、または 'TestContext' 型のパラメーター 1 個を取るものです。
-
+ テスト クラス '{0}' の有効なコンストラクターが見つかりません。有効なコンストラクターは、'public' で、パラメーターがないもの、または 'TestContext' 型のパラメーター 1 個を取るものです。
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
- プロパティ {0}.TestContext が見つかりません。エラー: {1}。
-
+ プロパティ {0}.TestContext が見つかりません。エラー: {1}。
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
- クラス {0} の TestContext プロパティを設定できません。エラー: {1}。
-
+ クラス {0} の TestContext プロパティを設定できません。エラー: {1}。
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
- {0}.TestContext は不適切な型を含んでいます。
-
+ {0}.TestContext は不適切な型を含んでいます。
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- メソッド {0}。{1} は不適切なシグネチャを含んでいます。メソッドは non-static および public である必要があり、値を返しません。また、パラメーターを受け取ることはできません。また、メソッドで async-await を使用している場合、戻り値の型は 'Task' または 'ValueTask' である必要があります。
-
+ メソッド {0}。{1} は不適切なシグネチャを含んでいます。メソッドは non-static および public である必要があり、値を返しません。また、パラメーターを受け取ることはできません。また、メソッドで async-await を使用している場合、戻り値の型は 'Task' または 'ValueTask' である必要があります。
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
- テスト メソッド {0}.{1} が例外をスローしました:
+ テスト メソッド {0}.{1} が例外をスローしました:
{2}
-
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
- 型 {0} を取得できません。エラー: {1}。
-
+ 型 {0} を取得できません。エラー: {1}。
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
- 呼び出されたコードはキャッチされた例外をスローしましたが、例外値が null でした
-
+ 呼び出されたコードはキャッチされた例外をスローしましたが、例外値が null でした
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
- {0} UWP プロジェクトについて、テスト内で UI オブジェクトを使用している場合は、[TestMethod] の代わりに [UITestMethod] 属性を使用して UI スレッド内でテストを実行することを検討してください。
-
+ {0} UWP プロジェクトについて、テスト内で UI オブジェクトを使用している場合は、[TestMethod] の代わりに [UITestMethod] 属性を使用して UI スレッド内でテストを実行することを検討してください。
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
- (例外が発生したため、型 {0} の例外のメッセージを取得できませんでした。)
-
+ (例外が発生したため、型 {0} の例外のメッセージを取得できませんでした。)
+ {0} is the exception type name.'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
- 'MSTest.TestAdapter' と 'MSTest.TestFramework' は同じバージョンである必要があります。'MSTest.TestAdapter' バージョン '{0}' と 'MSTest.TestFramework' バージョン '{1}' が見つかりました。'MSTest.TestAdapter' と 'MSTest.TestFramework' の NuGet パッケージのバージョンが同じであることを確認してください。
-
+ 'MSTest.TestAdapter' と 'MSTest.TestFramework' は同じバージョンである必要があります。'MSTest.TestAdapter' バージョン '{0}' と 'MSTest.TestFramework' バージョン '{1}' が見つかりました。'MSTest.TestAdapter' と 'MSTest.TestFramework' の NuGet パッケージのバージョンが同じであることを確認してください。
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Wrong number of objects for permutation. Should be greater than zero.
@@ -567,8 +560,8 @@ but received {4} argument(s), with types '{5}'.
Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
- 警告: テスト メソッド '{0}.{1}' には 'out' または 'ref' パラメーターがあります。これはサポートされておらず、MSTest の将来のバージョンでは許可されない可能性があります。
-
+ 警告: テスト メソッド '{0}.{1}' には 'out' または 'ref' パラメーターがあります。これはサポートされておらず、MSTest の将来のバージョンでは許可されない可能性があります。
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}
diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.ko.xlf b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.ko.xlf
index 74f8f366ca..43e2e8854b 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.ko.xlf
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.ko.xlf
@@ -4,102 +4,97 @@
Assembly cleanup method '{0}.{1}' timed out after {2}ms
- {2}밀리초 후 어셈블리 정리 메서드 '{0}.{1}'이(가) 시간 초과되었습니다.
-
+ {2}밀리초 후 어셈블리 정리 메서드 '{0}.{1}'이(가) 시간 초과되었습니다.
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
- 어셈블리 정리 메서드 '{0}.{1}'이(가) 취소되었습니다.
-
+ 어셈블리 정리 메서드 '{0}.{1}'이(가) 취소되었습니다.
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
- {2}밀리초 후 '{0}.{1}' 어셈블리 초기화 메서드의 시간이 초과되었습니다.
-
+ {2}밀리초 후 '{0}.{1}' 어셈블리 초기화 메서드의 시간이 초과되었습니다.
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
- 어셈블리 초기화 메서드 '{0}.{1}'(이)가 취소되었습니다.
-
+ 어셈블리 초기화 메서드 '{0}.{1}'(이)가 취소되었습니다.
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
- MSTestAdapterV2
-
+ MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- "{0}.{1}"에서 IDataSource 특성을 열거하는 동안 예외가 발생했습니다. {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ "{0}.{1}"에서 IDataSource 특성을 열거하는 동안 예외가 발생했습니다. {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- "{0}.{1}"의 특성에서 IDataSource 행을 확장하는 동안 예외가 발생했습니다. {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ "{0}.{1}"의 특성에서 IDataSource 행을 확장하는 동안 예외가 발생했습니다. {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- "{1}"에 대한 {0} 인덱스의 데이터를 직렬화할 수 없습니다. "IDataSource"를 통해 제공된 모든 데이터를 직렬화할 수 있어야 합니다. 직렬화할 수 없는 데이터 원본을 테스트해야 하는 경우 테스트 어셈블리에 "TestDataSourceDiscovery" 특성을 추가하고 검색 옵션을 "DuringExecution"으로 설정하세요.
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ "{1}"에 대한 {0} 인덱스의 데이터를 직렬화할 수 없습니다. "IDataSource"를 통해 제공된 모든 데이터를 직렬화할 수 있어야 합니다. 직렬화할 수 없는 데이터 원본을 테스트해야 하는 경우 테스트 어셈블리에 "TestDataSourceDiscovery" 특성을 추가하고 검색 옵션을 "DuringExecution"으로 설정하세요.
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Could not find file '{0}'.
- '{0}' 파일을 찾을 수 없습니다.
-
+ '{0}' 파일을 찾을 수 없습니다.
+ {0} is the file path.Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
- 테스트 메서드 '{0}{1}'을(를) 실행할 수 없음: 테스트 데이터가 메서드 매개 변수와 일치하지 않습니다. 개수 또는 형식이 다릅니다.
+ 테스트 메서드 '{0}{1}'을(를) 실행할 수 없음: 테스트 데이터가 메서드 매개 변수와 일치하지 않습니다. 개수 또는 형식이 다릅니다.
테스트에 {2} 매개 변수로 ‘{3}’ 형식이 필요하지만,
{4} 인수의 ‘{5}’ 형식을 받았습니다.
-
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
- 테스트 메서드 '{0}{1}'을(를) 실행할 수 없음: 메서드에 매개 변수가 있지만 테스트 원본을 정의하지 않습니다. '[DataRow]', '[DynamicData]' 또는 사용자 지정 'ITestDataSource' 데이터 원본을 사용하여 테스트 데이터를 제공합니다.
-
+ 테스트 메서드 '{0}{1}'을(를) 실행할 수 없음: 메서드에 매개 변수가 있지만 테스트 원본을 정의하지 않습니다. '[DataRow]', '[DynamicData]' 또는 사용자 지정 'ITestDataSource' 데이터 원본을 사용하여 테스트 데이터를 제공합니다.
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
- {2}밀리초 후 클래스 정리 메서드 '{0}.{1}'이(가) 시간 초과되었습니다.
-
+ {2}밀리초 후 클래스 정리 메서드 '{0}.{1}'이(가) 시간 초과되었습니다.
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
- 클래스 정리 메서드 '{0}.{1}'이(가) 취소되었습니다.
-
+ 클래스 정리 메서드 '{0}.{1}'이(가) 취소되었습니다.
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
- {2}밀리초 후 '{0}.{1}' 클래스 초기화 메서드의 시간이 초과되었습니다.
-
+ {2}밀리초 후 '{0}.{1}' 클래스 초기화 메서드의 시간이 초과되었습니다.
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
- '클래스 초기화 메서드 '{0}.{1}'이(가) 취소되었습니다.
-
+ '클래스 초기화 메서드 '{0}.{1}'이(가) 취소되었습니다.
+ {0} is the type name. {1} is the class initialize method name.The parameter should not be null or empty.
- 매개 변수는 null이거나 비워 둘 수 없습니다.
-
+ 매개 변수는 null이거나 비워 둘 수 없습니다.
+ {Locked="null"}MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
- MSTestAdapter가 {2} 때문에 어셈블리 '{1}'의 클래스 '{0}'에서 테스트를 검색하지 못했습니다.
-
+ MSTestAdapter가 {2} 때문에 어셈블리 '{1}'의 클래스 '{0}'에서 테스트를 검색하지 못했습니다.
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
- {0}(데이터 행 {1})
-
+ {0}(데이터 행 {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:
@@ -108,58 +103,58 @@ but received {4} argument(s), with types '{5}'.
Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
- 테스트 실행 배포 문제: 잘못된 배포 항목: '{0}': 출력 디렉터리 '{1}'에서 항목을 배포 루트 디렉터리 외부에 배포하도록 지정하며 이는 허용되지 않습니다.
-
+ 테스트 실행 배포 문제: 잘못된 배포 항목: '{0}': 출력 디렉터리 '{1}'에서 항목을 배포 루트 디렉터리 외부에 배포하도록 지정하며 이는 허용되지 않습니다.
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
- 테스트 실행 배포 문제: 배포 항목 '{0}'에 의해 지정된 출력 디렉터리 '{1}'에 액세스하지 못했습니다. 항목이 배포되지 않음: {2}: {3}
-
+ 테스트 실행 배포 문제: 배포 항목 '{0}'에 의해 지정된 출력 디렉터리 '{1}'에 액세스하지 못했습니다. 항목이 배포되지 않음: {2}: {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
- 테스트 실행 배포 문제: '{0}' 파일에 액세스하지 못함: {1}: {2}
-
+ 테스트 실행 배포 문제: '{0}' 파일에 액세스하지 못함: {1}: {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
- 테스트 실행 배포 문제: '{0}' 파일을 '{1}'에 복사하지 못함: {2}: {3}
-
+ 테스트 실행 배포 문제: '{0}' 파일을 '{1}'에 복사하지 못함: {2}: {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
- 테스트 실행 배포 문제: 테스트 스토리지 '{0}'에 대한 종속성을 배포하지 못함: {1}
-
+ 테스트 실행 배포 문제: 테스트 스토리지 '{0}'에 대한 종속성을 배포하지 못함: {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
- 테스트 실행 배포 문제: {0}에 대한 파일을 가져오지 못함: {1}: {2}
-
+ 테스트 실행 배포 문제: {0}에 대한 파일을 가져오지 못함: {1}: {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
- 테스트 실행 배포 문제: {0}에 대한 위성 어셈블리를 가져오는 동안 오류 발생: {1}: {2}
-
+ 테스트 실행 배포 문제: {0}에 대한 위성 어셈블리를 가져오는 동안 오류 발생: {1}: {2}
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
- 배포 항목 '{0}'
-
+ 배포 항목 '{0}'
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
- 잘못된 배포 항목: 지정된 경로 '{0}' 또는 출력 디렉터리 '{1}'에 잘못된 문자가 들어 있습니다.
-
+ 잘못된 배포 항목: 지정된 경로 '{0}' 또는 출력 디렉터리 '{1}'에 잘못된 문자가 들어 있습니다.
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
- 잘못된 배포 항목: 출력 디렉터리는 null일 수 없습니다.
-
+ 잘못된 배포 항목: 출력 디렉터리는 null일 수 없습니다.
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
- 잘못된 배포 항목: 지정된 출력 디렉터리 '{0}'이(가) 상대 디렉터리가 아닙니다.
-
+ 잘못된 배포 항목: 지정된 출력 디렉터리 '{0}'이(가) 상대 디렉터리가 아닙니다.
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.
@@ -168,107 +163,105 @@ but received {4} argument(s), with types '{5}'.
deployment item '{0}' (output directory '{1}')
- 배포 항목 '{0}'(출력 디렉터리 '{1}')
-
+ 배포 항목 '{0}'(출력 디렉터리 '{1}')
+ {0} is the deployment item path. {1} is the output directory.Discovery failed for source '{0}' with {1} errors:
{2}
- {1} 오류로 인해 원본 '{0}' 검색에 실패했습니다.
+ {1} 오류로 인해 원본 '{0}' 검색에 실패했습니다.
{2}
-
+ {0} is the source path. {1} is the error count. {2} is the error details.[MSTest][Discovery][{0}] {1}
- [MSTest][검색][{0}] {1}
-
+ [MSTest][검색][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Only one attribute of type '{0}' is allowed, but multiple were found.
- '{0}' 형식의 특성은 하나만 허용되지만 여러 개가 발견되었습니다.
-
+ '{0}' 형식의 특성은 하나만 허용되지만 여러 개가 발견되었습니다.
+ {0} is the attribute type name.Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
- '.runsettings' 및 '.testconfig.json' 파일이 모두 검색되었습니다. 이러한 테스트 구성 파일 중 하나만 선택하세요.
-
+ '.runsettings' 및 '.testconfig.json' 파일이 모두 검색되었습니다. 이러한 테스트 구성 파일 중 하나만 선택하세요.
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- "{0}": ("{1}" 형식의 예외로 인해 예외 설명을 가져오지 못했습니다.
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ "{0}": ("{1}" 형식의 예외로 인해 예외 설명을 가져오지 못했습니다.
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
- 테스트 '{0}'이(가) 취소되었습니다.
-
+ 테스트 '{0}'이(가) 취소되었습니다.
+ {0} is the test name.Test '{0}' timed out after {1}ms
- 테스트 '{0}'이(가) {1}밀리초 후에 시간 초과되었습니다.
-
+ 테스트 '{0}'이(가) {1}밀리초 후에 시간 초과되었습니다.
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- {0} 형식에 대한 사용자 지정 특성을 가져오는 데 예외가 발생했습니다(무시하고 리플렉션 방법 사용). {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ {0} 형식에 대한 사용자 지정 특성을 가져오는 데 예외가 발생했습니다(무시하고 리플렉션 방법 사용). {1}
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
- 제네릭 매개 변수 '{0}'의 형식을 유추할 수 없습니다.
-
+ 제네릭 매개 변수 '{0}'의 형식을 유추할 수 없습니다.
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
- 제네릭 테스트 메서드 '{0}'에 인수가 없으므로 제네릭 매개 변수를 유추할 수 없습니다.
-
+ 제네릭 테스트 메서드 '{0}'에 인수가 없으므로 제네릭 매개 변수를 유추할 수 없습니다.
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- 제네릭 매개 변수 '{0}'에 대해 충돌하는 두 가지 형식을 찾았습니다. 충돌하는 형식은 '{1}' 및 ''{2}입니다.
-
+ 제네릭 매개 변수 '{0}'에 대해 충돌하는 두 가지 형식을 찾았습니다. 충돌하는 형식은 '{1}' 및 ''{2}입니다.
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- 'Scope'에 대해 잘못된 값 '{0}'이(가) 지정되었습니다. 지원되는 범위는 {1}입니다.
- {Locked="Scope"}
+ 'Scope'에 대해 잘못된 값 '{0}'이(가) 지정되었습니다. 지원되는 범위는 {1}입니다.
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- 'Workers'에 대해 잘못된 값 '{0}'이(가) 지정되었습니다. 이 값은 음수가 아닌 정수여야 합니다.
- {Locked="Workers"}
+ 'Workers'에 대해 잘못된 값 '{0}'이(가) 지정되었습니다. 이 값은 음수가 아닌 정수여야 합니다.
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
- '{0}' 설정이 잘못되었습니다. 예기치 않은 XmlAttribute '{1}'이(가) 있습니다.
-
+ '{0}' 설정이 잘못되었습니다. 예기치 않은 XmlAttribute '{1}'이(가) 있습니다.
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
- MSTestAdapter의 '{1}' 설정에서 예기치 않은 요소 '{0}'이(가) 발견되었습니다. 이 요소를 제거하고 다시 시도하세요.
-
+ MSTestAdapter의 '{1}' 설정에서 예기치 않은 요소 '{0}'이(가) 발견되었습니다. 이 요소를 제거하고 다시 시도하세요.
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
- runsettings 항목 '{1}'에 대해 '{0}' 값이 잘못되었습니다. 설정은 무시됩니다.
-
+ runsettings 항목 '{1}'에 대해 '{0}' 값이 잘못되었습니다. 설정은 무시됩니다.
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
- 테스트 실행 배포 문제: 어셈블리 또는 모듈 '{0}'을(를) 찾을 수 없습니다. 이유: {1}
-
+ 테스트 실행 배포 문제: 어셈블리 또는 모듈 '{0}'을(를) 찾을 수 없습니다. 이유: {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
- 테스트 실행 배포 문제: 어셈블리 또는 모듈 '{0}'을(를) 찾을 수 없습니다.
-
+ 테스트 실행 배포 문제: 어셈블리 또는 모듈 '{0}'을(를) 찾을 수 없습니다.
+ {0} is the assembly or module name.An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
- 이전 버전 MSTestV2 패키지가 어셈블리에 로드되어 테스트 검색이 '.runsettings' 파일에 종속된 경우 모든 데이터 테스트를 검색하지 못할 수 있습니다.
-
+ 이전 버전 MSTestV2 패키지가 어셈블리에 로드되어 테스트 검색이 '.runsettings' 파일에 종속된 경우 모든 데이터 테스트를 검색하지 못할 수 있습니다.
+ {Locked="MSTestV2"}{Locked=".runsettings"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -277,13 +270,13 @@ but received {4} argument(s), with types '{5}'.
Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- 임의 테스트 순서가 활성화되었습니다(Seed: {0}). 이 순서를 재현하려면 'RandomTestOrderSeed'를 설정하세요.
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ 임의 테스트 순서가 활성화되었습니다(Seed: {0}). 이 순서를 재현하려면 'RandomTestOrderSeed'를 설정하세요.
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
- Runsettings 항목 '<ExecutionApartmentState>STA</ExecutionApartmentState>'는 Windows 이외의 OS에서는 지원되지 않습니다.
-
+ Runsettings 항목 '<ExecutionApartmentState>STA</ExecutionApartmentState>'는 Windows 이외의 OS에서는 지원되지 않습니다.
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}Running tests in any of the provided sources is not supported for the selected platform
@@ -292,108 +285,108 @@ but received {4} argument(s), with types '{5}'.
File does not exist: {0}
- 파일이 없습니다. {0}
-
+ 파일이 없습니다. {0}
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
- {2}밀리초 후 테스트 정리 메서드 '{0}.{1}'이(가) 시간 초과되었습니다.
-
+ {2}밀리초 후 테스트 정리 메서드 '{0}.{1}'이(가) 시간 초과되었습니다.
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
- 테스트 정리 메서드 '{0}.{1}'이(가) 취소되었습니다.
-
+ 테스트 정리 메서드 '{0}.{1}'이(가) 취소되었습니다.
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
- TestContext 메시지:
-
+ TestContext 메시지:
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
- {2}밀리초 후 '{0}.{1}' 테스트 초기화 메서드의 시간이 초과되었습니다.
-
+ {2}밀리초 후 '{0}.{1}' 테스트 초기화 메서드의 시간이 초과되었습니다.
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
- 테스트 초기화 메서드 '{0}.{1}'이(가) 취소되었습니다.
-
+ 테스트 초기화 메서드 '{0}.{1}'이(가) 취소되었습니다.
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
- {0} 테스트 메서드를 찾을 수 없습니다.
-
+ {0} 테스트 메서드를 찾을 수 없습니다.
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- {0}에 대해 테스트 병렬 처리를 사용합니다(Workers: {1}, Scope: {2}).
- {Locked="Workers"}{Locked="Scope"}
+ {0}에 대해 테스트 병렬 처리를 사용합니다(Workers: {1}, Scope: {2}).
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}{0}_{1} {2}
- {0}_{1} {2}
-
+ {0}_{1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
- 어셈블리 정리 메서드 {0}.{1}이(가) 실패했습니다. 오류 메시지: {2}. StackTrace: {3}
-
+ 어셈블리 정리 메서드 {0}.{1}이(가) 실패했습니다. 오류 메시지: {2}. StackTrace: {3}
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
- UTA070: [AssemblyFixtureProvider]에서 참조하는 형식 '{0}'은 제네릭이 아니어야 합니다.
-
+ UTA070: [AssemblyFixtureProvider]에서 참조하는 형식 '{0}'은 제네릭이 아니어야 합니다.
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
- UTA071: [AssemblyFixtureProvider]에서 참조하는 형식 '{0}'의 메서드를 열거하지 못했습니다. {1}
-
+ UTA071: [AssemblyFixtureProvider]에서 참조하는 형식 '{0}'의 메서드를 열거하지 못했습니다. {1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
- UTA072: 어셈블리 '{0}'에서 [AssemblyFixtureProvider] 마커를 로드하지 못했습니다. {1}
-
+ UTA072: 어셈블리 '{0}'에서 [AssemblyFixtureProvider] 마커를 로드하지 못했습니다. {1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
- 어셈블리 초기화 메서드 {0}.{1}에서 예외를 throw했습니다. {2}: {3}. 테스트 실행을 중단합니다.
-
+ 어셈블리 초기화 메서드 {0}.{1}에서 예외를 throw했습니다. {2}: {3}. 테스트 실행을 중단합니다.
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
- 클래스 정리 메서드 {0}.{1}이(가) 실패했습니다. 오류 메시지: {2}. 스택 추적: {3}
-
+ 클래스 정리 메서드 {0}.{1}이(가) 실패했습니다. 오류 메시지: {2}. 스택 추적: {3}
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
- 클래스 초기화 메서드 {0}.{1}에서 예외를 throw했습니다. {2}: {3}
-
+ 클래스 초기화 메서드 {0}.{1}에서 예외를 throw했습니다. {2}: {3}
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- {0}.{1} 메서드의 서명이 잘못되었습니다. 메서드는 정적이고 공용이어야 하며, 값을 반환하거나 매개 변수를 취하지 않습니다. 또한 메서드에서 비동기 대기를 사용하는 경우 반환 형식은 'Task' 또는 'ValueTask'여야 합니다.
-
+ {0}.{1} 메서드의 서명이 잘못되었습니다. 메서드는 정적이고 공용이어야 하며, 값을 반환하거나 매개 변수를 취하지 않습니다. 또한 메서드에서 비동기 대기를 사용하는 경우 반환 형식은 'Task' 또는 'ValueTask'여야 합니다.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- {0}.{1} 메서드의 서명이 잘못되었습니다. 메서드는 static, public이어야 하고, 값을 반환하지 않으며, TestContext 형식의 단일 매개 변수를 사용해야 합니다. 또한 메서드에서 비동기 대기를 사용하는 경우 반환 형식은 'Task' 또는 'ValueTask'여야 합니다.
-
+ {0}.{1} 메서드의 서명이 잘못되었습니다. 메서드는 static, public이어야 하고, 값을 반환하지 않으며, TestContext 형식의 단일 매개 변수를 사용해야 합니다. 또한 메서드에서 비동기 대기를 사용하는 경우 반환 형식은 'Task' 또는 'ValueTask'여야 합니다.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
- TestCleanup 메서드 {0}.{1}에서 예외가 발생했습니다. {2}.
-
+ TestCleanup 메서드 {0}.{1}에서 예외가 발생했습니다. {2}.
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
- 테스트 클래스 {0}에 대한 테스트 정리 메서드를 호출하는 오류: {1}
-
+ 테스트 클래스 {0}에 대한 테스트 정리 메서드를 호출하는 오류: {1}
+ {0} is the test class name. {1} is the exception message.Data source '{0}' cannot be found in the test configuration settings
- 테스트 구성 설정에서 데이터 원본 '{0}'을(를) 찾을 수 없습니다.
-
+ 테스트 구성 설정에서 데이터 원본 '{0}'을(를) 찾을 수 없습니다.
+ {0} is the data source name.--- End of inner exception stack trace ---
@@ -402,162 +395,162 @@ but received {4} argument(s), with types '{5}'.
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
- 단위 테스트 어댑터가 데이터 원본에 연결하거나 데이터를 읽지 못했습니다. 이 오류를 해결하는 방법에 대한 자세한 내용은 MSDN 라이브러리에서 "데이터 기반 단위 테스트 문제 해결"(http://go.microsoft.com/fwlink/?LinkId=62412)을 참조하십시오. 오류 세부 정보: {0}
-
+ 단위 테스트 어댑터가 데이터 원본에 연결하거나 데이터를 읽지 못했습니다. 이 오류를 해결하는 방법에 대한 자세한 내용은 MSDN 라이브러리에서 "데이터 기반 단위 테스트 문제 해결"(http://go.microsoft.com/fwlink/?LinkId=62412)을 참조하십시오. 오류 세부 정보: {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
- UTA031: {0} 클래스에 유효한 TestContext 속성이 없습니다. TestContext는 TestContext 유형이어야 하고, 정적이 아니어야 하며, 일반적이어야 합니다. 예: public TestContext TestContext.
-
+ UTA031: {0} 클래스에 유효한 TestContext 속성이 없습니다. TestContext는 TestContext 유형이어야 하고, 정적이 아니어야 하며, 일반적이어야 합니다. 예: public TestContext TestContext.
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
- UTA007: 클래스 {0}에 정의된 메서드 {1}에 올바른 서명이 없습니다. [TestMethod] 특성으로 표시된 테스트 메서드는 non-static, public, return-type이 void여야 하며 매개 변수를 사용하지 않아야 합니다. 예: public void Test.Class1.Test(). 또한 테스트 메서드에서 비동기 대기를 사용하는 경우 반환 형식은 Task여야 합니다. 예: public async Task Test.Class1.Test2()
-
+ UTA007: 클래스 {0}에 정의된 메서드 {1}에 올바른 서명이 없습니다. [TestMethod] 특성으로 표시된 테스트 메서드는 non-static, public, return-type이 void여야 하며 매개 변수를 사용하지 않아야 합니다. 예: public void Test.Class1.Test(). 또한 테스트 메서드에서 비동기 대기를 사용하는 경우 반환 형식은 Task여야 합니다. 예: public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
- UTA054: {0}.{1}에 잘못된 Timeout 특성이 있습니다. 시간 제한 값은 0보다 큰 정수여야 합니다.
-
+ UTA054: {0}.{1}에 잘못된 Timeout 특성이 있습니다. 시간 제한 값은 0보다 큰 정수여야 합니다.
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
- UTA014: {0}: 어셈블리 내부에서 AssemblyCleanup 특성을 사용하는 메서드를 여러 개 정의할 수 없습니다.
-
+ UTA014: {0}: 어셈블리 내부에서 AssemblyCleanup 특성을 사용하는 메서드를 여러 개 정의할 수 없습니다.
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
- UTA013: {0}: 어셈블리 내부에서 AssemblyInitialize 특성을 사용하는 메서드를 여러 개 정의할 수 없습니다.
-
+ UTA013: {0}: 어셈블리 내부에서 AssemblyInitialize 특성을 사용하는 메서드를 여러 개 정의할 수 없습니다.
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
- UTA026: {0}: 클래스 내부에서 ClassCleanup 특성을 사용하는 메서드를 여러 개 정의할 수 없습니다.
-
+ UTA026: {0}: 클래스 내부에서 ClassCleanup 특성을 사용하는 메서드를 여러 개 정의할 수 없습니다.
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
- UTA025: {0}: 클래스 내부에서 ClassInitialize 특성을 사용하는 메서드를 여러 개 정의할 수 없습니다.
-
+ UTA025: {0}: 클래스 내부에서 ClassInitialize 특성을 사용하는 메서드를 여러 개 정의할 수 없습니다.
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
- UTA024: {0}: TestCleanup 특성을 사용하는 메서드를 여러 개 정의할 수 없습니다.
-
+ UTA024: {0}: TestCleanup 특성을 사용하는 메서드를 여러 개 정의할 수 없습니다.
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
- UTA018: {0}: TestInitialize 특성을 사용하는 메서드를 여러 개 정의할 수 없습니다.
-
+ UTA018: {0}: TestInitialize 특성을 사용하는 메서드를 여러 개 정의할 수 없습니다.
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
- UTA001: public이 아닌 클래스 {0}에서 TestClass 특성을 정의했습니다.
-
+ UTA001: public이 아닌 클래스 {0}에서 TestClass 특성을 정의했습니다.
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
- 일반 비추상 클래스 {0}에 정의된 TestClass 속성
-
+ 일반 비추상 클래스 {0}에 정의된 TestClass 속성
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
- 'Execute' 메서드에서 처리되지 않은 예외가 발생했습니다. '{0}' 특성의 작성자에게 이 오류를 보고하세요.
+ 'Execute' 메서드에서 처리되지 않은 예외가 발생했습니다. '{0}' 특성의 작성자에게 이 오류를 보고하세요.
{1}
-
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
- 테스트 메서드 {0}.{1}에서 throw한 예외를 가져오지 못했습니다.
-
+ 테스트 메서드 {0}.{1}에서 throw한 예외를 가져오지 못했습니다.
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
- 초기화 메서드 {0}.{1}에서 예외를 throw했습니다. {2}.
-
+ 초기화 메서드 {0}.{1}에서 예외를 throw했습니다. {2}.
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
- {0} 클래스의 인스턴스를 만들 수 없습니다. 오류: {1}
-
+ {0} 클래스의 인스턴스를 만들 수 없습니다. 오류: {1}
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
- {0}.{1} 메서드가 없습니다.
-
+ {0}.{1} 메서드가 없습니다.
+ {0} is the declaring type name. {1} is the method name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
- 테스트 클래스 '{0}'에 '{1}'에서 파생된 여러 특성이 정의되어 있습니다. 이러한 특성은 하나만 허용됩니다.
-
+ 테스트 클래스 '{0}'에 '{1}'에서 파생된 여러 특성이 정의되어 있습니다. 이러한 특성은 하나만 허용됩니다.
+ {0} is the test class name. {1} is the attribute base type name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
- 테스트 메서드 '{0}.{1}'에 {2}에서 파생된 여러 특성이 정의되어 있습니다. 이러한 특성은 하나만 허용됩니다.
-
+ 테스트 메서드 '{0}.{1}'에 {2}에서 파생된 여러 특성이 정의되어 있습니다. 이러한 특성은 하나만 허용됩니다.
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
- 테스트를 실행하는 중에 오류가 발생했습니다. 확장에서 결과가 반환되지 않았습니다. TestMethodAttribute 확장을 사용하는 경우 공급업체에 문의하세요.
-
+ 테스트를 실행하는 중에 오류가 발생했습니다. 확장에서 결과가 반환되지 않았습니다. TestMethodAttribute 확장을 사용하는 경우 공급업체에 문의하세요.
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- 테스트 클래스 '{0}'에 대한 유효한 생성자를 찾을 수 없습니다. 유효한 생성자는 'public'이며 매개 변수가 없거나 'TestContext' 유형의 매개 변수가 하나 있습니다.
-
+ 테스트 클래스 '{0}'에 대한 유효한 생성자를 찾을 수 없습니다. 유효한 생성자는 'public'이며 매개 변수가 없거나 'TestContext' 유형의 매개 변수가 하나 있습니다.
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
- {0}.TestContext 속성을 찾을 수 없습니다. 오류: {1}
-
+ {0}.TestContext 속성을 찾을 수 없습니다. 오류: {1}
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
- {0} 클래스에 대해 TestContext 속성을 설정할 수 없습니다. 오류: {1}
-
+ {0} 클래스에 대해 TestContext 속성을 설정할 수 없습니다. 오류: {1}
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
- {0}.TestContext의 형식이 잘못되었습니다.
-
+ {0}.TestContext의 형식이 잘못되었습니다.
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- {0}.{1} 메서드의 서명이 잘못되었습니다. 메서드는 정적이 아니고 공용이어야 하며, 값을 반환하거나 매개 변수를 사용할 수 없습니다. 또한 메서드에서 비동기 대기를 사용하는 경우 반환 형식은 'Task' 또는 'ValueTask'여야 합니다.
-
+ {0}.{1} 메서드의 서명이 잘못되었습니다. 메서드는 정적이 아니고 공용이어야 하며, 값을 반환하거나 매개 변수를 사용할 수 없습니다. 또한 메서드에서 비동기 대기를 사용하는 경우 반환 형식은 'Task' 또는 'ValueTask'여야 합니다.
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
- 테스트 메서드 {0}.{1}에서 예외를 throw했습니다.
+ 테스트 메서드 {0}.{1}에서 예외를 throw했습니다.
{2}
-
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
- {0} 형식을 가져올 수 없습니다. 오류: {1}
-
+ {0} 형식을 가져올 수 없습니다. 오류: {1}
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
- 호출된 코드에서 확인된 예외가 발생했지만 예외 값이 null입니다.
-
+ 호출된 코드에서 확인된 예외가 발생했지만 예외 값이 null입니다.
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
- {0} UWP 프로젝트의 경우 테스트에서 UI 개체를 사용 중이면 [TestMethod] 대신 [UITestMethod] 특성을 사용하여 UI 스레드에서 테스트를 실행하세요.
-
+ {0} UWP 프로젝트의 경우 테스트에서 UI 개체를 사용 중이면 [TestMethod] 대신 [UITestMethod] 특성을 사용하여 UI 스레드에서 테스트를 실행하세요.
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
- (예외로 인해 {0} 형식의 예외에 대한 메시지를 가져오지 못했습니다.)
-
+ (예외로 인해 {0} 형식의 예외에 대한 메시지를 가져오지 못했습니다.)
+ {0} is the exception type name.'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
- 'MSTest.TestAdapter'와 'MSTest.TestFramework'의 버전이 같아야 합니다. 'MSTest.TestAdapter'의 버전은 '{0}'이고, 'MSTest.TestFramework'의 버전은 '{1}'입니다. 'MSTest.TestAdapter'와 'MSTest.TestFramework' NuGet 패키지의 버전이 동일한지 확인하세요.
-
+ 'MSTest.TestAdapter'와 'MSTest.TestFramework'의 버전이 같아야 합니다. 'MSTest.TestAdapter'의 버전은 '{0}'이고, 'MSTest.TestFramework'의 버전은 '{1}'입니다. 'MSTest.TestAdapter'와 'MSTest.TestFramework' NuGet 패키지의 버전이 동일한지 확인하세요.
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Wrong number of objects for permutation. Should be greater than zero.
@@ -566,8 +559,8 @@ but received {4} argument(s), with types '{5}'.
Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
- 경고: 테스트 메서드 '{0}.{1}'에는 지원되지 않으며 이후 버전의 MSTest에서 허용되지 않을 수 있는 'out' 또는 'ref' 매개 변수가 있습니다.
-
+ 경고: 테스트 메서드 '{0}.{1}'에는 지원되지 않으며 이후 버전의 MSTest에서 허용되지 않을 수 있는 'out' 또는 'ref' 매개 변수가 있습니다.
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}
diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.pl.xlf b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.pl.xlf
index 1af348a901..98633b11c5 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.pl.xlf
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.pl.xlf
@@ -4,102 +4,97 @@
Assembly cleanup method '{0}.{1}' timed out after {2}ms
- Metoda oczyszczania zestawu „{0}.{1}” przekroczyła limit czasu po {2}ms
-
+ Metoda oczyszczania zestawu „{0}.{1}” przekroczyła limit czasu po {2}ms
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
- Anulowano metodę oczyszczania zestawu „{0}.{1}”
-
+ Anulowano metodę oczyszczania zestawu „{0}.{1}”
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
- Metoda inicjalizacji zestawu „{0}.{1}” przekroczyła limit czasu po {2}ms
-
+ Metoda inicjalizacji zestawu „{0}.{1}” przekroczyła limit czasu po {2}ms
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
- Anulowano metodę inicjowania zestawu „{0}.{1}”
-
+ Anulowano metodę inicjowania zestawu „{0}.{1}”
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
- MSTestAdapterV2
-
+ MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- Wystąpił wyjątek podczas wyliczania atrybutu IDataSource w przestrzeni nazwy „{0}.{1}”: {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ Wystąpił wyjątek podczas wyliczania atrybutu IDataSource w przestrzeni nazwy „{0}.{1}”: {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- Wystąpił wyjątek podczas rozwijania wierszy IDataSource z atrybutu w przestrzeni nazw „{0}.{1}”: {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ Wystąpił wyjątek podczas rozwijania wierszy IDataSource z atrybutu w przestrzeni nazw „{0}.{1}”: {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- Nie można serializować danych w indeksie {0} dla „{1}”. Wszystkie dane dostarczane za pomocą źródła „IDataSource” powinny być możliwe do serializacji. Jeśli chcesz przetestować nieserializowalne źródła danych, upewnij się, że dodasz atrybut „ TestDataSourceDiscovery” w zestawie testowym i ustaw opcję odnajdywania na wartość „DuringExecution”.
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ Nie można serializować danych w indeksie {0} dla „{1}”. Wszystkie dane dostarczane za pomocą źródła „IDataSource” powinny być możliwe do serializacji. Jeśli chcesz przetestować nieserializowalne źródła danych, upewnij się, że dodasz atrybut „ TestDataSourceDiscovery” w zestawie testowym i ustaw opcję odnajdywania na wartość „DuringExecution”.
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Could not find file '{0}'.
- Nie można odnaleźć pliku „{0}”.
-
+ Nie można odnaleźć pliku „{0}”.
+ {0} is the file path.Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
- Nie można uruchomić metody testowej „{0}.{1}”: dane testowe nie są zgodne z parametrami metody. Liczba lub typy są różne.
+ Nie można uruchomić metody testowej „{0}.{1}”: dane testowe nie są zgodne z parametrami metody. Liczba lub typy są różne.
Testowanie oczekiwał parametrów {2} z typami „{3}”,
ale odebrał argumenty {4} z typami „{5}”.
-
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
- Nie można uruchomić metody testowej „{0}.{1}”: metoda ma parametry, ale nie definiuje żadnego źródła testowego. Użyj źródła danych „[DataRow]”, „[DynamicData]” lub niestandardowego źródła danych „ITestDataSource”, aby dostarczyć dane testowe.
-
+ Nie można uruchomić metody testowej „{0}.{1}”: metoda ma parametry, ale nie definiuje żadnego źródła testowego. Użyj źródła danych „[DataRow]”, „[DynamicData]” lub niestandardowego źródła danych „ITestDataSource”, aby dostarczyć dane testowe.
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
- Metoda oczyszczania klasy „{0}.{1}” przekroczyła limit czasu po {2}ms
-
+ Metoda oczyszczania klasy „{0}.{1}” przekroczyła limit czasu po {2}ms
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
- Anulowano metodę oczyszczania klasy „{0}.{1}”
-
+ Anulowano metodę oczyszczania klasy „{0}.{1}”
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
- Metoda inicjalizacji klasy „{0}.{1}” przekroczyła limit czasu po {2}ms
-
+ Metoda inicjalizacji klasy „{0}.{1}” przekroczyła limit czasu po {2}ms
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
- Anulowano metodę inicjowania klasy „{0}.{1}”
-
+ Anulowano metodę inicjowania klasy „{0}.{1}”
+ {0} is the type name. {1} is the class initialize method name.The parameter should not be null or empty.
- Parametr nie może mieć wartości null ani być pusty.
-
+ Parametr nie może mieć wartości null ani być pusty.
+ {Locked="null"}MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
- Adapter MSTestAdapter nie mógł odnaleźć testów w klasie „{0}” zestawu „{1}”, przyczyna: {2}.
-
+ Adapter MSTestAdapter nie mógł odnaleźć testów w klasie „{0}” zestawu „{1}”, przyczyna: {2}.
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
- {0} (wiersz danych {1})
-
+ {0} (wiersz danych {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:
@@ -108,58 +103,58 @@ ale odebrał argumenty {4} z typami „{5}”.
Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
- Problem wdrażania przebiegu testu: nieprawidłowy element wdrożenia: „{0}”: katalog wyjściowy „{1}” określa element do wdrożenia poza głównym katalogiem wdrożenia. Taka sytuacja jest niedozwolona.
-
+ Problem wdrażania przebiegu testu: nieprawidłowy element wdrożenia: „{0}”: katalog wyjściowy „{1}” określa element do wdrożenia poza głównym katalogiem wdrożenia. Taka sytuacja jest niedozwolona.
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
- Problem wdrażania przebiegu testu: nie można uzyskać dostępu do katalogu wyjściowego „{1}” określonego przy użyciu elementu wdrożenia „{0}”. Nie można wdrożyć elementu: {2}: {3}
-
+ Problem wdrażania przebiegu testu: nie można uzyskać dostępu do katalogu wyjściowego „{1}” określonego przy użyciu elementu wdrożenia „{0}”. Nie można wdrożyć elementu: {2}: {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
- Problem wdrażania przebiegu testu: nie można uzyskać dostępu do pliku „{0}”: {1}: {2}
-
+ Problem wdrażania przebiegu testu: nie można uzyskać dostępu do pliku „{0}”: {1}: {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
- Problem wdrażania przebiegu testu: nie można skopiować pliku „{0}” do „{1}”: {2}: {3}
-
+ Problem wdrażania przebiegu testu: nie można skopiować pliku „{0}” do „{1}”: {2}: {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
- Problem wdrażania przebiegu testu: nie można wdrożyć zależności dla magazynu testowego „{0}”: {1}
-
+ Problem wdrażania przebiegu testu: nie można wdrożyć zależności dla magazynu testowego „{0}”: {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
- Problem wdrażania przebiegu testu: nie można uzyskać pliku dla elementu {0}: {1}: {2}
-
+ Problem wdrażania przebiegu testu: nie można uzyskać pliku dla elementu {0}: {1}: {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
- Problem wdrażania przebiegu testu: wystąpił błąd podczas pobierania zestawów satelickich dla elementu {0}: {1}: {2}
-
+ Problem wdrażania przebiegu testu: wystąpił błąd podczas pobierania zestawów satelickich dla elementu {0}: {1}: {2}
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
- element wdrożenia „{0}”
-
+ element wdrożenia „{0}”
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
- Nieprawidłowy element wdrożenia: wybrana ścieżka „{0}” lub katalog wyjściowy „{1}” zawiera niedozwolone znaki.
-
+ Nieprawidłowy element wdrożenia: wybrana ścieżka „{0}” lub katalog wyjściowy „{1}” zawiera niedozwolone znaki.
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
- Nieprawidłowy element wdrożenia: katalog wyjściowy nie może mieć wartości null.
-
+ Nieprawidłowy element wdrożenia: katalog wyjściowy nie może mieć wartości null.
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
- Nieprawidłowy element wdrożenia: wybrany katalog wyjściowy „{0}” nie jest względny.
-
+ Nieprawidłowy element wdrożenia: wybrany katalog wyjściowy „{0}” nie jest względny.
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.
@@ -168,107 +163,105 @@ ale odebrał argumenty {4} z typami „{5}”.
deployment item '{0}' (output directory '{1}')
- element wdrożenia „{0}” (katalog wyjściowy „{1}”)
-
+ element wdrożenia „{0}” (katalog wyjściowy „{1}”)
+ {0} is the deployment item path. {1} is the output directory.Discovery failed for source '{0}' with {1} errors:
{2}
- Nie udało się wykryć źródła „{0}” z powodu {1} błędów:
+ Nie udało się wykryć źródła „{0}” z powodu {1} błędów:
{2}
-
+ {0} is the source path. {1} is the error count. {2} is the error details.[MSTest][Discovery][{0}] {1}
- [MSTest][Discovery][{0}] {1}
-
+ [MSTest][Discovery][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Only one attribute of type '{0}' is allowed, but multiple were found.
- Dozwolony jest tylko jeden atrybut typu „{0}”, ale znaleziono ich wiele.
-
+ Dozwolony jest tylko jeden atrybut typu „{0}”, ale znaleziono ich wiele.
+ {0} is the attribute type name.Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
- Wykryto zarówno pliki „.runsettings”, jak i „.testconfig.json”. Wybierz tylko jeden z tych plików konfiguracji testu.
-
+ Wykryto zarówno pliki „.runsettings”, jak i „.testconfig.json”. Wybierz tylko jeden z tych plików konfiguracji testu.
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- „{0}”: (Nie można uzyskać opisu wyjątku z powodu wyjątku typu „{1}”.
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ „{0}”: (Nie można uzyskać opisu wyjątku z powodu wyjątku typu „{1}”.
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
- Test „{0}” został anulowany
-
+ Test „{0}” został anulowany
+ {0} is the test name.Test '{0}' timed out after {1}ms
- Upłynął limit czasu testu „{0}” po {1}ms
-
+ Upłynął limit czasu testu „{0}” po {1}ms
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- Pobieranie atrybutów niestandardowych dla typu {0} zgłosiło wyjątek (zignoruje i użyje sposobu odbicia): {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ Pobieranie atrybutów niestandardowych dla typu {0} zgłosiło wyjątek (zignoruje i użyje sposobu odbicia): {1}
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
- Nie można wywnioskować typu parametru ogólnego „{0}”.
-
+ Nie można wywnioskować typu parametru ogólnego „{0}”.
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
- Ogólna metoda testowa „{0}” nie ma argumentów, więc nie można wywnioskować parametru ogólnego.
-
+ Ogólna metoda testowa „{0}” nie ma argumentów, więc nie można wywnioskować parametru ogólnego.
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- Znaleziono dwa typy powodujące konflikt dla parametru ogólnego „{0}”. Typy powodujące konflikt to „{1}” i „{2}”.
-
+ Znaleziono dwa typy powodujące konflikt dla parametru ogólnego „{0}”. Typy powodujące konflikt to „{1}” i „{2}”.
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- Określono nieprawidłową wartość „{0}” dla właściwości „Scope”. Obsługiwane zakresy to {1}.
- {Locked="Scope"}
+ Określono nieprawidłową wartość „{0}” dla właściwości „Scope”. Obsługiwane zakresy to {1}.
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- Określono nieprawidłową wartość „{0}” dla właściwości „Workers”. Wartość musi być nieujemną liczbą całkowitą.
- {Locked="Workers"}
+ Określono nieprawidłową wartość „{0}” dla właściwości „Workers”. Wartość musi być nieujemną liczbą całkowitą.
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
- Nieprawidłowe ustawienia „{0}”. Nieoczekiwany atrybut XmlAttribute: „{1}”.
-
+ Nieprawidłowe ustawienia „{0}”. Nieoczekiwany atrybut XmlAttribute: „{1}”.
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
- Adapter MSTestAdapter napotkał nieoczekiwany element „{0}” w ustawieniach „{1}”. Usuń ten element i spróbuj ponownie.
-
+ Adapter MSTestAdapter napotkał nieoczekiwany element „{0}” w ustawieniach „{1}”. Usuń ten element i spróbuj ponownie.
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
- Nieprawidłowa wartość „{0}” dla wpisu runsettings „{1}”. Ustawienie zostanie zignorowane.
-
+ Nieprawidłowa wartość „{0}” dla wpisu runsettings „{1}”. Ustawienie zostanie zignorowane.
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
- Problem wdrażania przebiegu testu: nie znaleziono zestawu lub modułu „{0}”. Przyczyna: {1}
-
+ Problem wdrażania przebiegu testu: nie znaleziono zestawu lub modułu „{0}”. Przyczyna: {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
- Problem wdrażania przebiegu testu: nie znaleziono zestawu lub modułu „{0}”.
-
+ Problem wdrażania przebiegu testu: nie znaleziono zestawu lub modułu „{0}”.
+ {0} is the assembly or module name.An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
- Starsza wersja pakietu MSTestV2 jest załadowana do zestawu. Odnajdywanie testów może nie odnaleźć wszystkich testów danych, jeśli zależą od pliku „.runsettings”.
-
+ Starsza wersja pakietu MSTestV2 jest załadowana do zestawu. Odnajdywanie testów może nie odnaleźć wszystkich testów danych, jeśli zależą od pliku „.runsettings”.
+ {Locked="MSTestV2"}{Locked=".runsettings"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -277,13 +270,13 @@ ale odebrał argumenty {4} z typami „{5}”.
Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- Włączono losową kolejność testów (Seed: {0}). Ustaw wartość „RandomTestOrderSeed”, aby odtworzyć tę kolejność.
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ Włączono losową kolejność testów (Seed: {0}). Ustaw wartość „RandomTestOrderSeed”, aby odtworzyć tę kolejność.
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
- Wpis runsettings „<ExecutionApartmentState>STA</ExecutionApartmentState>” nie jest obsługiwany w systemach operacyjnych innych niż Windows.
-
+ Wpis runsettings „<ExecutionApartmentState>STA</ExecutionApartmentState>” nie jest obsługiwany w systemach operacyjnych innych niż Windows.
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}Running tests in any of the provided sources is not supported for the selected platform
@@ -292,108 +285,108 @@ ale odebrał argumenty {4} z typami „{5}”.
File does not exist: {0}
- Plik nie istnieje: {0}
-
+ Plik nie istnieje: {0}
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
- Metoda oczyszczania testu „{0}.{1}” przekroczyła limit czasu po {2}ms
-
+ Metoda oczyszczania testu „{0}.{1}” przekroczyła limit czasu po {2}ms
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
- Anulowano metodę oczyszczania testu „{0}.{1}”
-
+ Anulowano metodę oczyszczania testu „{0}.{1}”
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
- Komunikaty TestContext:
-
+ Komunikaty TestContext:
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
- Metoda inicjalizacji testu „{0}.{1}” przekroczyła limit czasu po {2}ms
-
+ Metoda inicjalizacji testu „{0}.{1}” przekroczyła limit czasu po {2}ms
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
- Anulowano metodę inicjowania testu „{0}.{1}”
-
+ Anulowano metodę inicjowania testu „{0}.{1}”
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
- Nie znaleziono metody testowej {0}.
-
+ Nie znaleziono metody testowej {0}.
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- Przetwarzanie równoległe testów włączono dla {0} (Workers: {1}, Scope: {2})
- {Locked="Workers"}{Locked="Scope"}
+ Przetwarzanie równoległe testów włączono dla {0} (Workers: {1}, Scope: {2})
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}{0}_{1} {2}
- {0}_{1} {2}
-
+ {0}_{1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
- Metoda czyszczenia zestawu {0}.{1} nie powiodła się. Komunikat o błędzie: {2}. Ślad stosu: {3}
-
+ Metoda czyszczenia zestawu {0}.{1} nie powiodła się. Komunikat o błędzie: {2}. Ślad stosu: {3}
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
- UTA070: Typ „{0}”, do którego odwołuje się [AssemblyFixtureProvider], nie może być generyczny.
-
+ UTA070: Typ „{0}”, do którego odwołuje się [AssemblyFixtureProvider], nie może być generyczny.
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
- UTA071: Nie można wyliczyć metod typu „{0}”, do którego odwołuje się [AssemblyFixtureProvider]. {1}
-
+ UTA071: Nie można wyliczyć metod typu „{0}”, do którego odwołuje się [AssemblyFixtureProvider]. {1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
- UTA072: Nie można załadować znacznika [AssemblyFixtureProvider] z zestawu „{0}”. {1}
-
+ UTA072: Nie można załadować znacznika [AssemblyFixtureProvider] z zestawu „{0}”. {1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
- Metoda inicjująca zestaw {0}.{1} nie powiodła się. {2}: {3}. Przerywanie wykonywania testu.
-
+ Metoda inicjująca zestaw {0}.{1} nie powiodła się. {2}: {3}. Przerywanie wykonywania testu.
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
- Metoda czyszczenia klasy {0}.{1} nie powiodła się. Komunikat o błędzie: {2}. Ślad stosu: {3}
-
+ Metoda czyszczenia klasy {0}.{1} nie powiodła się. Komunikat o błędzie: {2}. Ślad stosu: {3}
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
- Metoda inicjowania klasy {0}.{1} zgłosiła wyjątek. {2}: {3}.
-
+ Metoda inicjowania klasy {0}.{1} zgłosiła wyjątek. {2}: {3}.
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- Metoda {0}.{1}ma nieprawidłową sygnaturę. Metoda musi być statyczna, publiczna, nie może zwracać wartości i nie powinna przyjmować żadnego parametru. Ponadto jeśli w metodzie jest używane oczekiwanie asynchroniczne, wtedy zwracanym typem musi być typ „Task” lub „ValueTask”.
-
+ Metoda {0}.{1}ma nieprawidłową sygnaturę. Metoda musi być statyczna, publiczna, nie może zwracać wartości i nie powinna przyjmować żadnego parametru. Ponadto jeśli w metodzie jest używane oczekiwanie asynchroniczne, wtedy zwracanym typem musi być typ „Task” lub „ValueTask”.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- Metoda {0}.{1}ma nieprawidłową sygnaturę. Metoda musi być statyczna, publiczna, nie może zwracać wartości i powinna mieć jeden parametr typu TestContext. Ponadto jeśli w metodzie jest używane oczekiwanie asynchroniczne, wtedy zwracanym typem musi być typ „Task” lub „ValueTask”.
-
+ Metoda {0}.{1}ma nieprawidłową sygnaturę. Metoda musi być statyczna, publiczna, nie może zwracać wartości i powinna mieć jeden parametr typu TestContext. Ponadto jeśli w metodzie jest używane oczekiwanie asynchroniczne, wtedy zwracanym typem musi być typ „Task” lub „ValueTask”.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
- Metoda TestCleanup {0}.{1} zgłosiła wyjątek {2}.
-
+ Metoda TestCleanup {0}.{1} zgłosiła wyjątek {2}.
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
- Błąd podczas wywoływania metody czyszczącej testu dla klasy testowej {0}: {1}
-
+ Błąd podczas wywoływania metody czyszczącej testu dla klasy testowej {0}: {1}
+ {0} is the test class name. {1} is the exception message.Data source '{0}' cannot be found in the test configuration settings
- W ustawieniach konfiguracji testu nie można znaleźć źródła danych „{0}”
-
+ W ustawieniach konfiguracji testu nie można znaleźć źródła danych „{0}”
+ {0} is the data source name.--- End of inner exception stack trace ---
@@ -402,162 +395,162 @@ ale odebrał argumenty {4} z typami „{5}”.
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
- Adapter testu jednostkowego nie mógł połączyć się ze źródłem danych lub odczytać danych. Aby uzyskać więcej informacji o rozwiązywaniu tego błędu, zobacz „Rozwiązywanie problemów z testami jednostkowymi sterowanymi danymi” (http://go.microsoft.com/fwlink/?LinkId=62412) w bibliotece MSDN. Szczegóły błędu: {0}
-
+ Adapter testu jednostkowego nie mógł połączyć się ze źródłem danych lub odczytać danych. Aby uzyskać więcej informacji o rozwiązywaniu tego błędu, zobacz „Rozwiązywanie problemów z testami jednostkowymi sterowanymi danymi” (http://go.microsoft.com/fwlink/?LinkId=62412) w bibliotece MSDN. Szczegóły błędu: {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
- UTA031: Klasa {0}nie ma prawidłowej właściwości TestContext. Element TestContext musi być typu TestContext, musi być niestatyczny i musi być publiczny. Na przykład : public TestContext TestContext.
-
+ UTA031: Klasa {0}nie ma prawidłowej właściwości TestContext. Element TestContext musi być typu TestContext, musi być niestatyczny i musi być publiczny. Na przykład : public TestContext TestContext.
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
- UTA007: metoda {1} zdefiniowana w klasie {0}nie ma poprawnej sygnatury. Metoda testowa oznaczona przez atrybut [TestMethod] musi być niestatyczna, publiczna, zwracać wartość typu void i nie powinna przyjmować żadnego parametru. Przykład: public void Test.Class1.Test(). Ponadto, jeśli używasz oczekiwanie asynchroniczne w metodzie testowej, wtedy zwracanym typem musi być „Task” lub „ValueTask”. Przykład: public async Task Test.Class1.Test2()
-
+ UTA007: metoda {1} zdefiniowana w klasie {0}nie ma poprawnej sygnatury. Metoda testowa oznaczona przez atrybut [TestMethod] musi być niestatyczna, publiczna, zwracać wartość typu void i nie powinna przyjmować żadnego parametru. Przykład: public void Test.Class1.Test(). Ponadto, jeśli używasz oczekiwanie asynchroniczne w metodzie testowej, wtedy zwracanym typem musi być „Task” lub „ValueTask”. Przykład: public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
- UTA054: {0}.{1} ma nieprawidłowy atrybut Timeout. Limit czasu musi być liczbą całkowitą większą niż 0.
-
+ UTA054: {0}.{1} ma nieprawidłowy atrybut Timeout. Limit czasu musi być liczbą całkowitą większą niż 0.
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
- UTA014: {0}: W zestawie nie można zdefiniować więcej niż jednej metody z atrybutem AssemblyCleanup.
-
+ UTA014: {0}: W zestawie nie można zdefiniować więcej niż jednej metody z atrybutem AssemblyCleanup.
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
- UTA013: {0}: W zestawie nie można zdefiniować więcej niż jednej metody z atrybutem AssemblyInitialize.
-
+ UTA013: {0}: W zestawie nie można zdefiniować więcej niż jednej metody z atrybutem AssemblyInitialize.
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
- UTA026: {0}: W klasie nie można zdefiniować więcej niż jednej metody z atrybutem ClassCleanup.
-
+ UTA026: {0}: W klasie nie można zdefiniować więcej niż jednej metody z atrybutem ClassCleanup.
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
- UTA025: {0}: W klasie nie można zdefiniować więcej niż jednej metody z atrybutem ClassInitialize.
-
+ UTA025: {0}: W klasie nie można zdefiniować więcej niż jednej metody z atrybutem ClassInitialize.
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
- UTA024: {0}: Nie można zdefiniować więcej niż jednej metody z atrybutem TestCleanup.
-
+ UTA024: {0}: Nie można zdefiniować więcej niż jednej metody z atrybutem TestCleanup.
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
- UTA018: {0}: Nie można zdefiniować więcej niż jednej metody z atrybutem TestInitialize.
-
+ UTA018: {0}: Nie można zdefiniować więcej niż jednej metody z atrybutem TestInitialize.
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
- UTA001: Atrybut TestClass zdefiniowany dla niepublicznej klasy {0}
-
+ UTA001: Atrybut TestClass zdefiniowany dla niepublicznej klasy {0}
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
- Atrybut TestClass zdefiniowany w ogólnej klasie nieabstrakcyjnej {0}
-
+ Atrybut TestClass zdefiniowany w ogólnej klasie nieabstrakcyjnej {0}
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
- Metoda „Execute” zgłosiła nieobsługiwany wyjątek. Zgłoś ten błąd autorowi atrybutu „{0}”.
+ Metoda „Execute” zgłosiła nieobsługiwany wyjątek. Zgłoś ten błąd autorowi atrybutu „{0}”.
{1}
-
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
- Nie powiodło się uzyskanie wyjątku zgłoszonego przez metodę testową {0}.{1}.
-
+ Nie powiodło się uzyskanie wyjątku zgłoszonego przez metodę testową {0}.{1}.
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
- Metoda inicjowania {0}.{1} zgłosiła wyjątek. {2}.
-
+ Metoda inicjowania {0}.{1} zgłosiła wyjątek. {2}.
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
- Nie można utworzyć wystąpienia klasy {0}. Błąd: {1}.
-
+ Nie można utworzyć wystąpienia klasy {0}. Błąd: {1}.
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
- Metoda {0}.{1} nie istnieje.
-
+ Metoda {0}.{1} nie istnieje.
+ {0} is the declaring type name. {1} is the method name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
- Klasa testowa „{0}” ma zdefiniowanych wiele atrybutów pochodzących z „{1}”. Dozwolony jest tylko jeden taki atrybut.
-
+ Klasa testowa „{0}” ma zdefiniowanych wiele atrybutów pochodzących z „{1}”. Dozwolony jest tylko jeden taki atrybut.
+ {0} is the test class name. {1} is the attribute base type name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
- Metoda testowa "{0}.{1}” ma zdefiniowanych wiele atrybutów pochodzących z „{2}”. Dozwolony jest tylko jeden taki atrybut.
-
+ Metoda testowa "{0}.{1}” ma zdefiniowanych wiele atrybutów pochodzących z „{2}”. Dozwolony jest tylko jeden taki atrybut.
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
- Błąd podczas wykonywania testu. Rozszerzenie nie zwróciło żadnego wyniku. W przypadku korzystania z rozszerzenia atrybutu TestMethodAttribute należy skontaktować się z dostawcą.
-
+ Błąd podczas wykonywania testu. Rozszerzenie nie zwróciło żadnego wyniku. W przypadku korzystania z rozszerzenia atrybutu TestMethodAttribute należy skontaktować się z dostawcą.
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- Nie można odnaleźć prawidłowego konstruktora dla klasy testowej „{0}”. Prawidłowe konstruktory są „publiczne” i albo bez parametrów, albo z jednym parametrem typu „TestContext”.
-
+ Nie można odnaleźć prawidłowego konstruktora dla klasy testowej „{0}”. Prawidłowe konstruktory są „publiczne” i albo bez parametrów, albo z jednym parametrem typu „TestContext”.
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
- Nie można znaleźć właściwości {0}.TestContext. Błąd:{1}.
-
+ Nie można znaleźć właściwości {0}.TestContext. Błąd:{1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
- Nie można ustawić właściwości TestContext w klasie {0}. Błąd: {1}.
-
+ Nie można ustawić właściwości TestContext w klasie {0}. Błąd: {1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
- Element {0}.TestContext ma niepoprawny typ.
-
+ Element {0}.TestContext ma niepoprawny typ.
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- Metoda {0}.{1}ma nieprawidłową sygnaturę. Metoda musi być niestatyczna, publiczna, nie może zwracać wartości i nie powinna przyjmować żadnego parametru. Ponadto jeśli w metodzie jest używane oczekiwanie asynchroniczne, wtedy zwracanym typem musi być typ „Task” lub „ValueTask”.
-
+ Metoda {0}.{1}ma nieprawidłową sygnaturę. Metoda musi być niestatyczna, publiczna, nie może zwracać wartości i nie powinna przyjmować żadnego parametru. Ponadto jeśli w metodzie jest używane oczekiwanie asynchroniczne, wtedy zwracanym typem musi być typ „Task” lub „ValueTask”.
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
- Metoda testowa {0}.{1} zgłosiła wyjątek:
+ Metoda testowa {0}.{1} zgłosiła wyjątek:
{2}
-
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
- Nie można uzyskać typu {0}. Błąd: {1}.
-
+ Nie można uzyskać typu {0}. Błąd: {1}.
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
- Wywołany kod zgłosił wyjątek, który został przechwycony, ale wartość wyjątku miała wartość null
-
+ Wywołany kod zgłosił wyjątek, który został przechwycony, ale wartość wyjątku miała wartość null
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
- {0} Jeśli w projektach UWP korzystasz z obiektów interfejsu użytkownika podczas testowania, rozważ użycie atrybutu [UITestMethod] zamiast atrybutu [TestMethod], aby wykonywać test w wątku interfejsu użytkownika.
-
+ {0} Jeśli w projektach UWP korzystasz z obiektów interfejsu użytkownika podczas testowania, rozważ użycie atrybutu [UITestMethod] zamiast atrybutu [TestMethod], aby wykonywać test w wątku interfejsu użytkownika.
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
- (Nie można pobrać komunikatu dotyczącego wyjątku typu {0} z powodu wyjątku).
-
+ (Nie można pobrać komunikatu dotyczącego wyjątku typu {0} z powodu wyjątku).
+ {0} is the exception type name.'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
- Elementy „MSTest.TestAdapter” i „MSTest.TestFramework” muszą mieć tę samą wersję. Znaleziono element „MSTest.TestAdapter” w wersji „{0}” i element „MSTest.TestFramework” w wersji „{1}”. Upewnij się, że wersje pakietów NuGet „MSTest.TestAdapter” i „MSTest.TestFramework” mają tę samą wersję.
-
+ Elementy „MSTest.TestAdapter” i „MSTest.TestFramework” muszą mieć tę samą wersję. Znaleziono element „MSTest.TestAdapter” w wersji „{0}” i element „MSTest.TestFramework” w wersji „{1}”. Upewnij się, że wersje pakietów NuGet „MSTest.TestAdapter” i „MSTest.TestFramework” mają tę samą wersję.
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Wrong number of objects for permutation. Should be greater than zero.
@@ -566,8 +559,8 @@ ale odebrał argumenty {4} z typami „{5}”.
Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
- Ostrzeżenie: metoda testowa „{0}.{1}” ma parametry „out” lub „ref”, które nie są obsługiwane i mogą być niedozwolone w przyszłej wersji narzędzia MSTest.
-
+ Ostrzeżenie: metoda testowa „{0}.{1}” ma parametry „out” lub „ref”, które nie są obsługiwane i mogą być niedozwolone w przyszłej wersji narzędzia MSTest.
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}
diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.pt-BR.xlf b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.pt-BR.xlf
index ea757352ae..0696bdac75 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.pt-BR.xlf
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.pt-BR.xlf
@@ -4,102 +4,97 @@
Assembly cleanup method '{0}.{1}' timed out after {2}ms
- O método de limpeza da montagem '{0}.{1}' atingiu o tempo limite após {2}ms
-
+ O método de limpeza da montagem '{0}.{1}' atingiu o tempo limite após {2}ms
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
- O método de limpeza do assembly "{0}.{1}" foi cancelado
-
+ O método de limpeza do assembly "{0}.{1}" foi cancelado
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
- O método de inicialização da montagem '{0}.{1}' atingiu o tempo limite após {2}ms
-
+ O método de inicialização da montagem '{0}.{1}' atingiu o tempo limite após {2}ms
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
- O método de inicialização do assembly "{0}.{1}" foi cancelado
-
+ O método de inicialização do assembly "{0}.{1}" foi cancelado
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
- MSTestAdapterV2
-
+ MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- Ocorreu uma exceção ao enumerar o atributo IDataSource em "{0}.{1}": {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ Ocorreu uma exceção ao enumerar o atributo IDataSource em "{0}.{1}": {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- Ocorreu uma exceção ao expandir as linhas IDataSource do atributo em "{0}.{1}": {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ Ocorreu uma exceção ao expandir as linhas IDataSource do atributo em "{0}.{1}": {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- Os dados no índice {0} para "{1}" não podem ser serializados. Todos os dados fornecidos por meio de "IDataSource" devem ser serializáveis. Se você precisar testar fontes de dados não serializáveis, certifique-se de adicionar o atributo "TestDataSourceDiscovery" em seu assembly de teste e defina a opção de descoberta como "DuringExecution".
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ Os dados no índice {0} para "{1}" não podem ser serializados. Todos os dados fornecidos por meio de "IDataSource" devem ser serializáveis. Se você precisar testar fontes de dados não serializáveis, certifique-se de adicionar o atributo "TestDataSourceDiscovery" em seu assembly de teste e defina a opção de descoberta como "DuringExecution".
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Could not find file '{0}'.
- Não foi possível encontrar o arquivo '{0}'.
-
+ Não foi possível encontrar o arquivo '{0}'.
+ {0} is the file path.Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
- Não é possível executar o método de teste '{0}.{1}': Os dados de teste não correspondem aos parâmetros do método. A contagem ou os tipos são diferentes.
+ Não é possível executar o método de teste '{0}.{1}': Os dados de teste não correspondem aos parâmetros do método. A contagem ou os tipos são diferentes.
Testar {2} parâmetros esperados, com tipos '{3}',
mas {4} argumentos recebidos, com tipos '{5}'.
-
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
- Não é possível executar o método de teste '{0}.{1}': o método tem parâmetros, mas não define nenhuma fonte de teste. Use '[DataRow]', '[DynamicData]' ou uma fonte de dados 'ITestDataSource' personalizada para fornecer dados de teste.
-
+ Não é possível executar o método de teste '{0}.{1}': o método tem parâmetros, mas não define nenhuma fonte de teste. Use '[DataRow]', '[DynamicData]' ou uma fonte de dados 'ITestDataSource' personalizada para fornecer dados de teste.
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
- O método de limpeza da classe '{0}.{1}' atingiu o tempo limite após {2}ms
-
+ O método de limpeza da classe '{0}.{1}' atingiu o tempo limite após {2}ms
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
- O método de limpeza de classe "{0}.{1}" foi cancelado
-
+ O método de limpeza de classe "{0}.{1}" foi cancelado
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
- O método de inicialização da classe '{0}.{1}' atingiu o tempo limite após {2}ms
-
+ O método de inicialização da classe '{0}.{1}' atingiu o tempo limite após {2}ms
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
- O método de inicialização de classe "{0}.{1}" foi cancelado
-
+ O método de inicialização de classe "{0}.{1}" foi cancelado
+ {0} is the type name. {1} is the class initialize method name.The parameter should not be null or empty.
- O parâmetro não deve ser nulo ou vazio.
-
+ O parâmetro não deve ser nulo ou vazio.
+ {Locked="null"}MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
- O MSTestAdapter não conseguiu descobrir testes na classe '{0}' do assembly '{1}' devido a {2}.
-
+ O MSTestAdapter não conseguiu descobrir testes na classe '{0}' do assembly '{1}' devido a {2}.
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
- {0} (Linha de Dados {1})
-
+ {0} (Linha de Dados {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:
@@ -108,58 +103,58 @@ mas {4} argumentos recebidos, com tipos '{5}'.
Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
- Problema de implantação de Execução de Teste: item de implantação inválido: '{0}': o diretório de saída '{1}' especifica o item a ser implantado fora do diretório raiz de implantação, o que não é permitido.
-
+ Problema de implantação de Execução de Teste: item de implantação inválido: '{0}': o diretório de saída '{1}' especifica o item a ser implantado fora do diretório raiz de implantação, o que não é permitido.
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
- Problema de implantação de Execução de Teste: falha ao acessar o diretório de saída '{1}' especificado pelo item de implantação '{0}', o item não será implantado: {2}: {3}
-
+ Problema de implantação de Execução de Teste: falha ao acessar o diretório de saída '{1}' especificado pelo item de implantação '{0}', o item não será implantado: {2}: {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
- Problema de implantação de Execução de Teste: falha ao acessar o arquivo '{0}': {1}: {2}
-
+ Problema de implantação de Execução de Teste: falha ao acessar o arquivo '{0}': {1}: {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
- Problema de implantação de Execução de Teste: falha ao copiar o arquivo '{0}' em '{1}': {2}: {3}
-
+ Problema de implantação de Execução de Teste: falha ao copiar o arquivo '{0}' em '{1}': {2}: {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
- Problema de implantação de Execução de Teste: falha ao implantar dependências para o armazenamento de teste '{0}': {1}
-
+ Problema de implantação de Execução de Teste: falha ao implantar dependências para o armazenamento de teste '{0}': {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
- Problema de implantação de Execução de Teste: falha ao obter o arquivo para {0}: {1}: {2}
-
+ Problema de implantação de Execução de Teste: falha ao obter o arquivo para {0}: {1}: {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
- Problema de implantação de Execução de Teste: ocorreu um erro ao obter assemblies satélites para {0}: {1}: {2}
-
+ Problema de implantação de Execução de Teste: ocorreu um erro ao obter assemblies satélites para {0}: {1}: {2}
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
- item de implantação '{0}'
-
+ item de implantação '{0}'
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
- Item de implantação inválido: o caminho especificado '{0}' ou o diretório de saída '{1}' contém caracteres ilegais.
-
+ Item de implantação inválido: o caminho especificado '{0}' ou o diretório de saída '{1}' contém caracteres ilegais.
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
- Item de implantação inválido: o diretório de saída não pode ser nulo.
-
+ Item de implantação inválido: o diretório de saída não pode ser nulo.
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
- Item de implantação inválido: o diretório de saída '{0}' especificado não é relativo.
-
+ Item de implantação inválido: o diretório de saída '{0}' especificado não é relativo.
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.
@@ -168,107 +163,105 @@ mas {4} argumentos recebidos, com tipos '{5}'.
deployment item '{0}' (output directory '{1}')
- item de implantação '{0}' (diretório de saída '{1}')
-
+ item de implantação '{0}' (diretório de saída '{1}')
+ {0} is the deployment item path. {1} is the output directory.Discovery failed for source '{0}' with {1} errors:
{2}
- Falha na descoberta da origem "{0}" com {1} erros:
+ Falha na descoberta da origem "{0}" com {1} erros:
{2}
-
+ {0} is the source path. {1} is the error count. {2} is the error details.[MSTest][Discovery][{0}] {1}
- [MSTest][Descoberta][{0}] {1}
-
+ [MSTest][Descoberta][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Only one attribute of type '{0}' is allowed, but multiple were found.
- Somente um atributo do tipo '{0}' tem permissão, mas vários foram encontrados.
-
+ Somente um atributo do tipo '{0}' tem permissão, mas vários foram encontrados.
+ {0} is the attribute type name.Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
- Ambos os arquivos '.runsettings' e '.testconfig.json' foram detectados. Selecione apenas um desses arquivos de configuração de teste.
-
+ Ambos os arquivos '.runsettings' e '.testconfig.json' foram detectados. Selecione apenas um desses arquivos de configuração de teste.
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- "{0}": (Falha ao obter a descrição da exceção devido a uma exceção do tipo "{1}".
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ "{0}": (Falha ao obter a descrição da exceção devido a uma exceção do tipo "{1}".
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
- O teste "{0}" foi cancelado
-
+ O teste "{0}" foi cancelado
+ {0} is the test name.Test '{0}' timed out after {1}ms
- O teste "{0}" atingiu o tempo limite após {1}ms
-
+ O teste "{0}" atingiu o tempo limite após {1}ms
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- A obtenção de atributos personalizados para o tipo {0} gerou uma exceção (irá ignorar e usar o modo de reflexão): {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ A obtenção de atributos personalizados para o tipo {0} gerou uma exceção (irá ignorar e usar o modo de reflexão): {1}
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
- O tipo do parâmetro genérico "{0}" não pôde ser inferido.
-
+ O tipo do parâmetro genérico "{0}" não pôde ser inferido.
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
- O método de teste genérico "{0}" não tem argumentos; portanto, o parâmetro genérico não pode ser inferido.
-
+ O método de teste genérico "{0}" não tem argumentos; portanto, o parâmetro genérico não pode ser inferido.
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- Foram encontrados dois tipos conflitantes para o parâmetro genérico "{0}". Os tipos conflitantes são "{1}" e "{2}".
-
+ Foram encontrados dois tipos conflitantes para o parâmetro genérico "{0}". Os tipos conflitantes são "{1}" e "{2}".
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- Valor inválido '{0}' especificado para 'Scope'. Os escopos compatíveis são {1}.
- {Locked="Scope"}
+ Valor inválido '{0}' especificado para 'Scope'. Os escopos compatíveis são {1}.
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- Valor inválido '{0}' especificado para 'Workers'. O valor deve ser um inteiro não negativo.
- {Locked="Workers"}
+ Valor inválido '{0}' especificado para 'Workers'. O valor deve ser um inteiro não negativo.
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
- Configurações inválidas '{0}'. XmlAttribute inesperado: '{1}'.
-
+ Configurações inválidas '{0}'. XmlAttribute inesperado: '{1}'.
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
- MSTestAdapter encontrou um elemento inesperado '{0}' em suas configurações '{1}'. Remova este elemento e tente novamente.
-
+ MSTestAdapter encontrou um elemento inesperado '{0}' em suas configurações '{1}'. Remova este elemento e tente novamente.
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
- Valor inválido "{0}" para a entrada runsettings "{1}", a configuração será ignorada.
-
+ Valor inválido "{0}" para a entrada runsettings "{1}", a configuração será ignorada.
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
- Problema de implantação de Execução de Teste: o assembly ou módulo '{0}' não foi encontrado. Motivo: {1}
-
+ Problema de implantação de Execução de Teste: o assembly ou módulo '{0}' não foi encontrado. Motivo: {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
- Problema de implantação de Execução de Teste: o assembly ou módulo '{0}' não foi encontrado.
-
+ Problema de implantação de Execução de Teste: o assembly ou módulo '{0}' não foi encontrado.
+ {0} is the assembly or module name.An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
- Uma versão mais antiga do pacote MSTestV2 é carregada no assembly, a descoberta de teste pode falhar ao descobrir todos os testes de dados se eles dependerem do arquivo `.runsettings`.
-
+ Uma versão mais antiga do pacote MSTestV2 é carregada no assembly, a descoberta de teste pode falhar ao descobrir todos os testes de dados se eles dependerem do arquivo `.runsettings`.
+ {Locked="MSTestV2"}{Locked=".runsettings"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -277,13 +270,13 @@ mas {4} argumentos recebidos, com tipos '{5}'.
Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- Ordem de teste aleatória habilitada (Seed: {0}). Defina ''RandomTestOrderSeed'' para reproduzir esta ordem.
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ Ordem de teste aleatória habilitada (Seed: {0}). Defina ''RandomTestOrderSeed'' para reproduzir esta ordem.
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
- Não há suporte para a entrada runsettings "<ExecutionApartmentState>STA</ExecutionApartmentState>" em sistemas operacionais que não sejam Windows.
-
+ Não há suporte para a entrada runsettings "<ExecutionApartmentState>STA</ExecutionApartmentState>" em sistemas operacionais que não sejam Windows.
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}Running tests in any of the provided sources is not supported for the selected platform
@@ -292,108 +285,108 @@ mas {4} argumentos recebidos, com tipos '{5}'.
File does not exist: {0}
- O arquivo não existe: {0}
-
+ O arquivo não existe: {0}
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
- O método de limpeza do teste '{0}.{1}' atingiu o tempo limite após {2}ms
-
+ O método de limpeza do teste '{0}.{1}' atingiu o tempo limite após {2}ms
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
- O método de limpeza de teste "{0}.{1}" foi cancelado
-
+ O método de limpeza de teste "{0}.{1}" foi cancelado
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
- Mensagens TestContext:
-
+ Mensagens TestContext:
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
- O método de inicialização do teste '{0}.{1}' atingiu o tempo limite após {2}ms
-
+ O método de inicialização do teste '{0}.{1}' atingiu o tempo limite após {2}ms
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
- O método de inicialização de teste "{0}.{1}" foi cancelado
-
+ O método de inicialização de teste "{0}.{1}" foi cancelado
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
- O método de teste {0} não foi encontrado.
-
+ O método de teste {0} não foi encontrado.
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- Paralelização de Teste habilitada para {0} (Workers: {1}, Scope: {2})
- {Locked="Workers"}{Locked="Scope"}
+ Paralelização de Teste habilitada para {0} (Workers: {1}, Scope: {2})
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}{0}_{1} {2}
- {0}_{1} {2}
-
+ {0}_{1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
- Falha no método de Limpeza de Assembly {0}.{1}. Mensagem de Erro: {2}. StackTrace: {3}
-
+ Falha no método de Limpeza de Assembly {0}.{1}. Mensagem de Erro: {2}. StackTrace: {3}
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
- UTA070: O tipo "{0}" referenciado por [AssemblyFixtureProvider] não deve ser genérico.
-
+ UTA070: O tipo "{0}" referenciado por [AssemblyFixtureProvider] não deve ser genérico.
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
- UTA071: Falha ao enumerar métodos no tipo "{0}" referenciado por [AssemblyFixtureProvider]. {1}
-
+ UTA071: Falha ao enumerar métodos no tipo "{0}" referenciado por [AssemblyFixtureProvider]. {1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
- UTA072: Falha ao carregar o marcador [AssemblyFixtureProvider] do assembly "{0}". {1}
-
+ UTA072: Falha ao carregar o marcador [AssemblyFixtureProvider] do assembly "{0}". {1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
- O método de Inicialização de Assembly {0}.{1} lançou uma exceção. {2}: {3}. Anulando execução de teste.
-
+ O método de Inicialização de Assembly {0}.{1} lançou uma exceção. {2}: {3}. Anulando execução de teste.
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
- Falha no método de Limpeza de Classe {0}.{1}. Mensagem de Erro: {2}. Rastreamento de Pilha: {3}
-
+ Falha no método de Limpeza de Classe {0}.{1}. Mensagem de Erro: {2}. Rastreamento de Pilha: {3}
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
- O método de Inicialização de Classe {0}.{1} lançou uma exceção. {2}: {3}.
-
+ O método de Inicialização de Classe {0}.{1} lançou uma exceção. {2}: {3}.
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- O método {0}.{1} tem a assinatura incorreta. O método deve ser estático, público, não deve retornar um valor nem receber parâmetro. Além disso, se você estiver usando async-await no método, o return-type deverá ser "Task" ou "ValueTask".
-
+ O método {0}.{1} tem a assinatura incorreta. O método deve ser estático, público, não deve retornar um valor nem receber parâmetro. Além disso, se você estiver usando async-await no método, o return-type deverá ser "Task" ou "ValueTask".
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- O método {0}.{1} tem a assinatura incorreta. O método deve ser estático, público, não retornar um valor e deve usar um único parâmetro do tipo TestContext. Além disso, se você estiver usando async-await no método, o return-type deverá ser "Task" ou "ValueTask".
-
+ O método {0}.{1} tem a assinatura incorreta. O método deve ser estático, público, não retornar um valor e deve usar um único parâmetro do tipo TestContext. Além disso, se você estiver usando async-await no método, o return-type deverá ser "Task" ou "ValueTask".
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
- O método TestCleanup {0}.{1} gerou a exceção. {2}.
-
+ O método TestCleanup {0}.{1} gerou a exceção. {2}.
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
- Erro ao chamar o método Test Cleanup para a classe de teste {0}: {1}
-
+ Erro ao chamar o método Test Cleanup para a classe de teste {0}: {1}
+ {0} is the test class name. {1} is the exception message.Data source '{0}' cannot be found in the test configuration settings
- A fonte de dados '{0}' não pode ser encontrada nas configurações de teste
-
+ A fonte de dados '{0}' não pode ser encontrada nas configurações de teste
+ {0} is the data source name.--- End of inner exception stack trace ---
@@ -402,162 +395,162 @@ mas {4} argumentos recebidos, com tipos '{5}'.
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
- O adaptador de teste de unidade falhou ao conectar-se à fonte de dados ou ao ler os dados. Para obter mais informações sobre como solucionar esse erro, consulte "Solucionando Problemas em Testes de Unidade Controlados por Dados" (http://go.microsoft.com/fwlink/?LinkId=62412) na Biblioteca do MSDN. Detalhes do erro: {0}
-
+ O adaptador de teste de unidade falhou ao conectar-se à fonte de dados ou ao ler os dados. Para obter mais informações sobre como solucionar esse erro, consulte "Solucionando Problemas em Testes de Unidade Controlados por Dados" (http://go.microsoft.com/fwlink/?LinkId=62412) na Biblioteca do MSDN. Detalhes do erro: {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
- UTA031: a classe {0} não tem uma propriedade TestContext válida. TestContext deve ser do tipo TestContext, não deve ser estático e deve ser público. Por exemplo: public TestContext TestContext.
-
+ UTA031: a classe {0} não tem uma propriedade TestContext válida. TestContext deve ser do tipo TestContext, não deve ser estático e deve ser público. Por exemplo: public TestContext TestContext.
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
- UTA007: o método {1} definido na classe {0} não tem a assinatura correta. O método de teste marcado com o atributo [TestMethod] deve ser não estático, público, com tipo de retorno nulo e não deve receber parâmetros. Exemplo: Test.Class1.Test() público nulo. Além disso, se você estiver usando async-await no método de teste, return-type deverá ser "Task" ou "ValueTask". Exemplo: public async Task Test.Class1.Test2()
-
+ UTA007: o método {1} definido na classe {0} não tem a assinatura correta. O método de teste marcado com o atributo [TestMethod] deve ser não estático, público, com tipo de retorno nulo e não deve receber parâmetros. Exemplo: Test.Class1.Test() público nulo. Além disso, se você estiver usando async-await no método de teste, return-type deverá ser "Task" ou "ValueTask". Exemplo: public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
- UTA054: {0}.{1} tem atributo Timeout inválido. O tempo limite deve ser um valor inteiro maior que 0.
-
+ UTA054: {0}.{1} tem atributo Timeout inválido. O tempo limite deve ser um valor inteiro maior que 0.
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
- UTA014: {0}: não é possível definir mais de um método com o atributo AssemblyCleanup em um assembly.
-
+ UTA014: {0}: não é possível definir mais de um método com o atributo AssemblyCleanup em um assembly.
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
- UTA013: {0}: não é possível definir mais de um método com o atributo AssemblyInitialize dentro de um assembly.
-
+ UTA013: {0}: não é possível definir mais de um método com o atributo AssemblyInitialize dentro de um assembly.
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
- UTA026: {0}: não é possível definir mais de um método com o atributo ClassCleanup dentro de uma classe.
-
+ UTA026: {0}: não é possível definir mais de um método com o atributo ClassCleanup dentro de uma classe.
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
- UTA025: {0}: não é possível definir mais de um método com o atributo ClassInitialize em uma classe.
-
+ UTA025: {0}: não é possível definir mais de um método com o atributo ClassInitialize em uma classe.
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
- UTA024: {0}: não é possível definir mais de um método com o atributo TestCleanup.
-
+ UTA024: {0}: não é possível definir mais de um método com o atributo TestCleanup.
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
- UTA018: {0}: não é possível definir mais de um método com o atributo TestInitialize.
-
+ UTA018: {0}: não é possível definir mais de um método com o atributo TestInitialize.
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
- UTA001: atributo TestClass definido em classe não pública {0}
-
+ UTA001: atributo TestClass definido em classe não pública {0}
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
- Atributo TestClass definido em uma classe genérica não abstrata {0}
-
+ Atributo TestClass definido em uma classe genérica não abstrata {0}
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
- Uma exceção sem tratamento foi lançada pelo método "Execute". Relate esse erro ao autor do atributo "{0}".
+ Uma exceção sem tratamento foi lançada pelo método "Execute". Relate esse erro ao autor do atributo "{0}".
{1}
-
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
- Falha ao obter a exceção lançada pelo método de teste {0}.{1}.
-
+ Falha ao obter a exceção lançada pelo método de teste {0}.{1}.
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
- O método de inicialização {0}.{1} gerou exceção. {2}.
-
+ O método de inicialização {0}.{1} gerou exceção. {2}.
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
- Não é possível criar instância da classe {0}. Erro: {1}.
-
+ Não é possível criar instância da classe {0}. Erro: {1}.
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
- O método {0}.{1} não existe.
-
+ O método {0}.{1} não existe.
+ {0} is the declaring type name. {1} is the method name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
- A classe de teste "{0}" tem vários atributos derivados de "{1}" definidos nela. Apenas um atributo desse tipo tem permissão.
-
+ A classe de teste "{0}" tem vários atributos derivados de "{1}" definidos nela. Apenas um atributo desse tipo tem permissão.
+ {0} is the test class name. {1} is the attribute base type name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
- O método de teste '{0}.{1}' tem várias características derivadas de '{2}' definidas nele. Apenas uma dessas características tem permissão.
-
+ O método de teste '{0}.{1}' tem várias características derivadas de '{2}' definidas nele. Apenas uma dessas características tem permissão.
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
- Erro ao executar o teste. Nenhum resultado retornado pela extensão. Se usar a extensão de TestMethodAttribute, entre em contato com o fornecedor.
-
+ Erro ao executar o teste. Nenhum resultado retornado pela extensão. Se usar a extensão de TestMethodAttribute, entre em contato com o fornecedor.
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- Não é possível localizar um construtor válido para a classe de teste '{0}'. Construtores válidos são 'public' e sem parâmetros ou com um parâmetro do tipo 'TestContext'.
-
+ Não é possível localizar um construtor válido para a classe de teste '{0}'. Construtores válidos são 'public' e sem parâmetros ou com um parâmetro do tipo 'TestContext'.
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
- Não é possível encontrar propriedade {0}.TestContext. Erro:{1}.
-
+ Não é possível encontrar propriedade {0}.TestContext. Erro:{1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
- Não é definir a propriedade TestContext para a classe {0}. Erro: {1}.
-
+ Não é definir a propriedade TestContext para a classe {0}. Erro: {1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
- O {0}.TestContext é do tipo incorreto.
-
+ O {0}.TestContext é do tipo incorreto.
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- O método {0}.{1} tem a assinatura incorreta. O método deve ser não estático, público, não deve retornar um valor e não deve receber nenhum parâmetro. Além disso, se você estiver usando async-await no método, o return-type deverá ser "Task" ou "ValueTask".
-
+ O método {0}.{1} tem a assinatura incorreta. O método deve ser não estático, público, não deve retornar um valor e não deve receber nenhum parâmetro. Além disso, se você estiver usando async-await no método, o return-type deverá ser "Task" ou "ValueTask".
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
- O método de teste {0}.{1} lançou a exceção:
+ O método de teste {0}.{1} lançou a exceção:
{2}
-
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
- Não é possível obter o tipo {0}. Erro: {1}.
-
+ Não é possível obter o tipo {0}. Erro: {1}.
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
- O código chamado lançou uma exceção que foi capturada, mas o valor da exceção era nulo
-
+ O código chamado lançou uma exceção que foi capturada, mas o valor da exceção era nulo
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
- {0} Para projetos UWP, se você está usando objetos de IU no teste, considere usar o atributo [UITestMethod] em vez de [TestMethod] para executar o teste no thread da IU.
-
+ {0} Para projetos UWP, se você está usando objetos de IU no teste, considere usar o atributo [UITestMethod] em vez de [TestMethod] para executar o teste no thread da IU.
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
- (Falha ao obter a mensagem para uma exceção do tipo {0} devido a uma exceção.)
-
+ (Falha ao obter a mensagem para uma exceção do tipo {0} devido a uma exceção.)
+ {0} is the exception type name.'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
- 'MSTest.TestAdapter' e 'MSTest.TestFramework' devem ter a mesma versão. Encontrada a versão '{0}' do 'MSTest.TestAdapter' e a versão '{1}' do 'MSTest.TestFramework'. Por favor, verifique se as versões dos pacotes NuGet 'MSTest.TestAdapter' e 'MSTest.TestFramework' são iguais.
-
+ 'MSTest.TestAdapter' e 'MSTest.TestFramework' devem ter a mesma versão. Encontrada a versão '{0}' do 'MSTest.TestAdapter' e a versão '{1}' do 'MSTest.TestFramework'. Por favor, verifique se as versões dos pacotes NuGet 'MSTest.TestAdapter' e 'MSTest.TestFramework' são iguais.
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Wrong number of objects for permutation. Should be greater than zero.
@@ -566,8 +559,8 @@ mas {4} argumentos recebidos, com tipos '{5}'.
Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
- Aviso: o método de teste '{0}.{1}' tem parâmetros 'out' ou 'ref' que não têm suporte e podem não ser permitidos em uma versão futura do MSTest.
-
+ Aviso: o método de teste '{0}.{1}' tem parâmetros 'out' ou 'ref' que não têm suporte e podem não ser permitidos em uma versão futura do MSTest.
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}
diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.ru.xlf b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.ru.xlf
index 11a224d39f..5ce4274e37 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.ru.xlf
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.ru.xlf
@@ -4,102 +4,97 @@
Assembly cleanup method '{0}.{1}' timed out after {2}ms
- Время ожидания метода очистки сборки "{0}.{1}" истекло через {2} мс
-
+ Время ожидания метода очистки сборки "{0}.{1}" истекло через {2} мс
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
- Метод очистки сборки "{0}.{1}" отменен
-
+ Метод очистки сборки "{0}.{1}" отменен
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
- Время ожидания метода инициализации сборки "{0}.{1}" истекло через {2} мс
-
+ Время ожидания метода инициализации сборки "{0}.{1}" истекло через {2} мс
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
- Метод инициализации сборки "{0}.{1}" отменен
-
+ Метод инициализации сборки "{0}.{1}" отменен
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
- MSTestAdapterV2
-
+ MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- Возникло исключение при перечислении атрибута IDataSource в "{0}.{1}": {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ Возникло исключение при перечислении атрибута IDataSource в "{0}.{1}": {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- Возникло исключение при развертывании строк IDataSource из атрибута "{0}.{1}": {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ Возникло исключение при развертывании строк IDataSource из атрибута "{0}.{1}": {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- Не удается сериализовать данные в индексе {0} для "{1}". Все данные, предоставленные через IDataSource, должны быть сериализуемыми. Если необходимо протестировать несериализуемые источники данных, добавьте атрибут "TestDataSourceDiscovery" в тестовую сборку и установите для параметра обнаружения значение "DuringExecution".
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ Не удается сериализовать данные в индексе {0} для "{1}". Все данные, предоставленные через IDataSource, должны быть сериализуемыми. Если необходимо протестировать несериализуемые источники данных, добавьте атрибут "TestDataSourceDiscovery" в тестовую сборку и установите для параметра обнаружения значение "DuringExecution".
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Could not find file '{0}'.
- Не удалось найти файл "{0}".
-
+ Не удалось найти файл "{0}".
+ {0} is the file path.Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
- Не удается запустить метод теста "{0}.{1}": тестовые данные не соответствуют параметрам метода. Не совпадают количество или типы.
+ Не удается запустить метод теста "{0}.{1}": тестовые данные не соответствуют параметрам метода. Не совпадают количество или типы.
Для теста ожидается следующее количество параметров: {2} типов "{3}",
но число полученных аргументов — {4} и они принадлежат к типам "{5}".
-
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
- Не удается запустить метод теста "{0}.{1}": метод имеет параметры, но не определяет источник теста. Используйте "[DataRow]", "[DynamicData]" или настраиваемый источник данных "ITestDataSource" для предоставления тестовых данных.
-
+ Не удается запустить метод теста "{0}.{1}": метод имеет параметры, но не определяет источник теста. Используйте "[DataRow]", "[DynamicData]" или настраиваемый источник данных "ITestDataSource" для предоставления тестовых данных.
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
- Время ожидания метода очистки класса "{0}.{1}" истекло через {2} мс
-
+ Время ожидания метода очистки класса "{0}.{1}" истекло через {2} мс
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
- Метод очистки класса "{0}.{1}" отменен
-
+ Метод очистки класса "{0}.{1}" отменен
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
- Время ожидания метода инициализации класса "{0}.{1}" истекло через {2} мс
-
+ Время ожидания метода инициализации класса "{0}.{1}" истекло через {2} мс
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
- Метод инициализации класса "{0}.{1}" отменен
-
+ Метод инициализации класса "{0}.{1}" отменен
+ {0} is the type name. {1} is the class initialize method name.The parameter should not be null or empty.
- Этот параметр не должен быть пустым или иметь значение NULL.
-
+ Этот параметр не должен быть пустым или иметь значение NULL.
+ {Locked="null"}MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
- Средству MSTestAdapter не удалось обнаружить тесты в классе "{0}" сборки "{1}", так как {2}.
-
+ Средству MSTestAdapter не удалось обнаружить тесты в классе "{0}" сборки "{1}", так как {2}.
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
- {0} (строка данных {1})
-
+ {0} (строка данных {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:
@@ -108,58 +103,58 @@ but received {4} argument(s), with types '{5}'.
Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
- Ошибка развертывания при тестовом запуске: недопустимый элемент развертывания "{0}". В выходном каталоге "{1}" указано, что развертывание этого элемента должно быть выполнено не в корневом каталоге развертывания, что запрещено.
-
+ Ошибка развертывания при тестовом запуске: недопустимый элемент развертывания "{0}". В выходном каталоге "{1}" указано, что развертывание этого элемента должно быть выполнено не в корневом каталоге развертывания, что запрещено.
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
- Ошибка развертывания тестового запуска: не удалось получить доступ к выходному каталогу "{1}", указанному элементом развертывания "{0}"; элемент не будет развернут: {2}: {3}
-
+ Ошибка развертывания тестового запуска: не удалось получить доступ к выходному каталогу "{1}", указанному элементом развертывания "{0}"; элемент не будет развернут: {2}: {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
- Ошибка развертывания тестового запуска: не удалось получить доступ к файлу "{0}": {1}: {2}
-
+ Ошибка развертывания тестового запуска: не удалось получить доступ к файлу "{0}": {1}: {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
- Ошибка развертывания тестового запуска: не удалось скопировать файл "{0}" в "{1}": {2}: {3}
-
+ Ошибка развертывания тестового запуска: не удалось скопировать файл "{0}" в "{1}": {2}: {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
- Ошибка развертывания тестового запуска: не удалось развернуть зависимости для тестового хранилища "{0}": {1}
-
+ Ошибка развертывания тестового запуска: не удалось развернуть зависимости для тестового хранилища "{0}": {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
- Ошибка развертывания тестового запуска: не удалось получить файл для {0}: {1}: {2}
-
+ Ошибка развертывания тестового запуска: не удалось получить файл для {0}: {1}: {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
- Ошибка развертывания тестового запуска: произошла ошибка при получении вспомогательных сборок для {0}: {1}: {2}
-
+ Ошибка развертывания тестового запуска: произошла ошибка при получении вспомогательных сборок для {0}: {1}: {2}
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
- элемент развертывания "{0}"
-
+ элемент развертывания "{0}"
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
- Недопустимый элемент развертывания: указанный путь "{0}" или выходной каталог "{1}" содержат недопустимые символы.
-
+ Недопустимый элемент развертывания: указанный путь "{0}" или выходной каталог "{1}" содержат недопустимые символы.
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
- Недопустимый элемент развертывания: выходной каталог не может быть NULL.
-
+ Недопустимый элемент развертывания: выходной каталог не может быть NULL.
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
- Недопустимый элемент развертывания: указанный выходной каталог "{0}" не является относительным.
-
+ Недопустимый элемент развертывания: указанный выходной каталог "{0}" не является относительным.
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.
@@ -168,107 +163,105 @@ but received {4} argument(s), with types '{5}'.
deployment item '{0}' (output directory '{1}')
- элемент развертывания "{0}" (выходной каталог "{1}")
-
+ элемент развертывания "{0}" (выходной каталог "{1}")
+ {0} is the deployment item path. {1} is the output directory.Discovery failed for source '{0}' with {1} errors:
{2}
- Сбой обнаружения для источника "{0}" с ошибками ({1}):
+ Сбой обнаружения для источника "{0}" с ошибками ({1}):
{2}
-
+ {0} is the source path. {1} is the error count. {2} is the error details.[MSTest][Discovery][{0}] {1}
- [MSTest][Discovery][{0}] {1}
-
+ [MSTest][Discovery][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Only one attribute of type '{0}' is allowed, but multiple were found.
- Разрешен только один атрибут типа "{0}", но найдено несколько.
-
+ Разрешен только один атрибут типа "{0}", но найдено несколько.
+ {0} is the attribute type name.Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
- Обнаружены одновременно файлы ".runsettings" и ".testconfig.json". Выберите только один из этих файлов тестовой конфигурации.
-
+ Обнаружены одновременно файлы ".runsettings" и ".testconfig.json". Выберите только один из этих файлов тестовой конфигурации.
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- "{0}": (Не удалось получить описание исключения из-за исключения типа "{1}".
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ "{0}": (Не удалось получить описание исключения из-за исключения типа "{1}".
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
- Тест "{0}" был отменен
-
+ Тест "{0}" был отменен
+ {0} is the test name.Test '{0}' timed out after {1}ms
- Время ожидания теста "{0}" истекло через {1} мс
-
+ Время ожидания теста "{0}" истекло через {1} мс
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- При получении настраиваемых атрибутов для типа {0} возникло исключение (оно будет проигнорировано и будет использовано отражение): {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ При получении настраиваемых атрибутов для типа {0} возникло исключение (оно будет проигнорировано и будет использовано отражение): {1}
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
- Не удалось определить тип универсального параметра "{0}".
-
+ Не удалось определить тип универсального параметра "{0}".
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
- Универсальный метод "{0}" не имеет аргументов, поэтому невозможно вывести универсальный параметр.
-
+ Универсальный метод "{0}" не имеет аргументов, поэтому невозможно вывести универсальный параметр.
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- Обнаружены два конфликтующих типа для универсального параметра "{0}". Конфликтующие типы: "{1}" и "{2}".
-
+ Обнаружены два конфликтующих типа для универсального параметра "{0}". Конфликтующие типы: "{1}" и "{2}".
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- В поле "Scope" указано недопустимое значение "{0}". Поддерживаемые области: {1}.
- {Locked="Scope"}
+ В поле "Scope" указано недопустимое значение "{0}". Поддерживаемые области: {1}.
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- В поле "Workers" указано недопустимое значение "{0}". Оно должно быть неотрицательным целым числом.
- {Locked="Workers"}
+ В поле "Workers" указано недопустимое значение "{0}". Оно должно быть неотрицательным целым числом.
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
- Недопустимые параметры "{0}". Непредвиденный атрибут XmlAttribute: "{1}".
-
+ Недопустимые параметры "{0}". Непредвиденный атрибут XmlAttribute: "{1}".
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
- MSTestAdapter обнаружил непредвиденный элемент "{0}" в параметрах "{1}". Удалите этот элемент и повторите попытку.
-
+ MSTestAdapter обнаружил непредвиденный элемент "{0}" в параметрах "{1}". Удалите этот элемент и повторите попытку.
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
- Недопустимое значение "{0}" для записи runsettings "{1}", параметр будет пропущен.
-
+ Недопустимое значение "{0}" для записи runsettings "{1}", параметр будет пропущен.
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
- Ошибка развертывания тестового запуска: не удалось найти сборку или модуль "{0}". Причина: {1}
-
+ Ошибка развертывания тестового запуска: не удалось найти сборку или модуль "{0}". Причина: {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
- Ошибка развертывания тестового запуска: не удалось найти сборку или модуль "{0}".
-
+ Ошибка развертывания тестового запуска: не удалось найти сборку или модуль "{0}".
+ {0} is the assembly or module name.An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
- В сборку загружена старая версия пакета MSTestV2. При обнаружении тестов могут быть обнаружены не все тесты данных, если они зависят от файла ".runsettings".
-
+ В сборку загружена старая версия пакета MSTestV2. При обнаружении тестов могут быть обнаружены не все тесты данных, если они зависят от файла ".runsettings".
+ {Locked="MSTestV2"}{Locked=".runsettings"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -277,13 +270,13 @@ but received {4} argument(s), with types '{5}'.
Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- Включен случайный порядок тестирования (Seed: {0}). Чтобы воспроизвести этот порядок, задайте RandomTestOrderSeed.
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ Включен случайный порядок тестирования (Seed: {0}). Чтобы воспроизвести этот порядок, задайте RandomTestOrderSeed.
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
- Запись Runsettings "<ExecutionApartmentState>STA</ExecutionApartmentState>" не поддерживается в ОС, отличных от Windows.
-
+ Запись Runsettings "<ExecutionApartmentState>STA</ExecutionApartmentState>" не поддерживается в ОС, отличных от Windows.
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}Running tests in any of the provided sources is not supported for the selected platform
@@ -292,108 +285,108 @@ but received {4} argument(s), with types '{5}'.
File does not exist: {0}
- Файл не существует: {0}
-
+ Файл не существует: {0}
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
- Время ожидания метода очистки теста "{0}.{1}" истекло через {2} мс
-
+ Время ожидания метода очистки теста "{0}.{1}" истекло через {2} мс
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
- Метод очистки теста "{0}.{1}" отменен
-
+ Метод очистки теста "{0}.{1}" отменен
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
- Сообщения TestContext:
-
+ Сообщения TestContext:
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
- Время ожидания метода инициализации теста "{0}.{1}" истекло через {2} мс
-
+ Время ожидания метода инициализации теста "{0}.{1}" истекло через {2} мс
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
- Метод инициализации теста "{0}.{1}" отменен
-
+ Метод инициализации теста "{0}.{1}" отменен
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
- Метод теста {0} не найден.
-
+ Метод теста {0} не найден.
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- Включена параллелизация тестов для {0} (Workers: {1}, Scope: {2})
- {Locked="Workers"}{Locked="Scope"}
+ Включена параллелизация тестов для {0} (Workers: {1}, Scope: {2})
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}{0}_{1} {2}
- {0}_{1} {2}
-
+ {0}_{1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
- Не удалось применить метод очистки сборки {0}.{1}. Сообщение об ошибке: {2}. Трассировка стека (StackTrace): {3}.
-
+ Не удалось применить метод очистки сборки {0}.{1}. Сообщение об ошибке: {2}. Трассировка стека (StackTrace): {3}.
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
- UTA070: тип "{0}", на который ссылается [AssemblyFixtureProvider], не должен быть универсальным.
-
+ UTA070: тип "{0}", на который ссылается [AssemblyFixtureProvider], не должен быть универсальным.
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
- UTA071: сбой перечисления методов для типа "{0}", на который ссылается [AssemblyFixtureProvider]. {1}
-
+ UTA071: сбой перечисления методов для типа "{0}", на который ссылается [AssemblyFixtureProvider]. {1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
- UTA072: сбой загрузки маркера [AssemblyFixtureProvider] из сборки "{0}". {1}
-
+ UTA072: сбой загрузки маркера [AssemblyFixtureProvider] из сборки "{0}". {1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
- Методом инициализации сборки {0}.{1} создано исключение. {2}: {3}. Выполнение теста прекращается.
-
+ Методом инициализации сборки {0}.{1} создано исключение. {2}: {3}. Выполнение теста прекращается.
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
- Не удалось применить метод очистки класса {0}.{1}. Сообщение об ошибке: {2}. Трассировка стека: {3}.
-
+ Не удалось применить метод очистки класса {0}.{1}. Сообщение об ошибке: {2}. Трассировка стека: {3}.
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
- Методом инициализации класса {0}.{1} создано исключение. {2}: {3}.
-
+ Методом инициализации класса {0}.{1} создано исключение. {2}: {3}.
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- Метод {0}.{1} имеет неправильную сигнатуру. Метод должен быть статическим и открытым, не должен возвращать значение и принимать параметры. Кроме того, при использовании async-await в методе возвращаемое значение должно иметь тип "Task" или "ValueTask".
-
+ Метод {0}.{1} имеет неправильную сигнатуру. Метод должен быть статическим и открытым, не должен возвращать значение и принимать параметры. Кроме того, при использовании async-await в методе возвращаемое значение должно иметь тип "Task" или "ValueTask".
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- Метод {0}.{1} имеет неправильную сигнатуру. Метод должен быть статическим и открытым, не должен возвращать значение и должен принимать один параметр, имеющий тип TestContext. Кроме того, при использовании async-await в методе возвращаемое значение должно иметь тип "Task" или "ValueTask".
-
+ Метод {0}.{1} имеет неправильную сигнатуру. Метод должен быть статическим и открытым, не должен возвращать значение и должен принимать один параметр, имеющий тип TestContext. Кроме того, при использовании async-await в методе возвращаемое значение должно иметь тип "Task" или "ValueTask".
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
- Метод TestCleanup {0}.{1} создал исключение. {2}.
-
+ Метод TestCleanup {0}.{1} создал исключение. {2}.
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
- Ошибка при вызове метода TestCleanup для тестового класса {0}: {1}
-
+ Ошибка при вызове метода TestCleanup для тестового класса {0}: {1}
+ {0} is the test class name. {1} is the exception message.Data source '{0}' cannot be found in the test configuration settings
- Не удалось найти источник данных "{0}" в параметрах конфигурации теста
-
+ Не удалось найти источник данных "{0}" в параметрах конфигурации теста
+ {0} is the data source name.--- End of inner exception stack trace ---
@@ -402,162 +395,162 @@ but received {4} argument(s), with types '{5}'.
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
- Адаптеру модульных тестов не удалось подключиться к источнику данных, чтобы считать данные. Дополнительные сведения об устранении этой ошибки см. в разделе "Устранение неполадок в модульных тестах на основе данных" (http://go.microsoft.com/fwlink/?LinkId=62412) в библиотеке MSDN. Подробности об ошибке: {0}
-
+ Адаптеру модульных тестов не удалось подключиться к источнику данных, чтобы считать данные. Дополнительные сведения об устранении этой ошибки см. в разделе "Устранение неполадок в модульных тестах на основе данных" (http://go.microsoft.com/fwlink/?LinkId=62412) в библиотеке MSDN. Подробности об ошибке: {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
- UTA031: в классе {0} отсутствует допустимое свойство TestContext. Свойство TestContext должно относиться к типу TestContext, быть нестатическим и открытым. Например: public TestContext TestContext.
-
+ UTA031: в классе {0} отсутствует допустимое свойство TestContext. Свойство TestContext должно относиться к типу TestContext, быть нестатическим и открытым. Например: public TestContext TestContext.
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
- UTA007: метод {1}, определенный в классе {0}, имеет неправильную сигнатуру. Метод теста, помеченный атрибутом [TestMethod], должен быть нестатическим, открытым и иметь тип возвращаемого значения void; он также не должен принимать параметры. Пример: public void Test.Class1.Test(). Кроме того, при использовании async-await в методе теста возвращаемое значение должно иметь тип "Task" или "ValueTask". Пример: public async Task Test.Class1.Test2()
-
+ UTA007: метод {1}, определенный в классе {0}, имеет неправильную сигнатуру. Метод теста, помеченный атрибутом [TestMethod], должен быть нестатическим, открытым и иметь тип возвращаемого значения void; он также не должен принимать параметры. Пример: public void Test.Class1.Test(). Кроме того, при использовании async-await в методе теста возвращаемое значение должно иметь тип "Task" или "ValueTask". Пример: public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
- UTA054: {0}. {1} имеет недопустимый атрибут времени ожидания. Значение времени ожидания должно быть положительным целым числом.
-
+ UTA054: {0}. {1} имеет недопустимый атрибут времени ожидания. Значение времени ожидания должно быть положительным целым числом.
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
- UTA014: {0}: в сборке невозможно определить несколько методов с атрибутом AssemblyCleanup.
-
+ UTA014: {0}: в сборке невозможно определить несколько методов с атрибутом AssemblyCleanup.
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
- UTA013: {0}: в сборке невозможно определить несколько методов с атрибутом AssemblyInitialize.
-
+ UTA013: {0}: в сборке невозможно определить несколько методов с атрибутом AssemblyInitialize.
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
- UTA026: {0}: в классе невозможно определить несколько методов с атрибутом ClassCleanup.
-
+ UTA026: {0}: в классе невозможно определить несколько методов с атрибутом ClassCleanup.
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
- UTA025: {0}: в классе невозможно определить несколько методов с атрибутом ClassInitialize.
-
+ UTA025: {0}: в классе невозможно определить несколько методов с атрибутом ClassInitialize.
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
- UTA024: {0}: невозможно определить несколько методов с атрибутом TestCleanup.
-
+ UTA024: {0}: невозможно определить несколько методов с атрибутом TestCleanup.
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
- UTA018: {0}: невозможно определить несколько методов с атрибутом TestInitialize.
-
+ UTA018: {0}: невозможно определить несколько методов с атрибутом TestInitialize.
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
- UTA001: атрибут TestClass определен в классе {0}, не являющемся открытым
-
+ UTA001: атрибут TestClass определен в классе {0}, не являющемся открытым
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
- Атрибут TestClass определен в универсальном неабстрактном классе {0}
-
+ Атрибут TestClass определен в универсальном неабстрактном классе {0}
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
- Метод "Execute" сгенерировал необработанное исключение. Сообщите об этой ошибке автору атрибута "{0}".
+ Метод "Execute" сгенерировал необработанное исключение. Сообщите об этой ошибке автору атрибута "{0}".
{1}
-
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
- Не удалось получить исключение, созданное методом теста {0}.{1}.
-
+ Не удалось получить исключение, созданное методом теста {0}.{1}.
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
- Метод инициализации {0}.{1} вызвал исключение. {2}.
-
+ Метод инициализации {0}.{1} вызвал исключение. {2}.
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
- Не удалось создать экземпляр класса {0}. Ошибка: {1}.
-
+ Не удалось создать экземпляр класса {0}. Ошибка: {1}.
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
- Метод {0}.{1} не существует.
-
+ Метод {0}.{1} не существует.
+ {0} is the declaring type name. {1} is the method name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
- Тестовый класс "{0}" имеет несколько атрибутов, производных от "{1}" определенных в нем. Допускается только один такой атрибут.
-
+ Тестовый класс "{0}" имеет несколько атрибутов, производных от "{1}" определенных в нем. Допускается только один такой атрибут.
+ {0} is the test class name. {1} is the attribute base type name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
- У метода тестирования "{0}.{1}" есть несколько атрибутов, производных от заданного в нем "{2}". Допускается только один такой атрибут.
-
+ У метода тестирования "{0}.{1}" есть несколько атрибутов, производных от заданного в нем "{2}". Допускается только один такой атрибут.
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
- Ошибка при выполнении теста. Расширение не возвратило результаты. Если используется расширение атрибута TestMethodAttribute, обратитесь к поставщику.
-
+ Ошибка при выполнении теста. Расширение не возвратило результаты. Если используется расширение атрибута TestMethodAttribute, обратитесь к поставщику.
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- Не удается найти допустимый конструктор для тестового класса "{0}". Допустимые конструкторы должны быть определены как "public" и либо не иметь параметров, либо иметь один параметр типа "TestContext".
-
+ Не удается найти допустимый конструктор для тестового класса "{0}". Допустимые конструкторы должны быть определены как "public" и либо не иметь параметров, либо иметь один параметр типа "TestContext".
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
- Не удается найти свойство {0}.TestContext. Ошибка: {1}.
-
+ Не удается найти свойство {0}.TestContext. Ошибка: {1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
- Не удалось задать свойство TestContext для класса {0}. Ошибка: {1}.
-
+ Не удалось задать свойство TestContext для класса {0}. Ошибка: {1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
- Для свойства {0}.TestContext указан неправильный тип.
-
+ Для свойства {0}.TestContext указан неправильный тип.
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- Метод {0}.{1} имеет неправильную сигнатуру. Метод должен быть нестатическим и открытым, не должен возвращать значение и принимать параметры. Кроме того, при использовании async-await в методе возвращаемое значение должно иметь тип "Task" или "ValueTask".
-
+ Метод {0}.{1} имеет неправильную сигнатуру. Метод должен быть нестатическим и открытым, не должен возвращать значение и принимать параметры. Кроме того, при использовании async-await в методе возвращаемое значение должно иметь тип "Task" или "ValueTask".
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
- Метод теста {0}.{1} создал исключение:
+ Метод теста {0}.{1} создал исключение:
{2}
-
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
- Не удается получить тип {0}. Ошибка: {1}.
-
+ Не удается получить тип {0}. Ошибка: {1}.
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
- Вызванный код вызвал исключение, которое было перехвачено, но значение исключения было равно NULL
-
+ Вызванный код вызвал исключение, которое было перехвачено, но значение исключения было равно NULL
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
- {0} В проектах UWP, если в тесте используются объекты пользовательского интерфейса, рассмотрите возможность использования атрибута [UITestMethod] вместо атрибута [TestMethod] для выполнения теста в потоке пользовательского интерфейса.
-
+ {0} В проектах UWP, если в тесте используются объекты пользовательского интерфейса, рассмотрите возможность использования атрибута [UITestMethod] вместо атрибута [TestMethod] для выполнения теста в потоке пользовательского интерфейса.
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
- (Не удалось получить сообщение для исключения с типом {0} в связи с возникновением исключения.)
-
+ (Не удалось получить сообщение для исключения с типом {0} в связи с возникновением исключения.)
+ {0} is the exception type name.'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
- "MSTest.TestAdapter" и "MSTest.TestFramework" должны использовать одинаковую версию. Обнаружены "MSTest.TestAdapter" версии "{0}" и "MSTest.TestFramework" версии "{1}". Убедитесь, что версии пакетов NuGet "MSTest.TestAdapter" и "MSTest.TestFramework" совпадают.
-
+ "MSTest.TestAdapter" и "MSTest.TestFramework" должны использовать одинаковую версию. Обнаружены "MSTest.TestAdapter" версии "{0}" и "MSTest.TestFramework" версии "{1}". Убедитесь, что версии пакетов NuGet "MSTest.TestAdapter" и "MSTest.TestFramework" совпадают.
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Wrong number of objects for permutation. Should be greater than zero.
@@ -566,8 +559,8 @@ but received {4} argument(s), with types '{5}'.
Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
- Предупреждение: тестовый метод "{0}.{1}" содержит параметры "out" или "ref", которые не поддерживаются и могут быть запрещены в будущих версиях MSTest.
-
+ Предупреждение: тестовый метод "{0}.{1}" содержит параметры "out" или "ref", которые не поддерживаются и могут быть запрещены в будущих версиях MSTest.
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}
diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.tr.xlf b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.tr.xlf
index b85acecf72..dbdac4ae0d 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.tr.xlf
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.tr.xlf
@@ -4,102 +4,97 @@
Assembly cleanup method '{0}.{1}' timed out after {2}ms
- '{0}.{1}' derleme temizleme yöntemi {2}ms sonra zaman aşımına uğradı
-
+ '{0}.{1}' derleme temizleme yöntemi {2}ms sonra zaman aşımına uğradı
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
- '{0}.{1}' bütünleştirilmiş kod temizleme yöntemi iptal edildi
-
+ '{0}.{1}' bütünleştirilmiş kod temizleme yöntemi iptal edildi
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
- '{0}.{1}' derleme başlatma yöntemi {2}ms sonra zaman aşımına uğradı
-
+ '{0}.{1}' derleme başlatma yöntemi {2}ms sonra zaman aşımına uğradı
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
- '{0}.{1}' derleme başlatma yöntemi iptal edildi
-
+ '{0}.{1}' derleme başlatma yöntemi iptal edildi
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
- MSTestAdapterV2
-
+ MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- "{0}.{1} " üzerinde IDataSource özniteliği numaralandırılırken özel durum oluştu: {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ "{0}.{1} " üzerinde IDataSource özniteliği numaralandırılırken özel durum oluştu: {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- "{0}. {1}" üzerindeki öznitelikten IDataSource satırları genişletilirken özel durum oluştu: {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ "{0}. {1}" üzerindeki öznitelikten IDataSource satırları genişletilirken özel durum oluştu: {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- "{1}" için {0} indeksindeki veriler serileştirilemez. "IDataSource" aracılığıyla sağlanan tüm veriler serileştirilebilir olmalıdır. Serileştirilemeyen veri kaynaklarını test etmeniz gerekiyorsa, lütfen test derlemenize "TestDataSourceDiscovery" özniteliğini eklediğinizden ve keşif seçeneğini "DuringExecution" olarak ayarladığınızdan emin olun.
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ "{1}" için {0} indeksindeki veriler serileştirilemez. "IDataSource" aracılığıyla sağlanan tüm veriler serileştirilebilir olmalıdır. Serileştirilemeyen veri kaynaklarını test etmeniz gerekiyorsa, lütfen test derlemenize "TestDataSourceDiscovery" özniteliğini eklediğinizden ve keşif seçeneğini "DuringExecution" olarak ayarladığınızdan emin olun.
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Could not find file '{0}'.
- '{0}' adlı dosya bulunamadı.
-
+ '{0}' adlı dosya bulunamadı.
+ {0} is the file path.Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
- '{0}.{1}' test yöntemi çalıştırılamıyor: Test verileri yöntem parametreleriyle eşleşmiyor. Ya sayıları ya da türleri birbirinden farklı.
+ '{0}.{1}' test yöntemi çalıştırılamıyor: Test verileri yöntem parametreleriyle eşleşmiyor. Ya sayıları ya da türleri birbirinden farklı.
Test '{3}' türünde {2} parametre bekledi,
ancak, '{5}' türünde {4} bağımsız değişken aldı.
-
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
- '{0}.{1}' test yöntemi çalıştırılamıyor: Yöntemin parametreleri var ancak herhangi bir test kaynağı tanımlamıyor. Test verilerini sağlamak için '[DataRow]', '[DynamicData]' veya özel bir 'ITestDataSource' veri kaynağı kullanın.
-
+ '{0}.{1}' test yöntemi çalıştırılamıyor: Yöntemin parametreleri var ancak herhangi bir test kaynağı tanımlamıyor. Test verilerini sağlamak için '[DataRow]', '[DynamicData]' veya özel bir 'ITestDataSource' veri kaynağı kullanın.
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
- '{0}.{1}' sınıf temizleme yöntemi {2}ms sonra zaman aşımına uğradı
-
+ '{0}.{1}' sınıf temizleme yöntemi {2}ms sonra zaman aşımına uğradı
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
- '{0}.{1}' sınıf temizleme yöntemi iptal edildi
-
+ '{0}.{1}' sınıf temizleme yöntemi iptal edildi
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
- '{0}.{1}' sınıf başlatma yöntemi {2}ms sonra zaman aşımına uğradı
-
+ '{0}.{1}' sınıf başlatma yöntemi {2}ms sonra zaman aşımına uğradı
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
- '{0}.{1}' sınıf başlatma yöntemi iptal edildi
-
+ '{0}.{1}' sınıf başlatma yöntemi iptal edildi
+ {0} is the type name. {1} is the class initialize method name.The parameter should not be null or empty.
- Parametre null veya boş olmamalıdır.
-
+ Parametre null veya boş olmamalıdır.
+ {Locked="null"}MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
- MSTestAdapter, '{1}' bütünleştirilmiş kodunun '{0}' sınıfındaki testleri bulamadı. Nedeni: {2}.
-
+ MSTestAdapter, '{1}' bütünleştirilmiş kodunun '{0}' sınıfındaki testleri bulamadı. Nedeni: {2}.
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
- {0} (Veri Satırı {1})
-
+ {0} (Veri Satırı {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:
@@ -108,58 +103,58 @@ ancak, '{5}' türünde {4} bağımsız değişken aldı.
Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
- Test Çalıştırması dağıtım sorunu: '{0}' dağıtım öğesi hatalı: '{1}' çıktı dizininde öğenin dağıtım kök dizini dışında dağıtılması gerektiği belirtilmiş, ancak buna izin verilmiyor.
-
+ Test Çalıştırması dağıtım sorunu: '{0}' dağıtım öğesi hatalı: '{1}' çıktı dizininde öğenin dağıtım kök dizini dışında dağıtılması gerektiği belirtilmiş, ancak buna izin verilmiyor.
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
- Test Çalıştırması dağıtım sorunu: '{0}' dağıtım öğesi tarafından belirtilen '{1}' çıktı dizinine erişilemedi, öğe dağıtılmayacak: {2}: {3}
-
+ Test Çalıştırması dağıtım sorunu: '{0}' dağıtım öğesi tarafından belirtilen '{1}' çıktı dizinine erişilemedi, öğe dağıtılmayacak: {2}: {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
- Test Çalıştırması dağıtım sorunu: '{0}' adlı dosyaya erişilemedi: {1}: {2}
-
+ Test Çalıştırması dağıtım sorunu: '{0}' adlı dosyaya erişilemedi: {1}: {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
- Test Çalıştırması dağıtım sorunu: '{0}' dosyası '{1}' hedefine kopyalanamadı: {2}: {3}
-
+ Test Çalıştırması dağıtım sorunu: '{0}' dosyası '{1}' hedefine kopyalanamadı: {2}: {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
- Test Çalıştırması dağıtım sorunu: '{0}' adlı test depolama alanı için bağımlılıklar dağıtılamadı: {1}
-
+ Test Çalıştırması dağıtım sorunu: '{0}' adlı test depolama alanı için bağımlılıklar dağıtılamadı: {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
- Test Çalıştırması dağıtım sorunu: {0} için dosya alınamadı: {1}: {2}
-
+ Test Çalıştırması dağıtım sorunu: {0} için dosya alınamadı: {1}: {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
- Test Çalıştırması dağıtım sorunu: {0} için uydu bütünleştirilmiş kodları alınırken bir hata oluştu: {1}: {2}
-
+ Test Çalıştırması dağıtım sorunu: {0} için uydu bütünleştirilmiş kodları alınırken bir hata oluştu: {1}: {2}
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
- '{0}' dağıtım öğesi
-
+ '{0}' dağıtım öğesi
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
- Geçersiz dağıtım öğesi: Belirtilen '{0}' yolu veya '{1}' çıktı dizini geçersiz karakterler içeriyor.
-
+ Geçersiz dağıtım öğesi: Belirtilen '{0}' yolu veya '{1}' çıktı dizini geçersiz karakterler içeriyor.
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
- Geçersiz dağıtım öğesi: Çıktı dizini null olamaz.
-
+ Geçersiz dağıtım öğesi: Çıktı dizini null olamaz.
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
- Geçersiz dağıtım öğesi: Belirtilen '{0}' çıktı dizini göreli değil.
-
+ Geçersiz dağıtım öğesi: Belirtilen '{0}' çıktı dizini göreli değil.
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.
@@ -168,107 +163,105 @@ ancak, '{5}' türünde {4} bağımsız değişken aldı.
deployment item '{0}' (output directory '{1}')
- '{0}' dağıtım öğesi (çıktı dizini '{1}')
-
+ '{0}' dağıtım öğesi (çıktı dizini '{1}')
+ {0} is the deployment item path. {1} is the output directory.Discovery failed for source '{0}' with {1} errors:
{2}
- '{0}' kaynağı için keşif başarısız oldu, {1} hata oluştu:
+ '{0}' kaynağı için keşif başarısız oldu, {1} hata oluştu:
{2}
-
+ {0} is the source path. {1} is the error count. {2} is the error details.[MSTest][Discovery][{0}] {1}
- [MSTest][Discovery][{0}] {1}
-
+ [MSTest][Discovery][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Only one attribute of type '{0}' is allowed, but multiple were found.
- '{0}' türünde yalnızca bir özniteliğe izin veriliyor, ancak birden fazla bulundu.
-
+ '{0}' türünde yalnızca bir özniteliğe izin veriliyor, ancak birden fazla bulundu.
+ {0} is the attribute type name.Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
- Hem '.runsettings' hem de '.testconfig.json' dosyaları algılandı. Lütfen bu test yapılandırma dosyalarından yalnızca birini seçin.
-
+ Hem '.runsettings' hem de '.testconfig.json' dosyaları algılandı. Lütfen bu test yapılandırma dosyalarından yalnızca birini seçin.
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- "{0}": ("{1}" türündeki bir istisna nedeniyle özel durum açıklaması alınamadı.
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ "{0}": ("{1}" türündeki bir istisna nedeniyle özel durum açıklaması alınamadı.
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
- '{0}' testi iptal edildi
-
+ '{0}' testi iptal edildi
+ {0} is the test name.Test '{0}' timed out after {1}ms
- '{0}' testi {1} ms sonra zaman aşımına uğradı
-
+ '{0}' testi {1} ms sonra zaman aşımına uğradı
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- {0} tipi için özel niteliklerin alınması özel durum oluşturdu (yok sayar ve yansıma yolunu kullanır): {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ {0} tipi için özel niteliklerin alınması özel durum oluşturdu (yok sayar ve yansıma yolunu kullanır): {1}
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
- '{0}' genel parametre türü çıkarsanamadı.
-
+ '{0}' genel parametre türü çıkarsanamadı.
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
- '{0}' genel test metodu bağımsız değişkenlere sahip olmadığından, genel parametre çıkarsanamıyor.
-
+ '{0}' genel test metodu bağımsız değişkenlere sahip olmadığından, genel parametre çıkarsanamıyor.
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- '{0}' genel parametresi için iki çakışan tür bulundu. Çakışan türler '{1}' ile '{2}'.
-
+ '{0}' genel parametresi için iki çakışan tür bulundu. Çakışan türler '{1}' ile '{2}'.
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- 'Scope' için geçersiz '{0}' değeri belirtildi. Desteklenen kapsamlar {1}.
- {Locked="Scope"}
+ 'Scope' için geçersiz '{0}' değeri belirtildi. Desteklenen kapsamlar {1}.
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- 'Workers' için geçersiz '{0}' değeri belirtildi. Değer negatif olmayan bir tamsayı olmalıdır.
- {Locked="Workers"}
+ 'Workers' için geçersiz '{0}' değeri belirtildi. Değer negatif olmayan bir tamsayı olmalıdır.
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
- Geçersiz '{0}' ayarları. Beklenmeyen XmlAttribute: '{1}'.
-
+ Geçersiz '{0}' ayarları. Beklenmeyen XmlAttribute: '{1}'.
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
- MSTestAdapter, '{1}' ayarlarında beklenmedik bir öğeyle ('{0}') karşılaştı. Bu öğeyi kaldırıp yeniden deneyin.
-
+ MSTestAdapter, '{1}' ayarlarında beklenmedik bir öğeyle ('{0}') karşılaştı. Bu öğeyi kaldırıp yeniden deneyin.
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
- '{1}' çalıştırma ayarları girişi için '{0}' değeri geçersiz, ayar yoksayılacak.
-
+ '{1}' çalıştırma ayarları girişi için '{0}' değeri geçersiz, ayar yoksayılacak.
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
- Test Çalıştırması dağıtım sorunu: '{0}' adlı bütünleştirilmiş kod veya modül bulunamadı. Nedeni: {1}
-
+ Test Çalıştırması dağıtım sorunu: '{0}' adlı bütünleştirilmiş kod veya modül bulunamadı. Nedeni: {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
- Test Çalıştırması dağıtım sorunu: '{0}' adlı bütünleştirilmiş kod veya modül bulunamadı.
-
+ Test Çalıştırması dağıtım sorunu: '{0}' adlı bütünleştirilmiş kod veya modül bulunamadı.
+ {0} is the assembly or module name.An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
- Montaja MSTestV2 paketinin daha eski bir sürümü yüklenir, test keşfi, `.runsettings` dosyasına bağlılarsa tüm veri testlerini keşfetmede başarısız olabilir.
-
+ Montaja MSTestV2 paketinin daha eski bir sürümü yüklenir, test keşfi, `.runsettings` dosyasına bağlılarsa tüm veri testlerini keşfetmede başarısız olabilir.
+ {Locked="MSTestV2"}{Locked=".runsettings"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -277,13 +270,13 @@ ancak, '{5}' türünde {4} bağımsız değişken aldı.
Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- Rastgele test sırası etkinleştirildi (Seed: {0}). Bu sırayı yeniden oluşturmak için 'RandomTestOrderSeed' değerini ayarlayın.
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ Rastgele test sırası etkinleştirildi (Seed: {0}). Bu sırayı yeniden oluşturmak için 'RandomTestOrderSeed' değerini ayarlayın.
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
- '<ExecutionApartmentState>STA</ExecutionApartmentState>' çalışma ayarları girişi Windows dışı işletim sistemlerinde desteklenmiyor.
-
+ '<ExecutionApartmentState>STA</ExecutionApartmentState>' çalışma ayarları girişi Windows dışı işletim sistemlerinde desteklenmiyor.
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}Running tests in any of the provided sources is not supported for the selected platform
@@ -292,108 +285,108 @@ ancak, '{5}' türünde {4} bağımsız değişken aldı.
File does not exist: {0}
- Dosya yok: {0}
-
+ Dosya yok: {0}
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
- '{0}.{1}' test temizleme yöntemi {2}ms sonra zaman aşımına uğradı
-
+ '{0}.{1}' test temizleme yöntemi {2}ms sonra zaman aşımına uğradı
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
- '{0}.{1}' test temizleme yöntemi iptal edildi
-
+ '{0}.{1}' test temizleme yöntemi iptal edildi
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
- TestContext İletileri:
-
+ TestContext İletileri:
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
- '{0}.{1}' test başlatma yöntemi {2}ms sonra zaman aşımına uğradı
-
+ '{0}.{1}' test başlatma yöntemi {2}ms sonra zaman aşımına uğradı
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
- '{0}.{1}' test başlatma yöntemi iptal edildi
-
+ '{0}.{1}' test başlatma yöntemi iptal edildi
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
- {0} test metodu bulunamadı.
-
+ {0} test metodu bulunamadı.
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- {0} için Test Paralelleştirme etkin (Workers: {1}, Scope: {2})
- {Locked="Workers"}{Locked="Scope"}
+ {0} için Test Paralelleştirme etkin (Workers: {1}, Scope: {2})
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}{0}_{1} {2}
- {0}_{1} {2}
-
+ {0}_{1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
- Bütünleştirilmiş Kod Temizleme metodu ({0}.{1}) başarısız oldu. Hata İletisi: {2}. StackTrace: {3}
-
+ Bütünleştirilmiş Kod Temizleme metodu ({0}.{1}) başarısız oldu. Hata İletisi: {2}. StackTrace: {3}
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
- UTA070: [AssemblyFixtureProvider] tarafından başvurulan '{0}' türü genel olmamalıdır.
-
+ UTA070: [AssemblyFixtureProvider] tarafından başvurulan '{0}' türü genel olmamalıdır.
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
- UTA071: [AssemblyFixtureProvider] tarafından başvurulan '{0}' türündeki yöntemler numaralandırılamadı. {1}
-
+ UTA071: [AssemblyFixtureProvider] tarafından başvurulan '{0}' türündeki yöntemler numaralandırılamadı. {1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
- UTA072: '{0}' derlemesinden [AssemblyFixtureProvider] işaretleyicisi yüklenemedi. {1}
-
+ UTA072: '{0}' derlemesinden [AssemblyFixtureProvider] işaretleyicisi yüklenemedi. {1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
- Bütünleştirilmiş Kod Başlatma metodu ({0}.{1}) özel durum oluşturdu. {2}: {3}. Test yürütmesi durduruluyor.
-
+ Bütünleştirilmiş Kod Başlatma metodu ({0}.{1}) özel durum oluşturdu. {2}: {3}. Test yürütmesi durduruluyor.
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
- Sınıf Temizleme metodu ({0}.{1}) başarısız oldu. Hata İletisi: {2}. Yığın İzlemesi: {3}
-
+ Sınıf Temizleme metodu ({0}.{1}) başarısız oldu. Hata İletisi: {2}. Yığın İzlemesi: {3}
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
- Sınıf Başlatma metodu ({0}.{1}) özel durum oluşturdu. {2}: {3}.
-
+ Sınıf Başlatma metodu ({0}.{1}) özel durum oluşturdu. {2}: {3}.
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- {0}.{1} yönteminin imzası yanlış. Yöntem statik, genel, değer döndürmeyen bir yöntem olmalı, hiçbir parametre almamalıdır. Bunlara ek olarak, yöntemde async-await kullanıyorsanız return-type değeri 'Task' veya 'ValueTask' olmalıdır.
-
+ {0}.{1} yönteminin imzası yanlış. Yöntem statik, genel, değer döndürmeyen bir yöntem olmalı, hiçbir parametre almamalıdır. Bunlara ek olarak, yöntemde async-await kullanıyorsanız return-type değeri 'Task' veya 'ValueTask' olmalıdır.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- {0}.{1} yönteminin imzası yanlış. Yöntem statik, genel, değer döndürmeyen bir yöntem olmalı ve TestContext türünde tek bir parametre almalıdır. Bunlara ek olarak, yöntemde async-await kullanıyorsanız return-type değeri 'Task' veya 'ValueTask' olmalıdır.
-
+ {0}.{1} yönteminin imzası yanlış. Yöntem statik, genel, değer döndürmeyen bir yöntem olmalı ve TestContext türünde tek bir parametre almalıdır. Bunlara ek olarak, yöntemde async-await kullanıyorsanız return-type değeri 'Task' veya 'ValueTask' olmalıdır.
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
- TestCleanup metodu {0}.{1} özel durum oluşturdu. {2}.
-
+ TestCleanup metodu {0}.{1} özel durum oluşturdu. {2}.
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
- {0} test sınıfı için Test Temizleme metodu çağrılırken hata oluştu: {1}
-
+ {0} test sınıfı için Test Temizleme metodu çağrılırken hata oluştu: {1}
+ {0} is the test class name. {1} is the exception message.Data source '{0}' cannot be found in the test configuration settings
- Test yapılandırması ayarlarında '{0}' adlı veri kaynağı bulunamıyor
-
+ Test yapılandırması ayarlarında '{0}' adlı veri kaynağı bulunamıyor
+ {0} is the data source name.--- End of inner exception stack trace ---
@@ -402,162 +395,162 @@ ancak, '{5}' türünde {4} bağımsız değişken aldı.
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
- Birim test bağdaştırıcısı, veri kaynağına bağlanamadı veya verileri okuyamadı. Bu hata ile ilgili daha fazla sorun giderme bilgisi için MSDN Kitaplığı'ndaki "Veri Temelli Birim Testleriyle İlgili Sorunları Giderme" (http://go.microsoft.com/fwlink/?LinkId=62412) konusuna bakın. Hata ayrıntıları: {0}
-
+ Birim test bağdaştırıcısı, veri kaynağına bağlanamadı veya verileri okuyamadı. Bu hata ile ilgili daha fazla sorun giderme bilgisi için MSDN Kitaplığı'ndaki "Veri Temelli Birim Testleriyle İlgili Sorunları Giderme" (http://go.microsoft.com/fwlink/?LinkId=62412) konusuna bakın. Hata ayrıntıları: {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
- UTA031: {0}sınıfı geçerli bir TestContext özelliğine sahip değil. TestContext, TestContext türünde olmalı, static olmamalı ve public olmalıdır. Örnek: public TestContext TestContext.
-
+ UTA031: {0}sınıfı geçerli bir TestContext özelliğine sahip değil. TestContext, TestContext türünde olmalı, static olmamalı ve public olmalıdır. Örnek: public TestContext TestContext.
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
- UTA007: {0} sınıfında tanımlanan {1} yönteminin imzası doğru değil. [TestMethod] özniteliğiyle işaretlenmiş test yöntemi statik olmayan, genel, dönüş türü void olan bir yöntem olmalıdır ve hiçbir parametre almamalıdır. Örnek: public void Test.Class1.Test(). Bunlara ek olarak, test metodunda async-await kullanıyorsanız return-type değeri 'Task' veya 'ValueTask' olmalıdır. Örnek: public async Task Test.Class1.Test2()
-
+ UTA007: {0} sınıfında tanımlanan {1} yönteminin imzası doğru değil. [TestMethod] özniteliğiyle işaretlenmiş test yöntemi statik olmayan, genel, dönüş türü void olan bir yöntem olmalıdır ve hiçbir parametre almamalıdır. Örnek: public void Test.Class1.Test(). Bunlara ek olarak, test metodunda async-await kullanıyorsanız return-type değeri 'Task' veya 'ValueTask' olmalıdır. Örnek: public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
- UTA054: {0}.{1} Timeout özniteliği geçersiz. Zaman aşımı değeri 0'dan büyük bir tamsayı olmalıdır.
-
+ UTA054: {0}.{1} Timeout özniteliği geçersiz. Zaman aşımı değeri 0'dan büyük bir tamsayı olmalıdır.
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
- UTA014: {0}: Bir bütünleştirilmiş kod içinde AssemblyCleanup özniteliği ile birden fazla metot tanımlanamaz.
-
+ UTA014: {0}: Bir bütünleştirilmiş kod içinde AssemblyCleanup özniteliği ile birden fazla metot tanımlanamaz.
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
- UTA013: {0}: Bir bütünleştirilmiş kod içinde AssemblyInitialize özniteliği ile birden fazla metot tanımlanamaz.
-
+ UTA013: {0}: Bir bütünleştirilmiş kod içinde AssemblyInitialize özniteliği ile birden fazla metot tanımlanamaz.
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
- UTA026: {0}: Bir sınıf içinde ClassCleanup özniteliği ile birden fazla metot tanımlanamaz.
-
+ UTA026: {0}: Bir sınıf içinde ClassCleanup özniteliği ile birden fazla metot tanımlanamaz.
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
- UTA025: {0}: Bir sınıf içinde ClassInitialize özniteliği ile birden fazla metot tanımlanamaz.
-
+ UTA025: {0}: Bir sınıf içinde ClassInitialize özniteliği ile birden fazla metot tanımlanamaz.
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
- UTA024: {0}: TestCleanup özniteliği ile birden fazla metot tanımlanamaz.
-
+ UTA024: {0}: TestCleanup özniteliği ile birden fazla metot tanımlanamaz.
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
- UTA018: {0}: TestInitialize özniteliği ile birden fazla metot tanımlanamaz.
-
+ UTA018: {0}: TestInitialize özniteliği ile birden fazla metot tanımlanamaz.
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
- UTA001: TestClass özniteliği genel olmayan {0} sınıfında tanımlanmış
-
+ UTA001: TestClass özniteliği genel olmayan {0} sınıfında tanımlanmış
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
- {0} genel soyut olmayan sınıf üzerinde tanımlanan TestClass özniteliği
-
+ {0} genel soyut olmayan sınıf üzerinde tanımlanan TestClass özniteliği
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
- 'Execute' yöntemi tarafından işlenmeyen bir özel durum oluştu. Lütfen bu hatayı '{0}' özniteliğinin yazarına bildirin.
+ 'Execute' yöntemi tarafından işlenmeyen bir özel durum oluştu. Lütfen bu hatayı '{0}' özniteliğinin yazarına bildirin.
{1}
-
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
- {0}.{1} metodu tarafından oluşturulan özel durum alınamadı.
-
+ {0}.{1} metodu tarafından oluşturulan özel durum alınamadı.
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
- Başlatma metodu {0}.{1} özel durum oluşturdu. {2}.
-
+ Başlatma metodu {0}.{1} özel durum oluşturdu. {2}.
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
- {0} sınıfının örneği oluşturulamıyor. Hata: {1}.
-
+ {0} sınıfının örneği oluşturulamıyor. Hata: {1}.
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
- {0}.{1} metodu yok.
-
+ {0}.{1} metodu yok.
+ {0} is the declaring type name. {1} is the method name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
- '{0}' test sınıfı, üzerinde tanımlanan '{1}' öğesinden türetilmiş birden fazla öznitelik içeriyor. Bu türde yalnızca bir tane özniteliğe izin verilir.
-
+ '{0}' test sınıfı, üzerinde tanımlanan '{1}' öğesinden türetilmiş birden fazla öznitelik içeriyor. Bu türde yalnızca bir tane özniteliğe izin verilir.
+ {0} is the test class name. {1} is the attribute base type name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
- “{0}.{1}” test yöntemi, üzerinde tanımlanan “{2}” öğesinden türetilmiş birden fazla öznitelik içeriyor. Bu türde yalnızca bir tane özniteliğe izin verilir.
-
+ “{0}.{1}” test yöntemi, üzerinde tanımlanan “{2}” öğesinden türetilmiş birden fazla öznitelik içeriyor. Bu türde yalnızca bir tane özniteliğe izin verilir.
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
- Test yürütülürken hata oluştu. Uzantı tarafından hiç sonuç döndürülmedi. TestMethodAttribute uzantısı kullanılıyorsa, lütfen satıcıya başvurun.
-
+ Test yürütülürken hata oluştu. Uzantı tarafından hiç sonuç döndürülmedi. TestMethodAttribute uzantısı kullanılıyorsa, lütfen satıcıya başvurun.
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- '{0}' test sınıfı için geçerli bir oluşturucu bulunamıyor. Geçerli oluşturucular 'public' ve parametresiz veya 'TestContext' türünde tek bir parametre içeriyor.
-
+ '{0}' test sınıfı için geçerli bir oluşturucu bulunamıyor. Geçerli oluşturucular 'public' ve parametresiz veya 'TestContext' türünde tek bir parametre içeriyor.
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
- {0}.TestContext özelliği bulunamıyor. Hata:{1}.
-
+ {0}.TestContext özelliği bulunamıyor. Hata:{1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
- {0} sınıfı için TestContext özelliği ayarlanamıyor. Hata: {1}.
-
+ {0} sınıfı için TestContext özelliği ayarlanamıyor. Hata: {1}.
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
- {0}.TestContext yanlış türe sahip.
-
+ {0}.TestContext yanlış türe sahip.
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- {0}.{1} yönteminin imzası yanlış. Yöntem statik olmayan, genel, değer döndürmeyen bir yöntem olmalı, hiçbir parametre almamalıdır. Bunlara ek olarak, yöntemde async-await kullanıyorsanız return-type değeri 'Task' veya 'ValueTask' olmalıdır.
-
+ {0}.{1} yönteminin imzası yanlış. Yöntem statik olmayan, genel, değer döndürmeyen bir yöntem olmalı, hiçbir parametre almamalıdır. Bunlara ek olarak, yöntemde async-await kullanıyorsanız return-type değeri 'Task' veya 'ValueTask' olmalıdır.
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
- Test yöntemi {0}.{1} istisna oluşturdu:
+ Test yöntemi {0}.{1} istisna oluşturdu:
{2}
-
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
- {0} türü alınamıyor. Hata: {1}.
-
+ {0} türü alınamıyor. Hata: {1}.
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
- Çağrılan kod, yakalanan bir özel durum yarattı, ancak özel durum değeri boştu
-
+ Çağrılan kod, yakalanan bir özel durum yarattı, ancak özel durum değeri boştu
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
- {0} UWP projeleri için testte UI nesneleri kullanıyorsanız, testi UI iş parçacığında yürütmek için [TestMethod] yerine [UITestMethod] özniteliğini kullanabilirsiniz.
-
+ {0} UWP projeleri için testte UI nesneleri kullanıyorsanız, testi UI iş parçacığında yürütmek için [TestMethod] yerine [UITestMethod] özniteliğini kullanabilirsiniz.
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
- (Bir özel durum nedeniyle, {0} türündeki özel durum iletisi alınamadı.)
-
+ (Bir özel durum nedeniyle, {0} türündeki özel durum iletisi alınamadı.)
+ {0} is the exception type name.'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
- 'MSTest.TestAdapter' ve 'MSTest.TestFramework' aynı sürüme sahip olmalıdır. 'MSTest.TestAdapter' sürümü '{0}' ve 'MSTest.TestFramework' sürümü '{1}' bulundu. Lütfen 'MSTest.TestAdapter' ve 'MSTest.TestFramework' NuGet paketlerinin aynı sürüme sahip olduğundan emin olun.
-
+ 'MSTest.TestAdapter' ve 'MSTest.TestFramework' aynı sürüme sahip olmalıdır. 'MSTest.TestAdapter' sürümü '{0}' ve 'MSTest.TestFramework' sürümü '{1}' bulundu. Lütfen 'MSTest.TestAdapter' ve 'MSTest.TestFramework' NuGet paketlerinin aynı sürüme sahip olduğundan emin olun.
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Wrong number of objects for permutation. Should be greater than zero.
@@ -566,8 +559,8 @@ ancak, '{5}' türünde {4} bağımsız değişken aldı.
Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
- Uyarı: '{0}.{1}' test metodunda desteklenmeyen ve gelecekteki bir MSTest sürümünde izin verilmeyebilecek 'out' veya 'ref' parametreleri var.
-
+ Uyarı: '{0}.{1}' test metodunda desteklenmeyen ve gelecekteki bir MSTest sürümünde izin verilmeyebilecek 'out' veya 'ref' parametreleri var.
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}
diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.zh-Hans.xlf b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.zh-Hans.xlf
index e9a8319a66..d202e954eb 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.zh-Hans.xlf
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.zh-Hans.xlf
@@ -4,102 +4,97 @@
Assembly cleanup method '{0}.{1}' timed out after {2}ms
- 程序集清理方法“{0}.{1}”在 {2} ms 后超时
-
+ 程序集清理方法“{0}.{1}”在 {2} ms 后超时
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
- 已取消程序集清理方法“{0}.{1}”
-
+ 已取消程序集清理方法“{0}.{1}”
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
- 程序集初始化方法“{0}.{1}”在 {2} ms 后超时
-
+ 程序集初始化方法“{0}.{1}”在 {2} ms 后超时
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
- 已取消程序集初始化方法“{0}.{1}”
-
+ 已取消程序集初始化方法“{0}.{1}”
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
- MSTestAdapterV2
-
+ MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- 枚举 {0} 上的 IDataSource 属性时发生异常。{1}": {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ 枚举 {0} 上的 IDataSource 属性时发生异常。{1}": {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- 从“{0}.{1}”上的属性扩展 IDataSource 行时出现异常: {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ 从“{0}.{1}”上的属性扩展 IDataSource 行时出现异常: {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- 无法序列化“{1}”的索引 {0} 上的数据。通过“IDataSource”提供的所有数据都应可序列化。如果需要测试不可序列化的数据源,请确保在测试程序集上添加“TestDataSourceDiscovery”属性,并将发现选项设置为“DuringExecution”。
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ 无法序列化“{1}”的索引 {0} 上的数据。通过“IDataSource”提供的所有数据都应可序列化。如果需要测试不可序列化的数据源,请确保在测试程序集上添加“TestDataSourceDiscovery”属性,并将发现选项设置为“DuringExecution”。
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Could not find file '{0}'.
- 找不到文件“{0}”。
-
+ 找不到文件“{0}”。
+ {0} is the file path.Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
- 无法运行测试方法“{0}.{1}”: 测试数据与方法参数不匹配。计数或类型不同。
+ 无法运行测试方法“{0}.{1}”: 测试数据与方法参数不匹配。计数或类型不同。
测试需要类型为“{3}”的 {2} 参数,
但收到了类型为“{5}”的 {4} 参数。
-
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
- 无法运行测试方法“{0}.{1}”: 方法具有参数,但未定义任何测试源。使用 “[DataRow]”、“[DynamicData]” 或自定义 “ITestDataSource” 数据源提供测试数据。
-
+ 无法运行测试方法“{0}.{1}”: 方法具有参数,但未定义任何测试源。使用 “[DataRow]”、“[DynamicData]” 或自定义 “ITestDataSource” 数据源提供测试数据。
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
- 类清理方法“{0}.{1}”在 {2} ms 后超时
-
+ 类清理方法“{0}.{1}”在 {2} ms 后超时
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
- 已取消类清理方法“{0}.{1}”
-
+ 已取消类清理方法“{0}.{1}”
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
- 类初始化方法“{0}.{1}”在 {2} ms 后超时
-
+ 类初始化方法“{0}.{1}”在 {2} ms 后超时
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
- 已取消类初始化方法“{0}.{1}”
-
+ 已取消类初始化方法“{0}.{1}”
+ {0} is the type name. {1} is the class initialize method name.The parameter should not be null or empty.
- 参数不应为 NULL 或为空。
-
+ 参数不应为 NULL 或为空。
+ {Locked="null"}MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
- 由于 {2},MSTestAdapter 未能在程序集“{1}”的类“{0}”中发现测试。
-
+ 由于 {2},MSTestAdapter 未能在程序集“{1}”的类“{0}”中发现测试。
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
- {0} (数据行 {1})
-
+ {0} (数据行 {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:
@@ -108,58 +103,58 @@ but received {4} argument(s), with types '{5}'.
Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
- 测试运行部署问题: 错误的部署项:“{0}”: 输出目录“{1}”指定将该项部署到部署根目录的外部,这是不允许的。
-
+ 测试运行部署问题: 错误的部署项:“{0}”: 输出目录“{1}”指定将该项部署到部署根目录的外部,这是不允许的。
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
- 测试运行部署问题: 未能访问由部署项“{0}”指定的输出目录“{1}”,将不会部署该项: {2}: {3}
-
+ 测试运行部署问题: 未能访问由部署项“{0}”指定的输出目录“{1}”,将不会部署该项: {2}: {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
- 测试运行部署问题: 未能访问文件“{0}”: {1}: {2}
-
+ 测试运行部署问题: 未能访问文件“{0}”: {1}: {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
- 测试运行部署问题: 未能将文件“{0}”复制到“{1}”: {2}: {3}
-
+ 测试运行部署问题: 未能将文件“{0}”复制到“{1}”: {2}: {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
- 测试运行部署问题: 未能部署测试存储区“{0}”的依赖项: {1}
-
+ 测试运行部署问题: 未能部署测试存储区“{0}”的依赖项: {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
- 测试运行部署问题: 未能获得 {0} 的文件: {1}: {2}
-
+ 测试运行部署问题: 未能获得 {0} 的文件: {1}: {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
- 测试运行部署问题: 在获取 {0} 的附属程序集时出错: {1}: {2}
-
+ 测试运行部署问题: 在获取 {0} 的附属程序集时出错: {1}: {2}
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
- 部署项“{0}”
-
+ 部署项“{0}”
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
- 无效的部署项: 指定的路径“{0}”或输出目录“{1}”包含非法字符。
-
+ 无效的部署项: 指定的路径“{0}”或输出目录“{1}”包含非法字符。
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
- 无效的部署项: 输出目录不能为 NULL。
-
+ 无效的部署项: 输出目录不能为 NULL。
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
- 无效的部署项: 指定的输出目录“{0}”不相关。
-
+ 无效的部署项: 指定的输出目录“{0}”不相关。
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.
@@ -168,107 +163,105 @@ but received {4} argument(s), with types '{5}'.
deployment item '{0}' (output directory '{1}')
- 部署项“{0}”(输出目录“{1}”)
-
+ 部署项“{0}”(输出目录“{1}”)
+ {0} is the deployment item path. {1} is the output directory.Discovery failed for source '{0}' with {1} errors:
{2}
- 源“{0}”发现失败,发生了 {1} 个错误:
+ 源“{0}”发现失败,发生了 {1} 个错误:
{2}
-
+ {0} is the source path. {1} is the error count. {2} is the error details.[MSTest][Discovery][{0}] {1}
- [MSTest][发现][{0}] {1}
-
+ [MSTest][发现][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Only one attribute of type '{0}' is allowed, but multiple were found.
- 只允许一个类型为“{0}”的属性,但发现了多个。
-
+ 只允许一个类型为“{0}”的属性,但发现了多个。
+ {0} is the attribute type name.Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
- 检测到 ".runsettings" 和 ".testconfig.json" 文件。请仅选择其中一个测试配置文件。
-
+ 检测到 ".runsettings" 和 ".testconfig.json" 文件。请仅选择其中一个测试配置文件。
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- “{0}”:(由于类型“{1}”异常,无法获取异常说明。
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ “{0}”:(由于类型“{1}”异常,无法获取异常说明。
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
- 测试“{0}”已取消
-
+ 测试“{0}”已取消
+ {0} is the test name.Test '{0}' timed out after {1}ms
- 测试“{0}”在 {1} 毫秒后超时
-
+ 测试“{0}”在 {1} 毫秒后超时
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- 获取类型 {0} 自定义属性引发异常(将忽略并使用反射方式): {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ 获取类型 {0} 自定义属性引发异常(将忽略并使用反射方式): {1}
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
- 无法推断泛型参数“{0}”的类型。
-
+ 无法推断泛型参数“{0}”的类型。
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
- 泛型测试方法“{0}”没有参数,因此无法推断泛型参数。
-
+ 泛型测试方法“{0}”没有参数,因此无法推断泛型参数。
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- 发现泛型参数“{0}”有两种冲突类型。冲突类型为“{1}”和“{2}”。
-
+ 发现泛型参数“{0}”有两种冲突类型。冲突类型为“{1}”和“{2}”。
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- 为 ‘Scope’ 指定的值 ‘{0}’ 无效。受支持的范围为 {1}。
- {Locked="Scope"}
+ 为 ‘Scope’ 指定的值 ‘{0}’ 无效。受支持的范围为 {1}。
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- 为 ‘Workers’ 指定的值 ‘{0}’ 无效。该值应为非负整数。
- {Locked="Workers"}
+ 为 ‘Workers’ 指定的值 ‘{0}’ 无效。该值应为非负整数。
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
- 设置“{0}”无效。意外的 XmlAttribute:“{1}”。
-
+ 设置“{0}”无效。意外的 XmlAttribute:“{1}”。
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
- MSTestAdapter 在其设置“{1}”中遇到意外的元素“{0}”。删除此元素,然后再试一次。
-
+ MSTestAdapter 在其设置“{1}”中遇到意外的元素“{0}”。删除此元素,然后再试一次。
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
- runsettings 项 ‘{1}’ 的值 ‘{0}’ 无效,将忽略设置。
-
+ runsettings 项 ‘{1}’ 的值 ‘{0}’ 无效,将忽略设置。
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
- 测试运行部署问题: 找不到程序集或模块“{0}”。原因: {1}
-
+ 测试运行部署问题: 找不到程序集或模块“{0}”。原因: {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
- 测试运行部署问题: 找不到程序集或模块“{0}”。
-
+ 测试运行部署问题: 找不到程序集或模块“{0}”。
+ {0} is the assembly or module name.An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
- 程序集中加载了 MSTestV2 包的较旧版本,如果测试发现依赖于“.runsettings”文件,则它们可能无法发现所有数据测试。
-
+ 程序集中加载了 MSTestV2 包的较旧版本,如果测试发现依赖于“.runsettings”文件,则它们可能无法发现所有数据测试。
+ {Locked="MSTestV2"}{Locked=".runsettings"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -277,13 +270,13 @@ but received {4} argument(s), with types '{5}'.
Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- 已启用随机测试顺序(Seed: {0})。设置 "RandomTestOrderSeed" 以重现此顺序。
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ 已启用随机测试顺序(Seed: {0})。设置 "RandomTestOrderSeed" 以重现此顺序。
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
- 非 Windows 操作系统不支持 Runsettings 条目 "<ExecutionApartmentState>STA</ExecutionApartmentState>"。
-
+ 非 Windows 操作系统不支持 Runsettings 条目 "<ExecutionApartmentState>STA</ExecutionApartmentState>"。
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}Running tests in any of the provided sources is not supported for the selected platform
@@ -292,108 +285,108 @@ but received {4} argument(s), with types '{5}'.
File does not exist: {0}
- 文件不存在: {0}
-
+ 文件不存在: {0}
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
- 测试清理方法“{0}.{1}”在 {2} ms 后超时
-
+ 测试清理方法“{0}.{1}”在 {2} ms 后超时
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
- 已取消测试清理方法“{0}.{1}”
-
+ 已取消测试清理方法“{0}.{1}”
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
- TestContext 消息:
-
+ TestContext 消息:
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
- 测试初始化方法“{0}.{1}”在 {2} ms 后超时
-
+ 测试初始化方法“{0}.{1}”在 {2} ms 后超时
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
- 已取消测试初始化方法“{0}.{1}”
-
+ 已取消测试初始化方法“{0}.{1}”
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
- 未找到测试方法 {0}。
-
+ 未找到测试方法 {0}。
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- 已为 {0} 启用测试并行化(Workers: {1},Scope: {2})
- {Locked="Workers"}{Locked="Scope"}
+ 已为 {0} 启用测试并行化(Workers: {1},Scope: {2})
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}{0}_{1} {2}
- {0}_{1} {2}
-
+ {0}_{1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
- 程序集清理方法 {0}.{1} 失败。错误消息: {2}。StackTrace: {3}
-
+ 程序集清理方法 {0}.{1} 失败。错误消息: {2}。StackTrace: {3}
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
- UTA070: [AssemblyFixtureProvider] 引用的类型 "{0}" 不能是泛型类型。
-
+ UTA070: [AssemblyFixtureProvider] 引用的类型 "{0}" 不能是泛型类型。
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
- UTA071: 无法枚举 [AssemblyFixtureProvider] 引用的类型 "{0}" 上的方法。{1}
-
+ UTA071: 无法枚举 [AssemblyFixtureProvider] 引用的类型 "{0}" 上的方法。{1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
- UTA072: 无法从程序集 "{0}" 加载 [AssemblyFixtureProvider] 标记。{1}
-
+ UTA072: 无法从程序集 "{0}" 加载 [AssemblyFixtureProvider] 标记。{1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
- 程序集初始化方法 {0}.{1} 引发异常。{2}: {3}。正在中止测试的执行。
-
+ 程序集初始化方法 {0}.{1} 引发异常。{2}: {3}。正在中止测试的执行。
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
- 类清理方法 {0}.{1} 失败。错误消息: {2}。堆栈跟踪: {3}
-
+ 类清理方法 {0}.{1} 失败。错误消息: {2}。堆栈跟踪: {3}
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
- 类初始化方法 {0}.{1} 引发异常。{2}: {3}。
-
+ 类初始化方法 {0}.{1} 引发异常。{2}: {3}。
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- 方法 {0}。{1}的签名错误。该方法必须是静态的公共方法、不返回值并且不应采用任何参数。此外,如果在方法中使用同步等待,则返回类型必须为“Task”或“Value Task”。
-
+ 方法 {0}。{1}的签名错误。该方法必须是静态的公共方法、不返回值并且不应采用任何参数。此外,如果在方法中使用同步等待,则返回类型必须为“Task”或“Value Task”。
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- 方法 {0}。{1}的签名错误。该方法必须是静态的公共方法,不返回值,并且应采用一个 TestContext 类型的参数。此外,如果在方法中使用同步等待,则返回类型必须为“Task”或“Value Task”。
-
+ 方法 {0}。{1}的签名错误。该方法必须是静态的公共方法,不返回值,并且应采用一个 TestContext 类型的参数。此外,如果在方法中使用同步等待,则返回类型必须为“Task”或“Value Task”。
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
- TestCleanup 方法 {0}.{1} 引发异常。{2}。
-
+ TestCleanup 方法 {0}.{1} 引发异常。{2}。
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
- 为测试类 {0} 调用 Test Cleanup 方法时出错: {1}
-
+ 为测试类 {0} 调用 Test Cleanup 方法时出错: {1}
+ {0} is the test class name. {1} is the exception message.Data source '{0}' cannot be found in the test configuration settings
- 在测试配置设置中找不到数据源“{0}”
-
+ 在测试配置设置中找不到数据源“{0}”
+ {0} is the data source name.--- End of inner exception stack trace ---
@@ -402,162 +395,162 @@ but received {4} argument(s), with types '{5}'.
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
- 单元测试适配器未能连接到数据源或读取数据。有关解决此错误的详细信息,请查看 MSDN 库中的“数据驱动单元测试疑难解答”(http://go.microsoft.com/fwlink/?LinkId=62412)。错误详细信息: {0}
-
+ 单元测试适配器未能连接到数据源或读取数据。有关解决此错误的详细信息,请查看 MSDN 库中的“数据驱动单元测试疑难解答”(http://go.microsoft.com/fwlink/?LinkId=62412)。错误详细信息: {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
- UTA031: 类 {0} 没有有效的 TestContext 属性。TestContext 必须是 TestContext 类型并且必须是非静态和公共的。例如: public TestContext TestContext。
-
+ UTA031: 类 {0} 没有有效的 TestContext 属性。TestContext 必须是 TestContext 类型并且必须是非静态和公共的。例如: public TestContext TestContext。
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
- UTA007: 在类 {0} 中定义的方法 {1} 没有正确的签名。用 [TestMethod] 特性标记的测试方法必须是返回类型为 void 的非静态的公共方法,并且不应采用任何参数。示例: public void Test.Class1.Test()。此外,如果在测试方法中使用同步等待,则返回类型必须为“Task”或“Value Task”。示例: public async Task Test.Class1.Test2()
-
+ UTA007: 在类 {0} 中定义的方法 {1} 没有正确的签名。用 [TestMethod] 特性标记的测试方法必须是返回类型为 void 的非静态的公共方法,并且不应采用任何参数。示例: public void Test.Class1.Test()。此外,如果在测试方法中使用同步等待,则返回类型必须为“Task”或“Value Task”。示例: public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
- UTA054: {0}。{1} 的超时属性无效。“超时”必须是大于零的整数值。
-
+ UTA054: {0}。{1} 的超时属性无效。“超时”必须是大于零的整数值。
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
- UTA014: {0}: 在一个程序集内部,不能定义多个具有 AssemblyCleanup 特性的方法。
-
+ UTA014: {0}: 在一个程序集内部,不能定义多个具有 AssemblyCleanup 特性的方法。
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
- UTA013: {0}: 在一个程序集内部,不能定义多个具有 AssemblyInitialize 特性的方法。
-
+ UTA013: {0}: 在一个程序集内部,不能定义多个具有 AssemblyInitialize 特性的方法。
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
- UTA026: {0}: 在一个类内部,不能定义多个具有 ClassCleanup 特性的方法。
-
+ UTA026: {0}: 在一个类内部,不能定义多个具有 ClassCleanup 特性的方法。
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
- UTA025: {0}: 在一个类内部,不能定义多个具有 ClassInitialize 特性的方法。
-
+ UTA025: {0}: 在一个类内部,不能定义多个具有 ClassInitialize 特性的方法。
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
- UTA024: {0}: 不能定义多个具有 TestCleanup 特性的方法。
-
+ UTA024: {0}: 不能定义多个具有 TestCleanup 特性的方法。
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
- UTA018: {0}: 不能定义多个具有 TestInitialize 特性的方法。
-
+ UTA018: {0}: 不能定义多个具有 TestInitialize 特性的方法。
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
- UTA001: 在非公共类 {0} 上定义的 TestClass 特性
-
+ UTA001: 在非公共类 {0} 上定义的 TestClass 特性
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
- 在泛型非抽象类 {0} 上定义的 TestClass 特性
-
+ 在泛型非抽象类 {0} 上定义的 TestClass 特性
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
- “Execute”方法引发了未经处理的异常。请将此错误报告给属性“{0}”的作者。
+ “Execute”方法引发了未经处理的异常。请将此错误报告给属性“{0}”的作者。
{1}
-
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
- 未能获取测试方法 {0}.{1} 引发的异常。
-
+ 未能获取测试方法 {0}.{1} 引发的异常。
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
- 初始化方法 {0}.{1} 引发异常。{2}。
-
+ 初始化方法 {0}.{1} 引发异常。{2}。
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
- 无法创建类 {0} 的实例。错误: {1}。
-
+ 无法创建类 {0} 的实例。错误: {1}。
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
- 方法 {0}.{1} 不存在。
-
+ 方法 {0}.{1} 不存在。
+ {0} is the declaring type name. {1} is the method name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
- 测试类“{0}”上定义了多个派生自“{1}”的属性。仅允许一个此类属性。
-
+ 测试类“{0}”上定义了多个派生自“{1}”的属性。仅允许一个此类属性。
+ {0} is the test class name. {1} is the attribute base type name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
- 测试方法“{0}.{1}”具有多个在其上定义的“{2}”的派生属性。仅允许一个此类属性。
-
+ 测试方法“{0}.{1}”具有多个在其上定义的“{2}”的派生属性。仅允许一个此类属性。
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
- 执行测试时出错。扩展未返回任何结果。如果使用的是扩展 TestMethodAttribute ,请与供应商联系。
-
+ 执行测试时出错。扩展未返回任何结果。如果使用的是扩展 TestMethodAttribute ,请与供应商联系。
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- 找不到测试类“{0}”的有效构造函数。有效的构造函数为 “public”,但该构造函数无参数或具有一个类型为 “TestContext” 的参数。
-
+ 找不到测试类“{0}”的有效构造函数。有效的构造函数为 “public”,但该构造函数无参数或具有一个类型为 “TestContext” 的参数。
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
- 无法找到属性 {0}.TestContext。错误: {1}。
-
+ 无法找到属性 {0}.TestContext。错误: {1}。
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
- 无法设置类 {0} 的 TestContext 属性。错误: {1}。
-
+ 无法设置类 {0} 的 TestContext 属性。错误: {1}。
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
- {0}.TestContext 的类型不正确。
-
+ {0}.TestContext 的类型不正确。
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- 方法 {0}。{1}的签名错误。该方法必须是非静态的公共方法、不返回值并且不应采用任何参数。此外,如果在方法中使用同步等待,则返回类型必须为“Task”或“Value Task”。
-
+ 方法 {0}。{1}的签名错误。该方法必须是非静态的公共方法、不返回值并且不应采用任何参数。此外,如果在方法中使用同步等待,则返回类型必须为“Task”或“Value Task”。
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
- 测试方法 {0}。{1} 引发了异常:
+ 测试方法 {0}。{1} 引发了异常:
{2}
-
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
- 无法获取类型 {0}。错误: {1}。
-
+ 无法获取类型 {0}。错误: {1}。
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
- 调用的代码引发了捕获的异常,但异常值为 null
-
+ 调用的代码引发了捕获的异常,但异常值为 null
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
- {0} 对于 UWP 项目,如果在测试中使用 UI 对象,请考虑使用 [UITestMethod] 属性代替 [TestMethod] 属性在 UI 线程中执行测试。
-
+ {0} 对于 UWP 项目,如果在测试中使用 UI 对象,请考虑使用 [UITestMethod] 属性代替 [TestMethod] 属性在 UI 线程中执行测试。
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
- (因异常而未能获取类型为 {0} 的异常的消息。)
-
+ (因异常而未能获取类型为 {0} 的异常的消息。)
+ {0} is the exception type name.'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
- 'MSTest.TestAdapter' 和 'MSTest.TestFramework' 必须具有相同的版本。找到 'MSTest.TestAdapter' 版本“{0}”和 'MSTest.TestFramework' 版本“{1}”。请确保 'MSTest.TestAdapter' 和 'MSTest.TestFramework' NuGet 包的版本具有相同的版本。
-
+ 'MSTest.TestAdapter' 和 'MSTest.TestFramework' 必须具有相同的版本。找到 'MSTest.TestAdapter' 版本“{0}”和 'MSTest.TestFramework' 版本“{1}”。请确保 'MSTest.TestAdapter' 和 'MSTest.TestFramework' NuGet 包的版本具有相同的版本。
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Wrong number of objects for permutation. Should be greater than zero.
@@ -566,8 +559,8 @@ but received {4} argument(s), with types '{5}'.
Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
- 警告: 测试方法“{0}.{1}”包含 "out" 或 "ref" 参数,未来的 MSTest 版本不支持并且可能会禁用这些参数。
-
+ 警告: 测试方法“{0}.{1}”包含 "out" 或 "ref" 参数,未来的 MSTest 版本不支持并且可能会禁用这些参数。
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}
diff --git a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.zh-Hant.xlf b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.zh-Hant.xlf
index 227de99936..11209cf20c 100644
--- a/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.zh-Hant.xlf
+++ b/src/Adapter/MSTestAdapter.PlatformServices/Resources/xlf/Resource.zh-Hant.xlf
@@ -4,102 +4,97 @@
Assembly cleanup method '{0}.{1}' timed out after {2}ms
- 組件清理方法 '{0}.{1}' 在 {2} 毫秒後已逾時
-
+ 組件清理方法 '{0}.{1}' 在 {2} 毫秒後已逾時
+ {0} is the type name. {1} is the assembly cleanup method name. {2} is the timeout in milliseconds.Assembly cleanup method '{0}.{1}' was canceled
- 已取消組件清理方法 '{0}.{1}'
-
+ 已取消組件清理方法 '{0}.{1}'
+ {0} is the type name. {1} is the assembly cleanup method name.Assembly initialize method '{0}.{1}' timed out after {2}ms
- 組件初始化方法 '{0}.{1}' 在 {2} 毫秒後已逾時
-
+ 組件初始化方法 '{0}.{1}' 在 {2} 毫秒後已逾時
+ {0} is the type name. {1} is the assembly initialize method name. {2} is the timeout in milliseconds.Assembly initialize method '{0}.{1}' was canceled
- 已取消組件初始化方法 '{0}.{1}'
-
+ 已取消組件初始化方法 '{0}.{1}'
+ {0} is the type name. {1} is the assembly initialize method name.MSTestAdapterV2
- MSTestAdapterV2
-
+ MSTestAdapterV2
+ {Locked="MSTestAdapterV2"}Exception occurred while enumerating IDataSource attribute on "{0}.{1}": {2}
- 列舉「{0}.{1}」上的 IDataSource 屬性時發生例外狀況: {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: Exception details
+ 列舉「{0}.{1}」上的 IDataSource 屬性時發生例外狀況: {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the exception details. {Locked="IDataSource"}Exception occurred while expanding IDataSource rows from attribute on "{0}.{1}": {2}
- 從「{0}.{1}」上的屬性展開 IDataSource 資料列時發生例外狀況: {2}
- {0}: TypeName with namespace,
-{1}: Method name,
-{2}: CannotExpandIDataSourceAttribute_DuplicateDisplayName or CannotExpandIDataSourceAttribute_CannotSerialize
+ 從「{0}.{1}」上的屬性展開 IDataSource 資料列時發生例外狀況: {2}
+ {0} is the type name with namespace. {1} is the method name. {2} is the row expansion warning. {Locked="IDataSource"}{Locked="CannotExpandIDataSourceAttribute_DuplicateDisplayName"}{Locked="CannotExpandIDataSourceAttribute_CannotSerialize"}Data on index {0} for "{1}" cannot be serialized. All data provided through "IDataSource" should be serializable. If you need to test non-serializable data sources, please make sure you add "TestDataSourceDiscovery" attribute on your test assembly and set the discovery option to "DuringExecution".
- 無法序列化「{1}"」索引 {0} 上的資料。透過「IDataSource」提供的所有資料應可序列化。如果您需要測試不可序列化的資料來源,請務必在測試元件上新增「TestDataSourceDiscovery」屬性,並將探索選項設定為「DuringExecution」。
- {0}: Zero based index if an element inside of an array,
-{1}: Test name
+ 無法序列化「{1}"」索引 {0} 上的資料。透過「IDataSource」提供的所有資料應可序列化。如果您需要測試不可序列化的資料來源,請務必在測試元件上新增「TestDataSourceDiscovery」屬性,並將探索選項設定為「DuringExecution」。
+ {0} is the zero-based data row index. {1} is the test name. {Locked="IDataSource"}{Locked="TestDataSourceDiscovery"}{Locked="DuringExecution"}Could not find file '{0}'.
- 找不到檔案 '{0}'。
-
+ 找不到檔案 '{0}'。
+ {0} is the file path.Cannot run test method '{0}.{1}': Test data doesn't match method parameters. Either the count or types are different.
Test expected {2} parameter(s), with types '{3}',
but received {4} argument(s), with types '{5}'.
- 無法執行測試方法 '{0}.{1}': 測試資料不符合方法參數。計數或類型不同。
+ 無法執行測試方法 '{0}.{1}': 測試資料不符合方法參數。計數或類型不同。
測試預期的 {2} 參數,類型為 '{3}',
但收到 {4} 引數,類型為 '{5}'。
-
+ {0} is the declaring type full name. {1} is the method name. {2} is the expected parameter count. {3} is the expected parameter type list. {4} is the received argument count. {5} is the received argument type list.Cannot run test method '{0}.{1}': Method has parameters, but does not define any test source. Use '[DataRow]', '[DynamicData]', or a custom 'ITestDataSource' data source to provide test data.
- 無法執行測試方法 '{0}.{1}': 方法具有參數,但未定義任何測試來源。使用 '[DataRow]'、'[DynamicData]' 或自訂 'ITestDataSource' 資料來源來提供測試資料。
-
+ 無法執行測試方法 '{0}.{1}': 方法具有參數,但未定義任何測試來源。使用 '[DataRow]'、'[DynamicData]' 或自訂 'ITestDataSource' 資料來源來提供測試資料。
+ {0} is the declaring type full name. {1} is the method name. {Locked="[DataRow]"}{Locked="[DynamicData]"}{Locked="ITestDataSource"}Class cleanup method '{0}.{1}' timed out after {2}ms
- 類別清理方法 '{0}.{1}' 在 {2} 毫秒後已逾時
-
+ 類別清理方法 '{0}.{1}' 在 {2} 毫秒後已逾時
+ {0} is the type name. {1} is the class cleanup method name. {2} is the timeout in milliseconds.Class cleanup method '{0}.{1}' was canceled
- 已取消類別清理方法 '{0}.{1}'
-
+ 已取消類別清理方法 '{0}.{1}'
+ {0} is the type name. {1} is the class cleanup method name.Class initialize method '{0}.{1}' timed out after {2}ms
- 類別初始化方法 '{0}.{1}' 在 {2} 毫秒後已逾時
-
+ 類別初始化方法 '{0}.{1}' 在 {2} 毫秒後已逾時
+ {0} is the type name. {1} is the class initialize method name. {2} is the timeout in milliseconds.Class initialize method '{0}.{1}' was canceled
- 已取消類別初始化方法 '{0}.{1}'
-
+ 已取消類別初始化方法 '{0}.{1}'
+ {0} is the type name. {1} is the class initialize method name.The parameter should not be null or empty.
- 參數不可為 null 或空白。
-
+ 參數不可為 null 或空白。
+ {Locked="null"}MSTestAdapter failed to discover tests in class '{0}' of assembly '{1}' because {2}.
- MSTestAdapter 無法在組件 '{1}' 的類別 '{0}' 中探索測試,因為 {2}。
-
+ MSTestAdapter 無法在組件 '{1}' 的類別 '{0}' 中探索測試,因為 {2}。
+ {0} is the class name. {1} is the assembly path. {2} is the failure reason. {Locked="MSTestAdapter"}{0} (Data Row {1})
- {0} (資料列 {1})
-
+ {0} (資料列 {1})
+ {0} is the test display name. {1} is the data row index.Debug Trace:
@@ -108,58 +103,58 @@ but received {4} argument(s), with types '{5}'.
Test Run deployment issue: Bad deployment item: '{0}': output directory '{1}' specifies the item to be deployed outside deployment root directory which is not allowed.
- 測試回合部署問題: 部署項目錯誤: '{0}': 輸出目錄 '{1}' 指定要將項目部署到部署根目錄之外,但不允許這情況。
-
+ 測試回合部署問題: 部署項目錯誤: '{0}': 輸出目錄 '{1}' 指定要將項目部署到部署根目錄之外,但不允許這情況。
+ {0} is the deployment item path. {1} is the output directory.Test Run deployment issue: Failed to access output directory '{1}' specified by deployment item '{0}', the item will not be deployed: {2}: {3}
- 測試回合部署問題: 無法存取由部署項目 '{0}' 指定的輸出目錄 '{1}',將不會部署該項目: {2}: {3}
-
+ 測試回合部署問題: 無法存取由部署項目 '{0}' 指定的輸出目錄 '{1}',將不會部署該項目: {2}: {3}
+ {0} is the deployment item path. {1} is the output directory. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to access the file '{0}': {1}: {2}
- 測試回合部署問題: 無法存取檔案 '{0}': {1}: {2}
-
+ 測試回合部署問題: 無法存取檔案 '{0}': {1}: {2}
+ {0} is the file path. {1} is the exception type. {2} is the exception message.Test Run deployment issue: Failed to copy file '{0}' to '{1}': {2}: {3}
- 測試回合部署問題: 無法將檔案 '{0}' 複製到 '{1}': {2}: {3}
-
+ 測試回合部署問題: 無法將檔案 '{0}' 複製到 '{1}': {2}: {3}
+ {0} is the source file path. {1} is the destination file path. {2} is the exception type. {3} is the exception message.Test Run deployment issue: Failed to deploy dependencies for test storage '{0}': {1}
- 測試回合部署問題: 無法部署測試儲存區 '{0}' 的相依性: {1}
-
+ 測試回合部署問題: 無法部署測試儲存區 '{0}' 的相依性: {1}
+ {0} is the test storage or source path. {1} is the exception details.Test Run deployment issue: Failed to get the file for {0}: {1}: {2}
- 測試回合部署問題: 無法取得 {0} 的檔案: {1}: {2}
-
+ 測試回合部署問題: 無法取得 {0} 的檔案: {1}: {2}
+ {0} is the deployment item description. {1} is the exception type. {2} is the exception message.Test Run deployment issue: an error occurred while getting satellite assemblies for {0}: {1}: {2}
- 測試回合部署問題: 取得 {0} 的附屬組件時發生錯誤: {1}: {2}
-
+ 測試回合部署問題: 取得 {0} 的附屬組件時發生錯誤: {1}: {2}
+ {0} is the deployment item. {1} is the exception type. {2} is the exception message.deployment item '{0}'
- 部署項目 '{0}'
-
+ 部署項目 '{0}'
+ {0} is the deployment item path.Invalid deployment item: the specified path '{0}' or output directory '{1}' contains illegal characters.
- 部署項目無效: 指定的路徑 '{0}' 或輸出目錄 '{1}' 含有非法字元。
-
+ 部署項目無效: 指定的路徑 '{0}' 或輸出目錄 '{1}' 含有非法字元。
+ {0} is the deployment item path. {1} is the output directory.Invalid deployment item: the output directory cannot be null.
- 部署項目無效: 輸出目錄不可為 null。
-
+ 部署項目無效: 輸出目錄不可為 null。
+ {Locked="null"}Invalid deployment item: the specified output directory '{0}' is not relative.
- 部署項目無效: 指定的輸出目錄 '{0}' 不是相對目錄。
-
+ 部署項目無效: 指定的輸出目錄 '{0}' 不是相對目錄。
+ {0} is the output directory.Invalid deployment item: the path must contain at least one character.
@@ -168,107 +163,105 @@ but received {4} argument(s), with types '{5}'.
deployment item '{0}' (output directory '{1}')
- 部署項目 '{0}' (輸出目錄 '{1}')
-
+ 部署項目 '{0}' (輸出目錄 '{1}')
+ {0} is the deployment item path. {1} is the output directory.Discovery failed for source '{0}' with {1} errors:
{2}
- 來源 '{0}' 的探索失敗,並發生 {1} 個錯誤:
+ 來源 '{0}' 的探索失敗,並發生 {1} 個錯誤:
{2}
-
+ {0} is the source path. {1} is the error count. {2} is the error details.[MSTest][Discovery][{0}] {1}
- [MSTest][Discovery][{0}] {1}
-
+ [MSTest][Discovery][{0}] {1}
+ {0} is the source path. {1} is the discovery warning message. {Locked="[MSTest][Discovery]"}Only one attribute of type '{0}' is allowed, but multiple were found.
- 只允許類型 '{0}' 的一個屬性,但找到多個屬性。
-
+ 只允許類型 '{0}' 的一個屬性,但找到多個屬性。
+ {0} is the attribute type name.Both '.runsettings' and '.testconfig.json' files have been detected. Please select only one of these test configuration files.
- 偵測到 '.runsettings' 和 '.testconfig.json' 檔案。請只選取其中一個測試設定檔。
-
+ 偵測到 '.runsettings' 和 '.testconfig.json' 檔案。請只選取其中一個測試設定檔。
+ {Locked=".runsettings"}{Locked=".testconfig.json"}"{0}": (Failed to get exception description due to an exception of type "{1}".
- 「{0}」: (因為類型「{1}」的例外狀況而無法取得例外狀況描述。
- {0}: Type of the original exception that we're trying to get the description of.
-{1}: Thrown exception
+ 「{0}」: (因為類型「{1}」的例外狀況而無法取得例外狀況描述。
+ {0} is the type of the original exception. {1} is the thrown exception type.Test '{0}' was canceled
- 測試 '{0}' 已取消
-
+ 測試 '{0}' 已取消
+ {0} is the test name.Test '{0}' timed out after {1}ms
- 測試 '{0}' 在 {1} 毫秒後逾時
-
+ 測試 '{0}' 在 {1} 毫秒後逾時
+ {0} is the test name. {1} is the timeout in milliseconds.Getting custom attributes for type {0} threw exception (will ignore and use the reflection way): {1}
- 取得類型 {0} 擲回例外狀況的自訂屬性 (將會略過並使用反映方式): {1}
- {0}: Attribute full type name.
-{1}: Exception description
+ 取得類型 {0} 擲回例外狀況的自訂屬性 (將會略過並使用反映方式): {1}
+ {0} is the attribute full type name. {1} is the exception description.The type of the generic parameter '{0}' could not be inferred.
- 無法推斷泛型參數 '{0}' 的類型。
-
+ 無法推斷泛型參數 '{0}' 的類型。
+ {0} is the generic parameter name.The generic test method '{0}' doesn't have arguments, so the generic parameter cannot be inferred.
- 泛型測試方法 '{0}' 沒有引數,因此無法推斷泛型參數。
-
+ 泛型測試方法 '{0}' 沒有引數,因此無法推斷泛型參數。
+ {0} is the generic test method name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- 發現泛型參數 '{0}' 有兩個衝突類型。衝突類型為 '{1}' 和 '{2}'。
-
+ 發現泛型參數 '{0}' 有兩個衝突類型。衝突類型為 '{1}' 和 '{2}'。
+ {0} is the generic parameter name. {1} is the first conflicting type. {2} is the second conflicting type.Invalid value '{0}' specified for 'Scope'. Supported scopes are {1}.
- 為 'Scope' 指定的值 '{0}' 無效。支援的範圍為 {1}。
- {Locked="Scope"}
+ 為 'Scope' 指定的值 '{0}' 無效。支援的範圍為 {1}。
+ {0} is the invalid scope value. {1} is the supported scope list. {Locked="Scope"}Invalid value '{0}' specified for 'Workers'. The value should be a non-negative integer.
- 為 'Workers' 的值 '{0}' 無效。值應為非負整數。
- {Locked="Workers"}
+ 為 'Workers' 的值 '{0}' 無效。值應為非負整數。
+ {0} is the invalid worker count. {Locked="Workers"}Invalid settings '{0}'. Unexpected XmlAttribute: '{1}'.
- 設定 '{0}' 無效。未預期的 XmlAttribute: '{1}'。
-
+ 設定 '{0}' 無效。未預期的 XmlAttribute: '{1}'。
+ {0} is the settings element name. {1} is the unexpected XML attribute name. {Locked="XmlAttribute"}MSTestAdapter encountered an unexpected element '{0}' in its settings '{1}'. Remove this element and try again.
- MSTestAdapter 在其設定 '{1}' 中遇到未預期的項目 '{0}'。請移除此項目,然後再試一次。
-
+ MSTestAdapter 在其設定 '{1}' 中遇到未預期的項目 '{0}'。請移除此項目,然後再試一次。
+ {0} is the unexpected XML element name. {1} is the settings section name. {Locked="MSTestAdapter"}Invalid value '{0}' for runsettings entry '{1}', setting will be ignored.
- runsettings 項目 '{1}' 的值 '{0}' 無效,將忽略設定。
-
+ runsettings 項目 '{1}' 的值 '{0}' 無效,將忽略設定。
+ {0} is the invalid value. {1} is the runsettings entry name. {Locked="runsettings"}Test Run deployment issue: The assembly or module '{0}' was not found. Reason: {1}
- 測試回合部署問題: 找不到組件或模組 '{0}'。原因: {1}
-
+ 測試回合部署問題: 找不到組件或模組 '{0}'。原因: {1}
+ {0} is the assembly or module name. {1} is the reason the dependency was not found.Test Run deployment issue: The assembly or module '{0}' was not found.
- 測試回合部署問題: 找不到組件或模組 '{0}'。
-
+ 測試回合部署問題: 找不到組件或模組 '{0}'。
+ {0} is the assembly or module name.An older version of MSTestV2 package is loaded in assembly, test discovery might fail to discover all data tests if they depend on `.runsettings` file.
- 元件中已載入舊版的 MSTestV2 套件,如果測試探索相依於 '.runsettings' 檔案,則測試探索可能無法探索所有資料測試。
-
+ 元件中已載入舊版的 MSTestV2 套件,如果測試探索相依於 '.runsettings' 檔案,則測試探索可能無法探索所有資料測試。
+ {Locked="MSTestV2"}{Locked=".runsettings"}Both 'RandomizeTestOrder' and 'OrderTestsByNameInClass' are set. 'OrderTestsByNameInClass' will be ignored.
@@ -277,13 +270,13 @@ but received {4} argument(s), with types '{5}'.
Random test order enabled (Seed: {0}). Set 'RandomTestOrderSeed' to reproduce this order.
- 已啟用隨機測試順序 (Seed: {0})。設定 'RandomTestOrderSeed' 以重現此順序。
- {Locked="Seed"}{Locked="RandomTestOrderSeed"}
+ 已啟用隨機測試順序 (Seed: {0})。設定 'RandomTestOrderSeed' 以重現此順序。
+ {0} is the random test order seed. {Locked="Seed"}{Locked="RandomTestOrderSeed"}Runsettings entry '<ExecutionApartmentState>STA</ExecutionApartmentState>' is not supported on non-Windows OSes.
- 非 Windows OS 不支援 Runsettings 項目 '<ExecutionApartmentState>STA</ExecutionApartmentState>'。
-
+ 非 Windows OS 不支援 Runsettings 項目 '<ExecutionApartmentState>STA</ExecutionApartmentState>'。
+ {Locked="Runsettings"}{Locked="<ExecutionApartmentState>STA</ExecutionApartmentState>"}{Locked="STA"}Running tests in any of the provided sources is not supported for the selected platform
@@ -292,108 +285,108 @@ but received {4} argument(s), with types '{5}'.
File does not exist: {0}
- 檔案不存在: {0}
-
+ 檔案不存在: {0}
+ {0} is the file path.Test cleanup method '{0}.{1}' timed out after {2}ms
- 測試清理方法 '{0}.{1}' 在 {2} 毫秒後已逾時
-
+ 測試清理方法 '{0}.{1}' 在 {2} 毫秒後已逾時
+ {0} is the type name. {1} is the test cleanup method name. {2} is the timeout in milliseconds.Test cleanup method '{0}.{1}' was canceled
- 已取消測試清理方法 '{0}.{1}'
-
+ 已取消測試清理方法 '{0}.{1}'
+ {0} is the type name. {1} is the test cleanup method name.TestContext Messages:
- TestContext 訊息:
-
+ TestContext 訊息:
+ {Locked="TestContext"}Test initialize method '{0}.{1}' timed out after {2}ms
- 測試初始化方法 '{0}.{1}' 在 {2} 毫秒後已逾時
-
+ 測試初始化方法 '{0}.{1}' 在 {2} 毫秒後已逾時
+ {0} is the type name. {1} is the test initialize method name. {2} is the timeout in milliseconds.Test initialize method '{0}.{1}' was canceled
- 已取消測試初始化方法 '{0}.{1}'
-
+ 已取消測試初始化方法 '{0}.{1}'
+ {0} is the type name. {1} is the test initialize method name.Test method {0} was not found.
- 找不到測試方法 {0}。
-
+ 找不到測試方法 {0}。
+ {0} is the test method name.Test Parallelization enabled for {0} (Workers: {1}, Scope: {2})
- 已為 {0} 啟用平行測試 (Workers: {1}, Scope: {2})
- {Locked="Workers"}{Locked="Scope"}
+ 已為 {0} 啟用平行測試 (Workers: {1}, Scope: {2})
+ {0} is the test source path. {1} is the worker count. {2} is the parallelization scope. {Locked="Workers"}{Locked="Scope"}{0}_{1} {2}
- {0}_{1} {2}
-
+ {0}_{1} {2}
+ {0} is the deployment folder prefix. {1} is the user name. {2} is the date/time and process id suffix.Assembly Cleanup method {0}.{1} failed. Error Message: {2}. StackTrace: {3}
- 組件清除方法 {0}.{1} 失敗。錯誤訊息: {2}。堆疊追蹤: {3}
-
+ 組件清除方法 {0}.{1} 失敗。錯誤訊息: {2}。堆疊追蹤: {3}
+ {0} is the declaring type name. {1} is the assembly cleanup method name. {2} is the error message. {3} is the stack trace.UTA070: Type '{0}' referenced by [AssemblyFixtureProvider] must not be generic.
- UTA070: [AssemblyFixtureProvider] 參考的類型 '{0}' 不可為泛型。
-
+ UTA070: [AssemblyFixtureProvider] 參考的類型 '{0}' 不可為泛型。
+ {0} is the fixture provider type name. {Locked="UTA070"}{Locked="[AssemblyFixtureProvider]"}UTA071: Failed to enumerate methods on type '{0}' referenced by [AssemblyFixtureProvider]. {1}
- UTA071: 無法列舉 [AssemblyFixtureProvider] 參考的類型 '{0}' 上的方法。{1}
-
+ UTA071: 無法列舉 [AssemblyFixtureProvider] 參考的類型 '{0}' 上的方法。{1}
+ {0} is the fixture provider type name. {1} is the exception details. {Locked="UTA071"}{Locked="[AssemblyFixtureProvider]"}UTA072: Failed to load [AssemblyFixtureProvider] marker from assembly '{0}'. {1}
- UTA072: 無法從組件 '{0}' 載入 [AssemblyFixtureProvider] 標記。{1}
-
+ UTA072: 無法從組件 '{0}' 載入 [AssemblyFixtureProvider] 標記。{1}
+ {0} is the assembly path. {1} is the exception details. {Locked="UTA072"}{Locked="[AssemblyFixtureProvider]"}Assembly Initialization method {0}.{1} threw exception. {2}: {3}. Aborting test execution.
- 組件初始設定方法 {0}.{1} 擲回例外狀況。{2}: {3}。正在中止測試執行。
-
+ 組件初始設定方法 {0}.{1} 擲回例外狀況。{2}: {3}。正在中止測試執行。
+ {0} is the declaring type name. {1} is the assembly initialization method name. {2} is the exception type. {3} is the exception message.Class Cleanup method {0}.{1} failed. Error Message: {2}. Stack Trace: {3}
- 類別清除方法 {0}.{1} 失敗。錯誤訊息: {2}。堆疊追蹤: {3}
-
+ 類別清除方法 {0}.{1} 失敗。錯誤訊息: {2}。堆疊追蹤: {3}
+ {0} is the declaring type name. {1} is the class cleanup method name. {2} is the error message. {3} is the stack trace.Class Initialization method {0}.{1} threw exception. {2}: {3}.
- 類別初始設定方法 {0}.{1} 擲回例外狀況。{2}: {3}。
-
+ 類別初始設定方法 {0}.{1} 擲回例外狀況。{2}: {3}。
+ {0} is the declaring type name. {1} is the class initialization method name. {2} is the exception type. {3} is the exception message.Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- 方法 {0}.{1} 有錯誤的簽章。方法必須為靜態、公用、不傳回值,並且不應該接受任何參數。此外,如果您在方法中使用 async-await,則傳回類型必須是 'Task' 或 'ValueTask'。
-
+ 方法 {0}.{1} 有錯誤的簽章。方法必須為靜態、公用、不傳回值,並且不應該接受任何參數。此外,如果您在方法中使用 async-await,則傳回類型必須是 'Task' 或 'ValueTask'。
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Method {0}.{1} has wrong signature. The method must be static, public, does not return a value and should take a single parameter of type TestContext. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- 方法 {0}.{1} 有錯誤的簽章。方法必須為靜態、公用、不傳回值,並且應接受類型為 TestContext 的單一參數。此外,如果您在方法中使用 async-await,則傳回類型必須是 'Task' 或 'ValueTask'。
-
+ 方法 {0}.{1} 有錯誤的簽章。方法必須為靜態、公用、不傳回值,並且應接受類型為 TestContext 的單一參數。此外,如果您在方法中使用 async-await,則傳回類型必須是 'Task' 或 'ValueTask'。
+ {0} is the declaring type name. {1} is the method name. {Locked="static"}{Locked="public"}{Locked="TestContext"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}TestCleanup method {0}.{1} threw exception. {2}.
- TestCleanup 方法 {0}.{1} 擲回例外狀況。{2}。
-
+ TestCleanup 方法 {0}.{1} 擲回例外狀況。{2}。
+ {0} is the declaring type name. {1} is the test cleanup method name. {2} is the exception details. {Locked="TestCleanup"}Error calling Test Cleanup method for test class {0}: {1}
- 呼叫測試類別 {0} 的測試清除方法時發生錯誤: {1}
-
+ 呼叫測試類別 {0} 的測試清除方法時發生錯誤: {1}
+ {0} is the test class name. {1} is the exception message.Data source '{0}' cannot be found in the test configuration settings
- 在測試組態設定中找不到資料來源 '{0}'
-
+ 在測試組態設定中找不到資料來源 '{0}'
+ {0} is the data source name.--- End of inner exception stack trace ---
@@ -402,162 +395,162 @@ but received {4} argument(s), with types '{5}'.
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: {0}
- 單元測試配接器無法連接至資料來源或無法讀取資料。如需為此錯誤進行疑難排解的詳細資訊,請參閱 MSDN Library 上的<如何: 建立資料驅動型單元測試>(http://go.microsoft.com/fwlink/?LinkId=62412)。錯誤詳細資料: {0}
-
+ 單元測試配接器無法連接至資料來源或無法讀取資料。如需為此錯誤進行疑難排解的詳細資訊,請參閱 MSDN Library 上的<如何: 建立資料驅動型單元測試>(http://go.microsoft.com/fwlink/?LinkId=62412)。錯誤詳細資料: {0}
+ {0} is the error details. {Locked="http://go.microsoft.com/fwlink/?LinkId=62412"}{Locked="MSDN"}UTA031: class {0} does not have valid TestContext property. TestContext must be of type TestContext, must be non-static, and must be public. For example: public TestContext TestContext.
- UTA031: 類別 {0}不具備有效的 TestContext 屬性。TestContext 必須是 TestContext 類型、必須是非靜態的,而且必須是公用的。例如: public TestContext TestContext。
-
+ UTA031: 類別 {0}不具備有效的 TestContext 屬性。TestContext 必須是 TestContext 類型、必須是非靜態的,而且必須是公用的。例如: public TestContext TestContext。
+ {0} is the test class name. {Locked="UTA031"}{Locked="TestContext"}{Locked="non-static"}{Locked="public"}{Locked="public TestContext TestContext"}UTA007: Method {1} defined in class {0} does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, if you are using async-await in test method then return-type must be 'Task' or 'ValueTask'. Example: public async Task Test.Class1.Test2()
- UTA007: 類別 {0} 中定義的方法 {1} 沒有正確的簽章。標記 [TestMethod] 屬性的測試方法必須為非靜態、公用、傳回類型為 void,而且不應該接受任何參數。範例: public void Test.Class1.Test()。此外,如果您在測試方法中使用 async-await,則傳回類型必須是 'Task' 或 'ValueTask'。範例: public async Task Test.Class1.Test2()
-
+ UTA007: 類別 {0} 中定義的方法 {1} 沒有正確的簽章。標記 [TestMethod] 屬性的測試方法必須為非靜態、公用、傳回類型為 void,而且不應該接受任何參數。範例: public void Test.Class1.Test()。此外,如果您在測試方法中使用 async-await,則傳回類型必須是 'Task' 或 'ValueTask'。範例: public async Task Test.Class1.Test2()
+ {0} is the test class full name. {1} is the test method name. {Locked="UTA007"}{Locked="[TestMethod]"}{Locked="non-static"}{Locked="public"}{Locked="void"}{Locked="async-await"}{Locked="Task"}{Locked="public void Test.Class1.Test()"}{Locked="public async Task Test.Class1.Test2()"}UTA054: {0}.{1} has invalid Timeout attribute. The timeout must be an integer value greater than 0.
- UTA054: {0}。{1} 中具有無效的 Timeout 屬性。逾時必須為大於 0 的整數值。
-
+ UTA054: {0}。{1} 中具有無效的 Timeout 屬性。逾時必須為大於 0 的整數值。
+ {0} is the declaring type name. {1} is the method name. {Locked="UTA054"}{Locked="Timeout"}UTA014: {0}: Cannot define more than one method with the AssemblyCleanup attribute inside an assembly.
- UTA014: {0}: 組件內不可定義一個以上具有 AssemblyCleanup 屬性的方法。
-
+ UTA014: {0}: 組件內不可定義一個以上具有 AssemblyCleanup 屬性的方法。
+ {0} is the declaring type full name. {Locked="UTA014"}{Locked="AssemblyCleanup"}UTA013: {0}: Cannot define more than one method with the AssemblyInitialize attribute inside an assembly.
- UTA013: {0}: 組件內不可定義一個以上具有 AssemblyInitialize 屬性的方法。
-
+ UTA013: {0}: 組件內不可定義一個以上具有 AssemblyInitialize 屬性的方法。
+ {0} is the declaring type full name. {Locked="UTA013"}{Locked="AssemblyInitialize"}UTA026: {0}: Cannot define more than one method with the ClassCleanup attribute inside a class.
- UTA026: {0}: 類別內不可定義一個以上具有 ClassCleanup 屬性的方法。
-
+ UTA026: {0}: 類別內不可定義一個以上具有 ClassCleanup 屬性的方法。
+ {0} is the test class full name. {Locked="UTA026"}{Locked="ClassCleanup"}UTA025: {0}: Cannot define more than one method with the ClassInitialize attribute inside a class.
- UTA025: {0}: 類別內不可定義一個以上具有 ClassInitialize 屬性的方法。
-
+ UTA025: {0}: 類別內不可定義一個以上具有 ClassInitialize 屬性的方法。
+ {0} is the test class full name. {Locked="UTA025"}{Locked="ClassInitialize"}UTA024: {0}: Cannot define more than one method with the TestCleanup attribute.
- UTA024: {0}: 不可定義一個以上具有 TestCleanup 屬性的方法。
-
+ UTA024: {0}: 不可定義一個以上具有 TestCleanup 屬性的方法。
+ {0} is the test class full name. {Locked="UTA024"}{Locked="TestCleanup"}UTA018: {0}: Cannot define more than one method with the TestInitialize attribute.
- UTA018: {0}: 不可定義一個以上具有 TestInitialize 屬性的方法。
-
+ UTA018: {0}: 不可定義一個以上具有 TestInitialize 屬性的方法。
+ {0} is the test class full name. {Locked="UTA018"}{Locked="TestInitialize"}UTA001: TestClass attribute defined on non-public class {0}
- UTA001: 在非公用類別 {0} 上定義了 TestClass 屬性
-
+ UTA001: 在非公用類別 {0} 上定義了 TestClass 屬性
+ {0} is the test class full name. {Locked="UTA001"}{Locked="TestClass"}TestClass attribute defined on generic non-abstract class {0}
- 在一般非抽象類別上定義的 TestClass 屬性 {0}
-
+ 在一般非抽象類別上定義的 TestClass 屬性 {0}
+ {0} is the test class full name. {Locked="TestClass"}An unhandled exception was thrown by the 'Execute' method. Please report this error to the author of the attribute '{0}'.
{1}
- 'Execute' 方法擲回未處理的例外狀況。請將此錯誤回報給屬性 '{0}' 的作者。
+ 'Execute' 方法擲回未處理的例外狀況。請將此錯誤回報給屬性 '{0}' 的作者。
{1}
-
+ {0} is the attribute type name. {1} is the exception details. {Locked="Execute"}Failed to obtain the exception thrown by test method {0}.{1}.
- 無法取得測試方法 {0}.{1} 所擲回的例外狀況。
-
+ 無法取得測試方法 {0}.{1} 所擲回的例外狀況。
+ {0} is the declaring type name. {1} is the test method name.Initialization method {0}.{1} threw exception. {2}.
- 初始設定方法 {0}.{1} 擲回例外狀況。{2}。
-
+ 初始設定方法 {0}.{1} 擲回例外狀況。{2}。
+ {0} is the declaring type name. {1} is the initialization method name. {2} is the exception details.Unable to create instance of class {0}. Error: {1}.
- 無法建立類別 {0} 的執行個體。錯誤: {1}。
-
+ 無法建立類別 {0} 的執行個體。錯誤: {1}。
+ {0} is the test class name. {1} is the error message.Method {0}.{1} does not exist.
- 方法 {0}.{1} 不存在。
-
+ 方法 {0}.{1} 不存在。
+ {0} is the declaring type name. {1} is the method name.The test class '{0}' has multiple attributes derived from '{1}' defined on it. Only one such attribute is allowed.
- 測試類別 '{0}' 具有多個衍生自 '{1}' 的屬性根據其定義。只允許一個此類屬性。
-
+ 測試類別 '{0}' 具有多個衍生自 '{1}' 的屬性根據其定義。只允許一個此類屬性。
+ {0} is the test class name. {1} is the attribute base type name.The test method '{0}.{1}' has multiple attributes derived from '{2}' defined on it. Only one such attribute is allowed.
- 測試方法 '{0}.{1}' 具有多個衍生自 '{2}' 的屬性根據其定義。只允許一個此類屬性。
-
+ 測試方法 '{0}.{1}' 具有多個衍生自 '{2}' 的屬性根據其定義。只允許一個此類屬性。
+ {0} is the declaring type name. {1} is the test method name. {2} is the attribute base type name.Error in executing test. No result returned by extension. If using extension of TestMethodAttribute then please contact vendor.
- 執行測試時發生錯誤。擴充功能未傳回任何結果。如果您使用 TestMethodAttribute 的擴充功能,請連絡廠商。
-
+ 執行測試時發生錯誤。擴充功能未傳回任何結果。如果您使用 TestMethodAttribute 的擴充功能,請連絡廠商。
+ {Locked="TestMethodAttribute"}Cannot find a valid constructor for test class '{0}'. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- 找不到測試類別 '{0}' 的有效建構函式。有效的建構函式為 'public' 且無參數或具有一個類型為 'TestContext' 的參數。
-
+ 找不到測試類別 '{0}' 的有效建構函式。有效的建構函式為 'public' 且無參數或具有一個類型為 'TestContext' 的參數。
+ {0} is the test class name. {Locked="public"}{Locked="TestContext"}Unable to find property {0}.TestContext. Error:{1}.
- 找不到屬性 {0}.TestContext。錯誤: {1}。
-
+ 找不到屬性 {0}.TestContext。錯誤: {1}。
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}Unable to set TestContext property for the class {0}. Error: {1}.
- 無法設定類別 {0} 的 TestContext 屬性。錯誤: {1}。
-
+ 無法設定類別 {0} 的 TestContext 屬性。錯誤: {1}。
+ {0} is the test class name. {1} is the error message. {Locked="TestContext"}The {0}.TestContext has incorrect type.
- {0}.TestContext 有不正確的類型。
-
+ {0}.TestContext 有不正確的類型。
+ {0} is the test class name. {Locked="TestContext"}Method {0}.{1} has wrong signature. The method must be non-static, public, does not return a value and should not take any parameter. Additionally, if you are using async-await in method then return-type must be 'Task' or 'ValueTask'.
- 方法 {0}.{1} 有錯誤的簽章。方法必須為非靜態、公用、不傳回值,並且不應該接受任何參數。此外,如果您在方法中使用 async-await,則傳回類型必須是 'Task' 或 'ValueTask'。
-
+ 方法 {0}.{1} 有錯誤的簽章。方法必須為非靜態、公用、不傳回值,並且不應該接受任何參數。此外,如果您在方法中使用 async-await,則傳回類型必須是 'Task' 或 'ValueTask'。
+ {0} is the declaring type name. {1} is the method name. {Locked="non-static"}{Locked="public"}{Locked="Task"}{Locked="ValueTask"}{Locked="async-await"}Test method {0}.{1} threw exception:
{2}
- 測試方法 {0}.{1} 擲回例外狀況:
+ 測試方法 {0}.{1} 擲回例外狀況:
{2}
-
+ {0} is the declaring type name. {1} is the test method name. {2} is the exception details.Unable to get type {0}. Error: {1}.
- 無法取得類型 {0}。錯誤: {1}。
-
+ 無法取得類型 {0}。錯誤: {1}。
+ {0} is the type name. {1} is the error message.The called code threw an exception that was caught, but the exception value was null
- 被呼叫的程式碼擲回攔截到的例外狀況,但例外狀況值為 Null
-
+ 被呼叫的程式碼擲回攔截到的例外狀況,但例外狀況值為 Null
+ {Locked="null"}{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
- {0} 針對 UWP 專案,如果您在測試中使用 UI 物件,請考慮使用 [UITestMethod] 屬性取代 [TestMethod] 在 UI 執行緒中執行測試。
-
+ {0} 針對 UWP 專案,如果您在測試中使用 UI 物件,請考慮使用 [UITestMethod] 屬性取代 [TestMethod] 在 UI 執行緒中執行測試。
+ {0} is the original error message. {Locked="UWP"}{Locked="[UITestMethod]"}{Locked="[TestMethod]"}(Failed to get the message for an exception of type {0} due to an exception.)
- (因為發生例外狀況,所以無法取得類型 {0} 之例外狀況的訊息。)
-
+ (因為發生例外狀況,所以無法取得類型 {0} 之例外狀況的訊息。)
+ {0} is the exception type name.'MSTest.TestAdapter' and 'MSTest.TestFramework' must have the same version. Found 'MSTest.TestAdapter' version '{0}' and 'MSTest.TestFramework' version '{1}'. Please make sure that the versions of 'MSTest.TestAdapter' and 'MSTest.TestFramework' NuGet packages have the same version.
- 'MSTest.TestAdapter' 和 'MSTest.TestFramework' 必須使用相同的版本。發現 'MSTest.TestAdapter' 的版本為 '{0}',而 'MSTest.TestFramework' 的版本為 '{1}'。請確保 'MSTest.TestAdapter' 和 'MSTest.TestFramework' 的 NuGet 套件版本一致。
-
+ 'MSTest.TestAdapter' 和 'MSTest.TestFramework' 必須使用相同的版本。發現 'MSTest.TestAdapter' 的版本為 '{0}',而 'MSTest.TestFramework' 的版本為 '{1}'。請確保 'MSTest.TestAdapter' 和 'MSTest.TestFramework' 的 NuGet 套件版本一致。
+ {0} is the MSTest.TestAdapter version. {1} is the MSTest.TestFramework version. {Locked="MSTest.TestAdapter"}{Locked="MSTest.TestFramework"}{Locked="NuGet"}Wrong number of objects for permutation. Should be greater than zero.
@@ -566,8 +559,8 @@ but received {4} argument(s), with types '{5}'.
Warning: Test method '{0}.{1}' has 'out' or 'ref' parameters which are not supported and may be disallowed in a future version of MSTest.
- 警告: 測試方法 '{0}.{1}' 具有的 'out' 或 'ref' 參數不受支援,且在 MSTest 未來的版本中可能會禁止使用。
-
+ 警告: 測試方法 '{0}.{1}' 具有的 'out' 或 'ref' 參數不受支援,且在 MSTest 未來的版本中可能會禁止使用。
+ {0} is the declaring type name. {1} is the test method name. {Locked="out"}{Locked="ref"}{Locked="MSTest"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/CodeFixResources.resx b/src/Analyzers/MSTest.Analyzers.CodeFixes/CodeFixResources.resx
index 8d84423d5c..c10b4c9d82 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/CodeFixResources.resx
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/CodeFixResources.resx
@@ -119,125 +119,163 @@
Remove 'ClassCleanupBehavior' argument
+ {Locked="ClassCleanupBehavior"}Fix signatureFix actual/expected arguments order
+ {Locked="actual"}{Locked="expected"}Add '[TestClass]'
+ {Locked="[TestClass]"}Change to 'class' and add '[TestClass]'
+ {Locked="[TestClass]"}{Locked="class"}Fix test method signatureAdd '[TestMethod]'
+ {Locked="[TestMethod]"}Fix test class signature
+ {Locked="class"}Fix test contextAdd '[TestMethod]'
+ {Locked="[TestMethod]"}Change method accessibility to 'private'
+ {Locked="private"}Replace the assertion with 'Assert.Fail()'
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace TestInitialize method with constructor
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
+ {Locked="TestInitialize"}Use '{0}'
+ {0} is the replacement assert method name.Move conditional access in assertion to separate 'Assert.IsNotNull' check
+ {Locked="Assert.IsNotNull"}Use '{0}'
+ {0} is the replacement assert method name.Replace 'DataTestMethod' with 'TestMethod'
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Use 'CooperativeCancellation = true'
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'Assert.{0}' instead of 'StringAssert'
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Use 'Assert.{0}' instead of 'CollectionAssert'
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Pass 'TestContext.CancellationToken' argument to method call
+ {Locked="TestContext.CancellationToken"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Use 'DisplayName' property instead of string argument
+ {Locked="DisplayName"}Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Use assignment instead of 'out' parameter
+ {Locked="out"}Use 'ContainsKey' instead of 'Contains'
+ {Locked="ContainsKey"}{Locked="Contains"}Transform 'Execute' override to 'ExecuteAsync'
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use 'TestContext.CancellationToken' instead
+ {Locked="TestContext.CancellationToken"}Use '[OSCondition]' attribute
+ {Locked="[OSCondition]"}Remove 'out' and 'ref' modifiers
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
+ {Locked="Task"}Remove duplicate 'DataRow'
+ {Locked="DataRow"}Use MSTest 'Description' attribute instead
+ {Locked="Description"}{Locked="MSTest"}Remove duplicate TestMethod attribute
+ {Locked="TestMethod"}Use async assertion
+ {Locked="async"}Use ordered, element-wise comparison ('Assert.{0}')
+ {0} is the replacement Assert method name. {Locked="Assert"}Use deep structural comparison ('Assert.{0}')
+ {0} is the replacement Assert method name. {Locked="Assert"}Add a placeholder justification to '[Ignore]'
+ {Locked="[Ignore]"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.cs.xlf b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.cs.xlf
index 00d2968cfe..c53b364722 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.cs.xlf
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.cs.xlf
@@ -4,78 +4,78 @@
Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
- Přidat parametry [CallerFilePath] a [CallerLineNumber]
-
+ Přidat parametry [CallerFilePath] a [CallerLineNumber]
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Add a placeholder justification to '[Ignore]'
- Přidat zástupné odůvodnění do „[Ignore]“
-
+ Přidat zástupné odůvodnění do „[Ignore]“
+ {Locked="[Ignore]"}Add '[TestClass]'
- Přidat [TestClass]
-
+ Přidat [TestClass]
+ {Locked="[TestClass]"}Add '[TestMethod]'
- Přidat [TestMethod]
-
+ Přidat [TestMethod]
+ {Locked="[TestMethod]"}Move conditional access in assertion to separate 'Assert.IsNotNull' check
- Přesunout podmíněný přístup v kontrolním výrazu, aby se oddělila kontrola Assert.IsNotNull
-
+ Přesunout podmíněný přístup v kontrolním výrazu, aby se oddělila kontrola Assert.IsNotNull
+ {Locked="Assert.IsNotNull"}Use deep structural comparison ('Assert.{0}')
- Použít hloubkové strukturální porovnání (Assert.{0})
-
+ Použít hloubkové strukturální porovnání (Assert.{0})
+ {0} is the replacement Assert method name. {Locked="Assert"}Use ordered, element-wise comparison ('Assert.{0}')
- Použít seřazené porovnání podle elementů (Assert.{0})
-
+ Použít seřazené porovnání podle elementů (Assert.{0})
+ {0} is the replacement Assert method name. {Locked="Assert"}Use '{0}'
- Použít {0}
-
+ Použít {0}
+ {0} is the replacement assert method name.Use assignment instead of 'out' parameter
- Použít přiřazení místo parametru out
-
+ Použít přiřazení místo parametru out
+ {Locked="out"}Remove 'out' and 'ref' modifiers
- Odebrat modifikátory out a ref
-
+ Odebrat modifikátory out a ref
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
- Změňte návratový typ na Task.
-
+ Změňte návratový typ na Task.
+ {Locked="Task"}Change method accessibility to 'private'
- Změnit přístupnost metody na private
-
+ Změnit přístupnost metody na private
+ {Locked="private"}Change to 'class' and add '[TestClass]'
- Změňte na class a přidejte [TestClass]
-
+ Změňte na class a přidejte [TestClass]
+ {Locked="[TestClass]"}{Locked="class"}Use 'Assert.{0}' instead of 'CollectionAssert'
- Použijte Assert.{0} namísto CollectionAssert
-
+ Použijte Assert.{0} namísto CollectionAssert
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Fix actual/expected arguments order
- Opravit pořadí skutečných/očekávaných argumentů
-
+ Opravit pořadí skutečných/očekávaných argumentů
+ {Locked="actual"}{Locked="expected"}Fix signature
@@ -84,68 +84,68 @@
Pass 'TestContext.CancellationToken' argument to method call
- Předat argument TestContext.CancellationToken volání metody
-
+ Předat argument TestContext.CancellationToken volání metody
+ {Locked="TestContext.CancellationToken"}Remove 'ClassCleanupBehavior' argument
- Odebrat argument ClassCleanupBehavior
-
+ Odebrat argument ClassCleanupBehavior
+ {Locked="ClassCleanupBehavior"}Remove duplicate 'DataRow'
- Odebrat duplicitní „DataRow“
-
+ Odebrat duplicitní „DataRow“
+ {Locked="DataRow"}Remove duplicate TestMethod attribute
- Odebrat duplicitní atribut TestMethod
-
+ Odebrat duplicitní atribut TestMethod
+ {Locked="TestMethod"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
- Pokud chcete použít výchozí AutoDetect, odeberte parametr DynamicDataSourceType.
-
+ Pokud chcete použít výchozí AutoDetect, odeberte parametr DynamicDataSourceType.
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Replace 'DataTestMethod' with 'TestMethod'
- Nahradit DataTestMethod hodnotou TestMethod
-
+ Nahradit DataTestMethod hodnotou TestMethod
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Replace TestInitialize method with constructor
- Nahradit metodu TestInitialize konstruktorem
-
+ Nahradit metodu TestInitialize konstruktorem
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
- Nahradit TestCleanup metodou Dispose
-
+ Nahradit TestCleanup metodou Dispose
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace the assertion with 'Assert.Fail()'
- Nahradit kontrolní výraz za Assert.Fail()
-
+ Nahradit kontrolní výraz za Assert.Fail()
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
- Nahradit metodu Dispose metodou TestCleanup
-
+ Nahradit metodu Dispose metodou TestCleanup
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
- Nahradit konstruktor metodou TestInitialize
-
+ Nahradit konstruktor metodou TestInitialize
+ {Locked="TestInitialize"}Use 'Assert.{0}' instead of 'StringAssert'
- Použijte Assert.{0}místo StringAssert
-
+ Použijte Assert.{0}místo StringAssert
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Fix test class signature
- Oprava podpisu testovací třídy
-
+ Oprava podpisu testovací třídy
+ {Locked="class"}Fix test context
@@ -159,53 +159,53 @@
Transform 'Execute' override to 'ExecuteAsync'
- Transformovat přepsání Execute na ExecuteAsync
-
+ Transformovat přepsání Execute na ExecuteAsync
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use async assertion
- Použít asynchronní kontrolní výraz
-
+ Použít asynchronní kontrolní výraz
+ {Locked="async"}Add '[TestMethod]'
- Přidat [TestMethod]
-
+ Přidat [TestMethod]
+ {Locked="[TestMethod]"}Use 'ContainsKey' instead of 'Contains'
- Použijte ContainsKey místo Contains
-
+ Použijte ContainsKey místo Contains
+ {Locked="ContainsKey"}{Locked="Contains"}Use 'TestContext.CancellationToken' instead
- Místo toho použít argument TestContext.CancellationToken
-
+ Místo toho použít argument TestContext.CancellationToken
+ {Locked="TestContext.CancellationToken"}Use 'CooperativeCancellation = true'
- Použijte „CooperativeCancellation = true“
-
+ Použijte „CooperativeCancellation = true“
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'DisplayName' property instead of string argument
- Místo řetězcového argumentu použijte vlastnost DisplayName
-
+ Místo řetězcového argumentu použijte vlastnost DisplayName
+ {Locked="DisplayName"}Use MSTest 'Description' attribute instead
- Místo toho použijte atribut MSTest Description.
-
+ Místo toho použijte atribut MSTest Description.
+ {Locked="Description"}{Locked="MSTest"}Use '{0}'
- Použít {0}
-
+ Použít {0}
+ {0} is the replacement assert method name.Use '[OSCondition]' attribute
- Použít atribut [OSCondition]
-
+ Použít atribut [OSCondition]
+ {Locked="[OSCondition]"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.de.xlf b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.de.xlf
index 2c80b89b25..f6b6ff0823 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.de.xlf
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.de.xlf
@@ -4,78 +4,78 @@
Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
- Fügen Sie die Parameter „[CallerFilePath]“ und „[CallerLineNumber]“ hinzu.
-
+ Fügen Sie die Parameter „[CallerFilePath]“ und „[CallerLineNumber]“ hinzu.
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Add a placeholder justification to '[Ignore]'
- Platzhalterbegründung zu „[Ignore]“ hinzufügen
-
+ Platzhalterbegründung zu „[Ignore]“ hinzufügen
+ {Locked="[Ignore]"}Add '[TestClass]'
- "[TestClass]" hinzufügen
-
+ "[TestClass]" hinzufügen
+ {Locked="[TestClass]"}Add '[TestMethod]'
- „[TestMethod]“ hinzufügen
-
+ „[TestMethod]“ hinzufügen
+ {Locked="[TestMethod]"}Move conditional access in assertion to separate 'Assert.IsNotNull' check
- Bedingten Zugriff in Assertion auf separate "Assert.IsNotNull"-Überprüfung verschieben
-
+ Bedingten Zugriff in Assertion auf separate "Assert.IsNotNull"-Überprüfung verschieben
+ {Locked="Assert.IsNotNull"}Use deep structural comparison ('Assert.{0}')
- Tiefen strukturellen Vergleich verwenden („Assert.{0}“)
-
+ Tiefen strukturellen Vergleich verwenden („Assert.{0}“)
+ {0} is the replacement Assert method name. {Locked="Assert"}Use ordered, element-wise comparison ('Assert.{0}')
- Verwenden eines sortierten, elementweisen Vergleichs („Assert.{0}“)
-
+ Verwenden eines sortierten, elementweisen Vergleichs („Assert.{0}“)
+ {0} is the replacement Assert method name. {Locked="Assert"}Use '{0}'
- „{0}“ verwenden
-
+ „{0}“ verwenden
+ {0} is the replacement assert method name.Use assignment instead of 'out' parameter
- Verwenden Sie anstelle des „out“-Parameters die Zuweisung.
-
+ Verwenden Sie anstelle des „out“-Parameters die Zuweisung.
+ {Locked="out"}Remove 'out' and 'ref' modifiers
- Entfernen der Modifizierer „out“ und „ref“
-
+ Entfernen der Modifizierer „out“ und „ref“
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
- Rückgabetyp zu „Task“ ändern
-
+ Rückgabetyp zu „Task“ ändern
+ {Locked="Task"}Change method accessibility to 'private'
- Methodenzugriff auf „privat“ ändern
-
+ Methodenzugriff auf „privat“ ändern
+ {Locked="private"}Change to 'class' and add '[TestClass]'
- Wechseln Sie zu „Klasse“, und fügen Sie „[Testklasse]“ hinzu
-
+ Wechseln Sie zu „Klasse“, und fügen Sie „[Testklasse]“ hinzu
+ {Locked="[TestClass]"}{Locked="class"}Use 'Assert.{0}' instead of 'CollectionAssert'
- Verwenden Sie „Assert.{0}“ anstelle von „CollectionAssert“
-
+ Verwenden Sie „Assert.{0}“ anstelle von „CollectionAssert“
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Fix actual/expected arguments order
- Reihenfolge der tatsächlichen/erwarteten Argumente korrigieren
-
+ Reihenfolge der tatsächlichen/erwarteten Argumente korrigieren
+ {Locked="actual"}{Locked="expected"}Fix signature
@@ -84,68 +84,68 @@
Pass 'TestContext.CancellationToken' argument to method call
- Argument „TestContext.CancellationToken“ an den Methodenaufruf übergeben
-
+ Argument „TestContext.CancellationToken“ an den Methodenaufruf übergeben
+ {Locked="TestContext.CancellationToken"}Remove 'ClassCleanupBehavior' argument
- Entfernen Sie das Argument „ClassCleanupBehavior“.
-
+ Entfernen Sie das Argument „ClassCleanupBehavior“.
+ {Locked="ClassCleanupBehavior"}Remove duplicate 'DataRow'
- Duplizierte „DataRow“ entfernen
-
+ Duplizierte „DataRow“ entfernen
+ {Locked="DataRow"}Remove duplicate TestMethod attribute
- Doppelte TestMethod-Attribute entfernen
-
+ Doppelte TestMethod-Attribute entfernen
+ {Locked="TestMethod"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
- Entfernen Sie den Parameter „DynamicDataSourceType“, um die Standardeinstellung „AutoDetect“ zu verwenden.
-
+ Entfernen Sie den Parameter „DynamicDataSourceType“, um die Standardeinstellung „AutoDetect“ zu verwenden.
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Replace 'DataTestMethod' with 'TestMethod'
- „DataTestMethod“ durch „TestMethod“ ersetzen
-
+ „DataTestMethod“ durch „TestMethod“ ersetzen
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Replace TestInitialize method with constructor
- TestInitialize-Methode durch Konstruktor ersetzen
-
+ TestInitialize-Methode durch Konstruktor ersetzen
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
- TestCleanup durch Dispose-Methode ersetzen
-
+ TestCleanup durch Dispose-Methode ersetzen
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace the assertion with 'Assert.Fail()'
- Ersetzen Sie die Assertion durch „Assert.Fail()“.
-
+ Ersetzen Sie die Assertion durch „Assert.Fail()“.
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
- „Dispose“ durch eine TestCleanup-Methode ersetzen
-
+ „Dispose“ durch eine TestCleanup-Methode ersetzen
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
- Konstruktor durch TestInitialize-Methode ersetzen
-
+ Konstruktor durch TestInitialize-Methode ersetzen
+ {Locked="TestInitialize"}Use 'Assert.{0}' instead of 'StringAssert'
- Verwenden Sie „Assert.{0}“ anstelle von „StringAssert“.
-
+ Verwenden Sie „Assert.{0}“ anstelle von „StringAssert“.
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Fix test class signature
- Testklassensignatur korrigieren
-
+ Testklassensignatur korrigieren
+ {Locked="class"}Fix test context
@@ -159,53 +159,53 @@
Transform 'Execute' override to 'ExecuteAsync'
- Transformieren Sie die Überschreibung von „Execute“ in „ExecuteAsync“.
-
+ Transformieren Sie die Überschreibung von „Execute“ in „ExecuteAsync“.
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use async assertion
- Asynchrone Assertion verwenden
-
+ Asynchrone Assertion verwenden
+ {Locked="async"}Add '[TestMethod]'
- „[TestMethod]“ hinzufügen
-
+ „[TestMethod]“ hinzufügen
+ {Locked="[TestMethod]"}Use 'ContainsKey' instead of 'Contains'
- Verwenden Sie „ContainsKey“ anstelle von „Contains“.
-
+ Verwenden Sie „ContainsKey“ anstelle von „Contains“.
+ {Locked="ContainsKey"}{Locked="Contains"}Use 'TestContext.CancellationToken' instead
- Stattdessen „TestContext.CancellationToken“ verwenden
-
+ Stattdessen „TestContext.CancellationToken“ verwenden
+ {Locked="TestContext.CancellationToken"}Use 'CooperativeCancellation = true'
- Verwenden Sie „CooperativeCancellation = true“.
-
+ Verwenden Sie „CooperativeCancellation = true“.
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'DisplayName' property instead of string argument
- Verwenden Sie die Eigenschaft „DisplayName“ anstelle eines Zeichenfolgenarguments.
-
+ Verwenden Sie die Eigenschaft „DisplayName“ anstelle eines Zeichenfolgenarguments.
+ {Locked="DisplayName"}Use MSTest 'Description' attribute instead
- Verwenden Sie stattdessen das MSTest-Attribut „Description“.
-
+ Verwenden Sie stattdessen das MSTest-Attribut „Description“.
+ {Locked="Description"}{Locked="MSTest"}Use '{0}'
- "{0}" verwenden
-
+ "{0}" verwenden
+ {0} is the replacement assert method name.Use '[OSCondition]' attribute
- Verwenden des Attributs „[OSCondition]“
-
+ Verwenden des Attributs „[OSCondition]“
+ {Locked="[OSCondition]"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.es.xlf b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.es.xlf
index 805e90ba87..14af18faef 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.es.xlf
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.es.xlf
@@ -4,78 +4,78 @@
Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
- Agregar los parámetros "[CallerFilePath]" y "[CallerLineNumber]"
-
+ Agregar los parámetros "[CallerFilePath]" y "[CallerLineNumber]"
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Add a placeholder justification to '[Ignore]'
- Agregar una justificación de marcador de posición a "[Ignore]"
-
+ Agregar una justificación de marcador de posición a "[Ignore]"
+ {Locked="[Ignore]"}Add '[TestClass]'
- Agregar '[TestClass]'
-
+ Agregar '[TestClass]'
+ {Locked="[TestClass]"}Add '[TestMethod]'
- Agregar '[TestMethod]'
-
+ Agregar '[TestMethod]'
+ {Locked="[TestMethod]"}Move conditional access in assertion to separate 'Assert.IsNotNull' check
- Mover el acceso condicional en la aserción para separar la comprobación 'Assert.IsNotNull'
-
+ Mover el acceso condicional en la aserción para separar la comprobación 'Assert.IsNotNull'
+ {Locked="Assert.IsNotNull"}Use deep structural comparison ('Assert.{0}')
- Usar una comparación estructural profunda ("Assert.{0}")
-
+ Usar una comparación estructural profunda ("Assert.{0}")
+ {0} is the replacement Assert method name. {Locked="Assert"}Use ordered, element-wise comparison ('Assert.{0}')
- Usar comparación ordenada por elemento ("Assert.{0}")
-
+ Usar comparación ordenada por elemento ("Assert.{0}")
+ {0} is the replacement Assert method name. {Locked="Assert"}Use '{0}'
- Usar "{0}"
-
+ Usar "{0}"
+ {0} is the replacement assert method name.Use assignment instead of 'out' parameter
- Usar la asignación en lugar del parámetro "out"
-
+ Usar la asignación en lugar del parámetro "out"
+ {Locked="out"}Remove 'out' and 'ref' modifiers
- Quitar modificadores 'out' y 'ref'
-
+ Quitar modificadores 'out' y 'ref'
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
- Cambiar el tipo de valor devuelto a 'Task'
-
+ Cambiar el tipo de valor devuelto a 'Task'
+ {Locked="Task"}Change method accessibility to 'private'
- Cambiar la accesibilidad del método a "private"
-
+ Cambiar la accesibilidad del método a "private"
+ {Locked="private"}Change to 'class' and add '[TestClass]'
- Cambiar a "class" y agregar "[TestClass]"
-
+ Cambiar a "class" y agregar "[TestClass]"
+ {Locked="[TestClass]"}{Locked="class"}Use 'Assert.{0}' instead of 'CollectionAssert'
- Usa "Assert.{0}" en lugar de "CollectionAssert"
-
+ Usa "Assert.{0}" en lugar de "CollectionAssert"
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Fix actual/expected arguments order
- Corregir el orden de los argumentos reales o esperados
-
+ Corregir el orden de los argumentos reales o esperados
+ {Locked="actual"}{Locked="expected"}Fix signature
@@ -84,68 +84,68 @@
Pass 'TestContext.CancellationToken' argument to method call
- Pasar el argumento 'TestContext.CancellationToken' a la llamada al método
-
+ Pasar el argumento 'TestContext.CancellationToken' a la llamada al método
+ {Locked="TestContext.CancellationToken"}Remove 'ClassCleanupBehavior' argument
- Quitar el argumento "ClassCleanupBehavior"
-
+ Quitar el argumento "ClassCleanupBehavior"
+ {Locked="ClassCleanupBehavior"}Remove duplicate 'DataRow'
- Quitar "DataRow" duplicado
-
+ Quitar "DataRow" duplicado
+ {Locked="DataRow"}Remove duplicate TestMethod attribute
- Quitar atributo TestMethod duplicado
-
+ Quitar atributo TestMethod duplicado
+ {Locked="TestMethod"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
- Elimine el parámetro 'DynamicDataSourceType' para utilizar el valor predeterminado 'AutoDetect'
-
+ Elimine el parámetro 'DynamicDataSourceType' para utilizar el valor predeterminado 'AutoDetect'
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Replace 'DataTestMethod' with 'TestMethod'
- Reemplazar "DataTestMethod" por "TestMethod"
-
+ Reemplazar "DataTestMethod" por "TestMethod"
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Replace TestInitialize method with constructor
- Reemplazar el método TestInitialize por el constructor
-
+ Reemplazar el método TestInitialize por el constructor
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
- Reemplazar TestCleanup con el método Dispose
-
+ Reemplazar TestCleanup con el método Dispose
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace the assertion with 'Assert.Fail()'
- Reemplazar la aserción por "Assert.Fail()"
-
+ Reemplazar la aserción por "Assert.Fail()"
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
- Reemplazar 'Dispose' por un método TestCleanup
-
+ Reemplazar 'Dispose' por un método TestCleanup
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
- Reemplazar constructor por el método TestInitialize
-
+ Reemplazar constructor por el método TestInitialize
+ {Locked="TestInitialize"}Use 'Assert.{0}' instead of 'StringAssert'
- Use "Assert.{0}" en lugar de "StringAssert"
-
+ Use "Assert.{0}" en lugar de "StringAssert"
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Fix test class signature
- Corregir firma de clase de prueba
-
+ Corregir firma de clase de prueba
+ {Locked="class"}Fix test context
@@ -159,53 +159,53 @@
Transform 'Execute' override to 'ExecuteAsync'
- Transformar la invalidación "Execute" en "ExecuteAsync"
-
+ Transformar la invalidación "Execute" en "ExecuteAsync"
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use async assertion
- Usar aserción asincrónica
-
+ Usar aserción asincrónica
+ {Locked="async"}Add '[TestMethod]'
- Agregar '[TestMethod]'
-
+ Agregar '[TestMethod]'
+ {Locked="[TestMethod]"}Use 'ContainsKey' instead of 'Contains'
- Usar "ContainsKey" en lugar de "Contains"
-
+ Usar "ContainsKey" en lugar de "Contains"
+ {Locked="ContainsKey"}{Locked="Contains"}Use 'TestContext.CancellationToken' instead
- Usar 'TestContext.CancellationToken' en su lugar
-
+ Usar 'TestContext.CancellationToken' en su lugar
+ {Locked="TestContext.CancellationToken"}Use 'CooperativeCancellation = true'
- Usa "CooperativeCancellation = true"
-
+ Usa "CooperativeCancellation = true"
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'DisplayName' property instead of string argument
- Usar la propiedad "DisplayName" en lugar del argumento de cadena
-
+ Usar la propiedad "DisplayName" en lugar del argumento de cadena
+ {Locked="DisplayName"}Use MSTest 'Description' attribute instead
- Use el atributo "Descripción" de MSTest en su lugar
-
+ Use el atributo "Descripción" de MSTest en su lugar
+ {Locked="Description"}{Locked="MSTest"}Use '{0}'
- Usar "{0}"
-
+ Usar "{0}"
+ {0} is the replacement assert method name.Use '[OSCondition]' attribute
- Usar el atributo '[OSCondition]'
-
+ Usar el atributo '[OSCondition]'
+ {Locked="[OSCondition]"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.fr.xlf b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.fr.xlf
index 31688fa188..0a73831b49 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.fr.xlf
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.fr.xlf
@@ -4,78 +4,78 @@
Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
- Ajoutez les paramètres « [CallerFilePath] » et « [CallerLineNumber] »
-
+ Ajoutez les paramètres « [CallerFilePath] » et « [CallerLineNumber] »
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Add a placeholder justification to '[Ignore]'
- Ajouter une justification de l’espace réservé à '[Ignore]'
-
+ Ajouter une justification de l’espace réservé à '[Ignore]'
+ {Locked="[Ignore]"}Add '[TestClass]'
- Ajouter '[TestClass]'
-
+ Ajouter '[TestClass]'
+ {Locked="[TestClass]"}Add '[TestMethod]'
- Ajouter « [TestMethod] »
-
+ Ajouter « [TestMethod] »
+ {Locked="[TestMethod]"}Move conditional access in assertion to separate 'Assert.IsNotNull' check
- Déplacer l’accès conditionnel dans l’assertion pour séparer les case activée 'Assert.IsNotNull'
-
+ Déplacer l’accès conditionnel dans l’assertion pour séparer les case activée 'Assert.IsNotNull'
+ {Locked="Assert.IsNotNull"}Use deep structural comparison ('Assert.{0}')
- Utilisez la comparaison structurelle approfondie (« Assert.{0} »)
-
+ Utilisez la comparaison structurelle approfondie (« Assert.{0} »)
+ {0} is the replacement Assert method name. {Locked="Assert"}Use ordered, element-wise comparison ('Assert.{0}')
- Utilisez la comparaison ordonnée, élément par élément (« Assert.{0} »)
-
+ Utilisez la comparaison ordonnée, élément par élément (« Assert.{0} »)
+ {0} is the replacement Assert method name. {Locked="Assert"}Use '{0}'
- Utiliser « {0} »
-
+ Utiliser « {0} »
+ {0} is the replacement assert method name.Use assignment instead of 'out' parameter
- Utilisez une affectation au lieu du paramètre « out »
-
+ Utilisez une affectation au lieu du paramètre « out »
+ {Locked="out"}Remove 'out' and 'ref' modifiers
- Supprimer les modificateurs « out » et « ref »
-
+ Supprimer les modificateurs « out » et « ref »
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
- Remplacer le type de retour par « Task »
-
+ Remplacer le type de retour par « Task »
+ {Locked="Task"}Change method accessibility to 'private'
- Remplacer l’accessibilité de la méthode par « privé »
-
+ Remplacer l’accessibilité de la méthode par « privé »
+ {Locked="private"}Change to 'class' and add '[TestClass]'
- Remplacez par « classe » et ajoutez « [TestClass] »
-
+ Remplacez par « classe » et ajoutez « [TestClass] »
+ {Locked="[TestClass]"}{Locked="class"}Use 'Assert.{0}' instead of 'CollectionAssert'
- Utilisez « Assert.{0} » au lieu de « CollectionAssert »
-
+ Utilisez « Assert.{0} » au lieu de « CollectionAssert »
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Fix actual/expected arguments order
- Corriger l’ordre des arguments réels/attendus
-
+ Corriger l’ordre des arguments réels/attendus
+ {Locked="actual"}{Locked="expected"}Fix signature
@@ -84,68 +84,68 @@
Pass 'TestContext.CancellationToken' argument to method call
- Transmettre l'argument « TestContext.CancellationToken » à l'appel de méthode
-
+ Transmettre l'argument « TestContext.CancellationToken » à l'appel de méthode
+ {Locked="TestContext.CancellationToken"}Remove 'ClassCleanupBehavior' argument
- Supprimez l’argument « ClassCleanupBehavior »
-
+ Supprimez l’argument « ClassCleanupBehavior »
+ {Locked="ClassCleanupBehavior"}Remove duplicate 'DataRow'
- Supprimez le « DataRow » dupliqué
-
+ Supprimez le « DataRow » dupliqué
+ {Locked="DataRow"}Remove duplicate TestMethod attribute
- Supprimez l’attribut TestMethod en double
-
+ Supprimez l’attribut TestMethod en double
+ {Locked="TestMethod"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
- Pour utiliser la valeur par défaut « AutoDetect », supprimez le paramètre « DynamicDataSourceType »
-
+ Pour utiliser la valeur par défaut « AutoDetect », supprimez le paramètre « DynamicDataSourceType »
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Replace 'DataTestMethod' with 'TestMethod'
- Remplacer « DataTestMethod » par « TestMethod »
-
+ Remplacer « DataTestMethod » par « TestMethod »
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Replace TestInitialize method with constructor
- Remplacer la méthode TestInitialize par un constructeur
-
+ Remplacer la méthode TestInitialize par un constructeur
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
- Remplacez TestCleanup par la méthode Dispose
-
+ Remplacez TestCleanup par la méthode Dispose
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace the assertion with 'Assert.Fail()'
- Remplacer l’assertion avec « Assert.Fail() »
-
+ Remplacer l’assertion avec « Assert.Fail() »
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
- Remplacez « Dispose » par une méthode TestCleanup
-
+ Remplacez « Dispose » par une méthode TestCleanup
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
- Remplacer le constructeur par la méthode TestInitialize
-
+ Remplacer le constructeur par la méthode TestInitialize
+ {Locked="TestInitialize"}Use 'Assert.{0}' instead of 'StringAssert'
- Utilisez « Assert.{0} » au lieu de « StringAssert »
-
+ Utilisez « Assert.{0} » au lieu de « StringAssert »
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Fix test class signature
- Correction de la signature de classe de test
-
+ Correction de la signature de classe de test
+ {Locked="class"}Fix test context
@@ -159,53 +159,53 @@
Transform 'Execute' override to 'ExecuteAsync'
- Transformer la redéfinition « Execute » en « ExecuteAsync »
-
+ Transformer la redéfinition « Execute » en « ExecuteAsync »
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use async assertion
- Utiliser une assertion asynchrone
-
+ Utiliser une assertion asynchrone
+ {Locked="async"}Add '[TestMethod]'
- Ajouter « [TestMethod] »
-
+ Ajouter « [TestMethod] »
+ {Locked="[TestMethod]"}Use 'ContainsKey' instead of 'Contains'
- Utilisez « ContainsKey » au lieu de « Contient »
-
+ Utilisez « ContainsKey » au lieu de « Contient »
+ {Locked="ContainsKey"}{Locked="Contains"}Use 'TestContext.CancellationToken' instead
- Utiliser plutôt « TestContext.CancellationToken »
-
+ Utiliser plutôt « TestContext.CancellationToken »
+ {Locked="TestContext.CancellationToken"}Use 'CooperativeCancellation = true'
- Utilisez 'CooperativeCancellation = true'
-
+ Utilisez 'CooperativeCancellation = true'
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'DisplayName' property instead of string argument
- Utilisez la propriété « DisplayName » au lieu d’un argument de type chaîne
-
+ Utilisez la propriété « DisplayName » au lieu d’un argument de type chaîne
+ {Locked="DisplayName"}Use MSTest 'Description' attribute instead
- Utilisez plutôt l’attribut MSTest « Description »
-
+ Utilisez plutôt l’attribut MSTest « Description »
+ {Locked="Description"}{Locked="MSTest"}Use '{0}'
- Utiliser « {0} »
-
+ Utiliser « {0} »
+ {0} is the replacement assert method name.Use '[OSCondition]' attribute
- Utiliser l’attribut « [OSCondition] »
-
+ Utiliser l’attribut « [OSCondition] »
+ {Locked="[OSCondition]"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.it.xlf b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.it.xlf
index b104c0f142..aff05fbe8b 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.it.xlf
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.it.xlf
@@ -4,78 +4,78 @@
Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
- Aggiungere i parametri '[CallerFilePath]' e '[CallerLineNumber]'
-
+ Aggiungere i parametri '[CallerFilePath]' e '[CallerLineNumber]'
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Add a placeholder justification to '[Ignore]'
- Aggiungi una giustificazione segnaposto a '[Ignora]'
-
+ Aggiungi una giustificazione segnaposto a '[Ignora]'
+ {Locked="[Ignore]"}Add '[TestClass]'
- Aggiungi '[TestClass]'
-
+ Aggiungi '[TestClass]'
+ {Locked="[TestClass]"}Add '[TestMethod]'
- Aggiungi '[TestMethod]'
-
+ Aggiungi '[TestMethod]'
+ {Locked="[TestMethod]"}Move conditional access in assertion to separate 'Assert.IsNotNull' check
- Sposta l'accesso condizionale nell'asserzione per separare il controllo 'Assert.IsNotNull'
-
+ Sposta l'accesso condizionale nell'asserzione per separare il controllo 'Assert.IsNotNull'
+ {Locked="Assert.IsNotNull"}Use deep structural comparison ('Assert.{0}')
- Usare il confronto strutturale approfondito ("Assert.{0}")
-
+ Usare il confronto strutturale approfondito ("Assert.{0}")
+ {0} is the replacement Assert method name. {Locked="Assert"}Use ordered, element-wise comparison ('Assert.{0}')
- Usare il confronto ordinato, elemento per elemento ("Assert.{0}")
-
+ Usare il confronto ordinato, elemento per elemento ("Assert.{0}")
+ {0} is the replacement Assert method name. {Locked="Assert"}Use '{0}'
- Usare ‘{0}’
-
+ Usare ‘{0}’
+ {0} is the replacement assert method name.Use assignment instead of 'out' parameter
- Usare l'assegnazione anziché il parametro 'out'
-
+ Usare l'assegnazione anziché il parametro 'out'
+ {Locked="out"}Remove 'out' and 'ref' modifiers
- Rimuovi i modificatori 'out' e 'ref'
-
+ Rimuovi i modificatori 'out' e 'ref'
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
- Cambia tipo restituito in ''Task''
-
+ Cambia tipo restituito in ''Task''
+ {Locked="Task"}Change method accessibility to 'private'
- Modifica l'accessibilità del metodo in 'privato'
-
+ Modifica l'accessibilità del metodo in 'privato'
+ {Locked="private"}Change to 'class' and add '[TestClass]'
- Cambia in 'class' e aggiungi '[TestClass]'
-
+ Cambia in 'class' e aggiungi '[TestClass]'
+ {Locked="[TestClass]"}{Locked="class"}Use 'Assert.{0}' instead of 'CollectionAssert'
- Usare "Assert.{0}" invece di "CollectionAssert"
-
+ Usare "Assert.{0}" invece di "CollectionAssert"
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Fix actual/expected arguments order
- Correggi l'ordine degli argomenti effettivi/previsti
-
+ Correggi l'ordine degli argomenti effettivi/previsti
+ {Locked="actual"}{Locked="expected"}Fix signature
@@ -84,68 +84,68 @@
Pass 'TestContext.CancellationToken' argument to method call
- Passare l'argomento 'TestContext.CancellationToken' alla chiamata al metodo
-
+ Passare l'argomento 'TestContext.CancellationToken' alla chiamata al metodo
+ {Locked="TestContext.CancellationToken"}Remove 'ClassCleanupBehavior' argument
- Rimuovere l'argomento 'ClassCleanupBehavior'
-
+ Rimuovere l'argomento 'ClassCleanupBehavior'
+ {Locked="ClassCleanupBehavior"}Remove duplicate 'DataRow'
- Rimuovere ''DataRow'' duplicato
-
+ Rimuovere ''DataRow'' duplicato
+ {Locked="DataRow"}Remove duplicate TestMethod attribute
- Rimuovere l'attributo TestMethod duplicato
-
+ Rimuovere l'attributo TestMethod duplicato
+ {Locked="TestMethod"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
- Rimuovi il parametro ''DynamicDataSourceType'' per utilizzare il valore predefinito ''AutoDetect''
-
+ Rimuovi il parametro ''DynamicDataSourceType'' per utilizzare il valore predefinito ''AutoDetect''
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Replace 'DataTestMethod' with 'TestMethod'
- Sostituisci 'DataTestMethod' con 'TestMethod'
-
+ Sostituisci 'DataTestMethod' con 'TestMethod'
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Replace TestInitialize method with constructor
- Sostituisci il metodo TestInitialize con il costruttore
-
+ Sostituisci il metodo TestInitialize con il costruttore
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
- Sostituisci TestCleanup con il metodo Elimina
-
+ Sostituisci TestCleanup con il metodo Elimina
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace the assertion with 'Assert.Fail()'
- Sostituire l'asserzione con 'Assert.Fail()'
-
+ Sostituire l'asserzione con 'Assert.Fail()'
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
- Sostituire "Dispose" con un metodo TestCleanup
-
+ Sostituire "Dispose" con un metodo TestCleanup
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
- Sostituisci costruttore con metodo TestInitialize
-
+ Sostituisci costruttore con metodo TestInitialize
+ {Locked="TestInitialize"}Use 'Assert.{0}' instead of 'StringAssert'
- Usa 'Assert.{0}' invece di 'StringAssert'
-
+ Usa 'Assert.{0}' invece di 'StringAssert'
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Fix test class signature
- Correggi la firma della classe di test
-
+ Correggi la firma della classe di test
+ {Locked="class"}Fix test context
@@ -159,53 +159,53 @@
Transform 'Execute' override to 'ExecuteAsync'
- Trasformare l'override di 'Execute' in 'ExecuteAsync'
-
+ Trasformare l'override di 'Execute' in 'ExecuteAsync'
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use async assertion
- Usare un'asserzione asincrona
-
+ Usare un'asserzione asincrona
+ {Locked="async"}Add '[TestMethod]'
- Aggiungi '[TestMethod]'
-
+ Aggiungi '[TestMethod]'
+ {Locked="[TestMethod]"}Use 'ContainsKey' instead of 'Contains'
- Usare 'ContainsKey' invece di 'Contains'
-
+ Usare 'ContainsKey' invece di 'Contains'
+ {Locked="ContainsKey"}{Locked="Contains"}Use 'TestContext.CancellationToken' instead
- In alternativa, usare 'TestContext.CancellationToken'
-
+ In alternativa, usare 'TestContext.CancellationToken'
+ {Locked="TestContext.CancellationToken"}Use 'CooperativeCancellation = true'
- Usa "CooperativeCancellation = true"
-
+ Usa "CooperativeCancellation = true"
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'DisplayName' property instead of string argument
- Usare la proprietà 'DisplayName' invece di un argomento stringa
-
+ Usare la proprietà 'DisplayName' invece di un argomento stringa
+ {Locked="DisplayName"}Use MSTest 'Description' attribute instead
- Usa invece l'attributo 'Description' di MSTest
-
+ Usa invece l'attributo 'Description' di MSTest
+ {Locked="Description"}{Locked="MSTest"}Use '{0}'
- Usa '{0}'
-
+ Usa '{0}'
+ {0} is the replacement assert method name.Use '[OSCondition]' attribute
- Usa attributo '[OSCondition]'
-
+ Usa attributo '[OSCondition]'
+ {Locked="[OSCondition]"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.ja.xlf b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.ja.xlf
index 5157af63b2..c4c601aad0 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.ja.xlf
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.ja.xlf
@@ -4,78 +4,78 @@
Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
- '[CallerFilePath]' パラメーターと '[CallerLineNumber]' パラメーターを追加する
-
+ '[CallerFilePath]' パラメーターと '[CallerLineNumber]' パラメーターを追加する
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Add a placeholder justification to '[Ignore]'
- プレースホルダーの両端揃えに '[無視]' を追加する
-
+ プレースホルダーの両端揃えに '[無視]' を追加する
+ {Locked="[Ignore]"}Add '[TestClass]'
- '[TestClass]' の追加
-
+ '[TestClass]' の追加
+ {Locked="[TestClass]"}Add '[TestMethod]'
- '[TestMethod]' の追加
-
+ '[TestMethod]' の追加
+ {Locked="[TestMethod]"}Move conditional access in assertion to separate 'Assert.IsNotNull' check
- アサーション内の条件付きアクセスを個別の 'Assert.IsNotNull' チェックに移動します
-
+ アサーション内の条件付きアクセスを個別の 'Assert.IsNotNull' チェックに移動します
+ {Locked="Assert.IsNotNull"}Use deep structural comparison ('Assert.{0}')
- 詳細な構造比較 ('Assert.{0}') を使用する
-
+ 詳細な構造比較 ('Assert.{0}') を使用する
+ {0} is the replacement Assert method name. {Locked="Assert"}Use ordered, element-wise comparison ('Assert.{0}')
- 順序付きの要素ごとの比較 ('Assert.{0}') を使用する
-
+ 順序付きの要素ごとの比較 ('Assert.{0}') を使用する
+ {0} is the replacement Assert method name. {Locked="Assert"}Use '{0}'
- '{0}' を使用する
-
+ '{0}' を使用する
+ {0} is the replacement assert method name.Use assignment instead of 'out' parameter
- 'out' パラメーターの代わりに代入を使用する
-
+ 'out' パラメーターの代わりに代入を使用する
+ {Locked="out"}Remove 'out' and 'ref' modifiers
- 'out' 修飾子と 'ref' 修飾子を削除する
-
+ 'out' 修飾子と 'ref' 修飾子を削除する
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
- 戻り値の型を 'Task' に変更する
-
+ 戻り値の型を 'Task' に変更する
+ {Locked="Task"}Change method accessibility to 'private'
- メソッドのアクセシビリティを 'private' に変更する
-
+ メソッドのアクセシビリティを 'private' に変更する
+ {Locked="private"}Change to 'class' and add '[TestClass]'
- 'class' に変更し、'[TestClass]' を追加します
-
+ 'class' に変更し、'[TestClass]' を追加します
+ {Locked="[TestClass]"}{Locked="class"}Use 'Assert.{0}' instead of 'CollectionAssert'
- 'CollectionAssert' の代わりに 'Assert.{0}' を使用する
-
+ 'CollectionAssert' の代わりに 'Assert.{0}' を使用する
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Fix actual/expected arguments order
- 実際の引数と予想される引数の順序を修正する
-
+ 実際の引数と予想される引数の順序を修正する
+ {Locked="actual"}{Locked="expected"}Fix signature
@@ -84,68 +84,68 @@
Pass 'TestContext.CancellationToken' argument to method call
- 'TestContext.CancellationToken' 引数をメソッド呼び出しに渡す
-
+ 'TestContext.CancellationToken' 引数をメソッド呼び出しに渡す
+ {Locked="TestContext.CancellationToken"}Remove 'ClassCleanupBehavior' argument
- 'ClassCleanupBehavior' 引数を削除する
-
+ 'ClassCleanupBehavior' 引数を削除する
+ {Locked="ClassCleanupBehavior"}Remove duplicate 'DataRow'
- 重複する 'DataRow' を削除する
-
+ 重複する 'DataRow' を削除する
+ {Locked="DataRow"}Remove duplicate TestMethod attribute
- 重複する TestMethod 属性を削除する
-
+ 重複する TestMethod 属性を削除する
+ {Locked="TestMethod"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
- 'DynamicDataSourceType' パラメーターを削除して、既定の 'AutoDetect' を使用します
-
+ 'DynamicDataSourceType' パラメーターを削除して、既定の 'AutoDetect' を使用します
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Replace 'DataTestMethod' with 'TestMethod'
- 'DataTestMethod' を 'TestMethod' に置き換えます
-
+ 'DataTestMethod' を 'TestMethod' に置き換えます
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Replace TestInitialize method with constructor
- TestInitialize メソッドをコンストラクターに置き換える
-
+ TestInitialize メソッドをコンストラクターに置き換える
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
- TestCleanup を Dispose メソッドに置換する
-
+ TestCleanup を Dispose メソッドに置換する
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace the assertion with 'Assert.Fail()'
- アサーションを 'Assert.Fail()' に置き換えます
-
+ アサーションを 'Assert.Fail()' に置き換えます
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
- 'Dispose' を TestCleanup メソッドに置き換える
-
+ 'Dispose' を TestCleanup メソッドに置き換える
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
- コンストラクターを TestInitialize メソッドに置き換える
-
+ コンストラクターを TestInitialize メソッドに置き換える
+ {Locked="TestInitialize"}Use 'Assert.{0}' instead of 'StringAssert'
- 'StringAssert' の代わりに 'Assert.{0}' を使用
-
+ 'StringAssert' の代わりに 'Assert.{0}' を使用
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Fix test class signature
- テスト クラスのシグネチャの修正
-
+ テスト クラスのシグネチャの修正
+ {Locked="class"}Fix test context
@@ -159,53 +159,53 @@
Transform 'Execute' override to 'ExecuteAsync'
- 'Execute' オーバーライドを 'ExecuteAsync' に変換する
-
+ 'Execute' オーバーライドを 'ExecuteAsync' に変換する
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use async assertion
- 非同期アサーションを使用する
-
+ 非同期アサーションを使用する
+ {Locked="async"}Add '[TestMethod]'
- '[TestMethod]' の追加
-
+ '[TestMethod]' の追加
+ {Locked="[TestMethod]"}Use 'ContainsKey' instead of 'Contains'
- 'Contains' の代わりに 'ContainsKey' を使用する
-
+ 'Contains' の代わりに 'ContainsKey' を使用する
+ {Locked="ContainsKey"}{Locked="Contains"}Use 'TestContext.CancellationToken' instead
- 代わりに 'TestContext.CancellationToken' を使用する
-
+ 代わりに 'TestContext.CancellationToken' を使用する
+ {Locked="TestContext.CancellationToken"}Use 'CooperativeCancellation = true'
- 'CooperativeCancellation = true' を使用する
-
+ 'CooperativeCancellation = true' を使用する
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'DisplayName' property instead of string argument
- 文字列引数の代わりに 'DisplayName' プロパティを使用する
-
+ 文字列引数の代わりに 'DisplayName' プロパティを使用する
+ {Locked="DisplayName"}Use MSTest 'Description' attribute instead
- 代わりに MSTest 'Description' 属性を使用してください
-
+ 代わりに MSTest 'Description' 属性を使用してください
+ {Locked="Description"}{Locked="MSTest"}Use '{0}'
- '{0}' を使用します
-
+ '{0}' を使用します
+ {0} is the replacement assert method name.Use '[OSCondition]' attribute
- [OSCondition] 属性を使用する
-
+ [OSCondition] 属性を使用する
+ {Locked="[OSCondition]"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.ko.xlf b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.ko.xlf
index 266f430d9c..1e245ab79a 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.ko.xlf
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.ko.xlf
@@ -4,78 +4,78 @@
Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
- '[CallerFilePath]'와 '[CallerLineNumber]' 매개변수 추가
-
+ '[CallerFilePath]'와 '[CallerLineNumber]' 매개변수 추가
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Add a placeholder justification to '[Ignore]'
- '[Ignore]'에 자리 표시자 근거 추가
-
+ '[Ignore]'에 자리 표시자 근거 추가
+ {Locked="[Ignore]"}Add '[TestClass]'
- '[TestClass]' 추가
-
+ '[TestClass]' 추가
+ {Locked="[TestClass]"}Add '[TestMethod]'
- '[TestMethod]' 추가
-
+ '[TestMethod]' 추가
+ {Locked="[TestMethod]"}Move conditional access in assertion to separate 'Assert.IsNotNull' check
- 어설션의 조건부 액세스를 'Assert.IsNotNull' 검사 구분하도록 이동합니다.
-
+ 어설션의 조건부 액세스를 'Assert.IsNotNull' 검사 구분하도록 이동합니다.
+ {Locked="Assert.IsNotNull"}Use deep structural comparison ('Assert.{0}')
- 심층 구조 비교('Assert.{0}') 사용
-
+ 심층 구조 비교('Assert.{0}') 사용
+ {0} is the replacement Assert method name. {Locked="Assert"}Use ordered, element-wise comparison ('Assert.{0}')
- 순서가 지정된 요소별 비교('Assert.{0}') 사용
-
+ 순서가 지정된 요소별 비교('Assert.{0}') 사용
+ {0} is the replacement Assert method name. {Locked="Assert"}Use '{0}'
- '{0}' 사용
-
+ '{0}' 사용
+ {0} is the replacement assert method name.Use assignment instead of 'out' parameter
- 'out' 매개변수 대신 할당 사용
-
+ 'out' 매개변수 대신 할당 사용
+ {Locked="out"}Remove 'out' and 'ref' modifiers
- 'out' 및 'ref' 한정자 제거
-
+ 'out' 및 'ref' 한정자 제거
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
- 반환 형식을 'Task'로 변경
-
+ 반환 형식을 'Task'로 변경
+ {Locked="Task"}Change method accessibility to 'private'
- 메서드 접근성 '비공개'로 변경하기
-
+ 메서드 접근성 '비공개'로 변경하기
+ {Locked="private"}Change to 'class' and add '[TestClass]'
- 'class'로 변경하고 '[TestClass]'를 추가합니다.
-
+ 'class'로 변경하고 '[TestClass]'를 추가합니다.
+ {Locked="[TestClass]"}{Locked="class"}Use 'Assert.{0}' instead of 'CollectionAssert'
- 'CollectionAssert' 대신 'Assert.{0}' 사용
-
+ 'CollectionAssert' 대신 'Assert.{0}' 사용
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Fix actual/expected arguments order
- 실제/예상 인수 순서 수정
-
+ 실제/예상 인수 순서 수정
+ {Locked="actual"}{Locked="expected"}Fix signature
@@ -84,68 +84,68 @@
Pass 'TestContext.CancellationToken' argument to method call
- 메서드 호출에 'TestContext.CancellationToken' 인수 전달
-
+ 메서드 호출에 'TestContext.CancellationToken' 인수 전달
+ {Locked="TestContext.CancellationToken"}Remove 'ClassCleanupBehavior' argument
- 'ClassCleanupBehavior' 인수 제거
-
+ 'ClassCleanupBehavior' 인수 제거
+ {Locked="ClassCleanupBehavior"}Remove duplicate 'DataRow'
- 중복된 'DataRow' 제거
-
+ 중복된 'DataRow' 제거
+ {Locked="DataRow"}Remove duplicate TestMethod attribute
- 중복된 TestMethod 특성 제거
-
+ 중복된 TestMethod 특성 제거
+ {Locked="TestMethod"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
- 기본 'AutoDetect'를 사용하려면 'DynamicDataSourceType' 매개 변수를 제거합니다.
-
+ 기본 'AutoDetect'를 사용하려면 'DynamicDataSourceType' 매개 변수를 제거합니다.
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Replace 'DataTestMethod' with 'TestMethod'
- 'DataTestMethod'를 'TestMethod'로 바꾸기
-
+ 'DataTestMethod'를 'TestMethod'로 바꾸기
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Replace TestInitialize method with constructor
- TestInitialize 메서드를 생성자로 바꾸기
-
+ TestInitialize 메서드를 생성자로 바꾸기
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
- TestCleanup을 Dispose 메서드로 바꾸기
-
+ TestCleanup을 Dispose 메서드로 바꾸기
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace the assertion with 'Assert.Fail()'
- 어설션을 'Assert.Fail()'으로 바꾸기
-
+ 어설션을 'Assert.Fail()'으로 바꾸기
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
- 'Dispose'를 TestCleanup 메서드로 바꾸기
-
+ 'Dispose'를 TestCleanup 메서드로 바꾸기
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
- 생성자를 TestInitialize 메서드로 바꾸기
-
+ 생성자를 TestInitialize 메서드로 바꾸기
+ {Locked="TestInitialize"}Use 'Assert.{0}' instead of 'StringAssert'
- 'StringAssert' 대신 'Assert.{0}' 사용
-
+ 'StringAssert' 대신 'Assert.{0}' 사용
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Fix test class signature
- 테스트 클래스 서명 수정
-
+ 테스트 클래스 서명 수정
+ {Locked="class"}Fix test context
@@ -159,53 +159,53 @@
Transform 'Execute' override to 'ExecuteAsync'
- 'Execute' 재정의를 'ExecuteAsync'로 변환
-
+ 'Execute' 재정의를 'ExecuteAsync'로 변환
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use async assertion
- 비동기 어설션 사용
-
+ 비동기 어설션 사용
+ {Locked="async"}Add '[TestMethod]'
- '[TestMethod]' 추가
-
+ '[TestMethod]' 추가
+ {Locked="[TestMethod]"}Use 'ContainsKey' instead of 'Contains'
- 'Contains' 대신 'ContainsKey' 사용
-
+ 'Contains' 대신 'ContainsKey' 사용
+ {Locked="ContainsKey"}{Locked="Contains"}Use 'TestContext.CancellationToken' instead
- 대신 'TestContext.CancellationToken' 사용
-
+ 대신 'TestContext.CancellationToken' 사용
+ {Locked="TestContext.CancellationToken"}Use 'CooperativeCancellation = true'
- 'CooperativeCancellation = true'를 사용하세요.
-
+ 'CooperativeCancellation = true'를 사용하세요.
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'DisplayName' property instead of string argument
- 문자열 인수 대신 'DisplayName' 속성 사용
-
+ 문자열 인수 대신 'DisplayName' 속성 사용
+ {Locked="DisplayName"}Use MSTest 'Description' attribute instead
- 대신 MSTest의 'Description' 특성 사용
-
+ 대신 MSTest의 'Description' 특성 사용
+ {Locked="Description"}{Locked="MSTest"}Use '{0}'
- '{0}' 사용
-
+ '{0}' 사용
+ {0} is the replacement assert method name.Use '[OSCondition]' attribute
- '[OSCondition]' 특성 사용
-
+ '[OSCondition]' 특성 사용
+ {Locked="[OSCondition]"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.pl.xlf b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.pl.xlf
index d6d164bdf0..9efdbbac83 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.pl.xlf
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.pl.xlf
@@ -4,78 +4,78 @@
Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
- Dodaj parametry „[CallerFilePath]” i „[CallerLineNumber]”
-
+ Dodaj parametry „[CallerFilePath]” i „[CallerLineNumber]”
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Add a placeholder justification to '[Ignore]'
- Dodaj uzasadnienie symbolu zastępczego do elementu „[Ignore]”
-
+ Dodaj uzasadnienie symbolu zastępczego do elementu „[Ignore]”
+ {Locked="[Ignore]"}Add '[TestClass]'
- Dodaj element „[TestClass]”
-
+ Dodaj element „[TestClass]”
+ {Locked="[TestClass]"}Add '[TestMethod]'
- Dodaj „[TestMethod]”
-
+ Dodaj „[TestMethod]”
+ {Locked="[TestMethod]"}Move conditional access in assertion to separate 'Assert.IsNotNull' check
- Przenieś dostęp warunkowy w asercji do oddzielnego sprawdzenia "Assert.IsNotNull"
-
+ Przenieś dostęp warunkowy w asercji do oddzielnego sprawdzenia "Assert.IsNotNull"
+ {Locked="Assert.IsNotNull"}Use deep structural comparison ('Assert.{0}')
- Użyj głębokiego porównania strukturalnego („Assert.{0}”)
-
+ Użyj głębokiego porównania strukturalnego („Assert.{0}”)
+ {0} is the replacement Assert method name. {Locked="Assert"}Use ordered, element-wise comparison ('Assert.{0}')
- Użyj uporządkowanego porównania z elementami („Assert.{0}”)
-
+ Użyj uporządkowanego porównania z elementami („Assert.{0}”)
+ {0} is the replacement Assert method name. {Locked="Assert"}Use '{0}'
- Użyj „{0}”
-
+ Użyj „{0}”
+ {0} is the replacement assert method name.Use assignment instead of 'out' parameter
- Użyj przypisania zamiast parametru „out”
-
+ Użyj przypisania zamiast parametru „out”
+ {Locked="out"}Remove 'out' and 'ref' modifiers
- Usuń modyfikatory „out” i „ref”
-
+ Usuń modyfikatory „out” i „ref”
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
- Zmień zwracany typ na „Zadanie”
-
+ Zmień zwracany typ na „Zadanie”
+ {Locked="Task"}Change method accessibility to 'private'
- Zmień dostępność metody na „private” (prywatna)
-
+ Zmień dostępność metody na „private” (prywatna)
+ {Locked="private"}Change to 'class' and add '[TestClass]'
- Zmień na wartość „class” i dodaj element „[TestClass]”
-
+ Zmień na wartość „class” i dodaj element „[TestClass]”
+ {Locked="[TestClass]"}{Locked="class"}Use 'Assert.{0}' instead of 'CollectionAssert'
- Użyj instrukcji „Assert.{0}” zamiast „CollectionAssert”
-
+ Użyj instrukcji „Assert.{0}” zamiast „CollectionAssert”
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Fix actual/expected arguments order
- Napraw rzeczywistą/oczekiwaną kolejność argumentów
-
+ Napraw rzeczywistą/oczekiwaną kolejność argumentów
+ {Locked="actual"}{Locked="expected"}Fix signature
@@ -84,68 +84,68 @@
Pass 'TestContext.CancellationToken' argument to method call
- Przekaż argument „TestContext.CancellationToken” do wywołania metody
-
+ Przekaż argument „TestContext.CancellationToken” do wywołania metody
+ {Locked="TestContext.CancellationToken"}Remove 'ClassCleanupBehavior' argument
- Usuń argument „ClassCleanupBehavior”
-
+ Usuń argument „ClassCleanupBehavior”
+ {Locked="ClassCleanupBehavior"}Remove duplicate 'DataRow'
- Usuń zduplikowany element „DataRow”
-
+ Usuń zduplikowany element „DataRow”
+ {Locked="DataRow"}Remove duplicate TestMethod attribute
- Usuń zduplikowany atrybut TestMethod
-
+ Usuń zduplikowany atrybut TestMethod
+ {Locked="TestMethod"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
- Usuń parametr „DynamicDataSourceType”, aby użyć domyślnego elementu „AutoDetect”
-
+ Usuń parametr „DynamicDataSourceType”, aby użyć domyślnego elementu „AutoDetect”
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Replace 'DataTestMethod' with 'TestMethod'
- Zastąp element „DataTestMethod” elementem „TestMethod”
-
+ Zastąp element „DataTestMethod” elementem „TestMethod”
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Replace TestInitialize method with constructor
- Zastąp metodę TestInitialize konstruktorem
-
+ Zastąp metodę TestInitialize konstruktorem
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
- Zamień TestCleanup na metodę Dispose
-
+ Zamień TestCleanup na metodę Dispose
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace the assertion with 'Assert.Fail()'
- Zastąp asercję elementem „Assert.Fail()”
-
+ Zastąp asercję elementem „Assert.Fail()”
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
- Zastąp metodę „Dispose” metodą TestCleanup
-
+ Zastąp metodę „Dispose” metodą TestCleanup
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
- Zastąp konstruktor metodą TestInitialize
-
+ Zastąp konstruktor metodą TestInitialize
+ {Locked="TestInitialize"}Use 'Assert.{0}' instead of 'StringAssert'
- Użyj ciągu „Assert.{0}” zamiast ciągu „StringAssert”
-
+ Użyj ciągu „Assert.{0}” zamiast ciągu „StringAssert”
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Fix test class signature
- Napraw podpis klasy testowej
-
+ Napraw podpis klasy testowej
+ {Locked="class"}Fix test context
@@ -159,53 +159,53 @@
Transform 'Execute' override to 'ExecuteAsync'
- Zmień zastąpienie „Execute” na „ExecuteAsync”
-
+ Zmień zastąpienie „Execute” na „ExecuteAsync”
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use async assertion
- Użyj asercji asynchronicznych
-
+ Użyj asercji asynchronicznych
+ {Locked="async"}Add '[TestMethod]'
- Dodaj „[TestMethod]”
-
+ Dodaj „[TestMethod]”
+ {Locked="[TestMethod]"}Use 'ContainsKey' instead of 'Contains'
- Użyj „ContainsKey” zamiast „Contains”
-
+ Użyj „ContainsKey” zamiast „Contains”
+ {Locked="ContainsKey"}{Locked="Contains"}Use 'TestContext.CancellationToken' instead
- Zamiast tego użyj argumentu „TestContext.CancellationToken”
-
+ Zamiast tego użyj argumentu „TestContext.CancellationToken”
+ {Locked="TestContext.CancellationToken"}Use 'CooperativeCancellation = true'
- Użyj opcji „CooperativeCancellation = true”
-
+ Użyj opcji „CooperativeCancellation = true”
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'DisplayName' property instead of string argument
- Użyj właściwości „DisplayName” zamiast argumentu ciągu
-
+ Użyj właściwości „DisplayName” zamiast argumentu ciągu
+ {Locked="DisplayName"}Use MSTest 'Description' attribute instead
- Zamiast tego użyj atrybutu „Description” narzędzia MSTest
-
+ Zamiast tego użyj atrybutu „Description” narzędzia MSTest
+ {Locked="Description"}{Locked="MSTest"}Use '{0}'
- Użyj „{0}”
-
+ Użyj „{0}”
+ {0} is the replacement assert method name.Use '[OSCondition]' attribute
- Użyj atrybutu „[OSCondition]”
-
+ Użyj atrybutu „[OSCondition]”
+ {Locked="[OSCondition]"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.pt-BR.xlf b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.pt-BR.xlf
index 7aeaf250c2..2e2e74cb8b 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.pt-BR.xlf
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.pt-BR.xlf
@@ -4,78 +4,78 @@
Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
- Adicionar os parâmetros "[CallerFilePath]" e "[CallerLineNumber]"
-
+ Adicionar os parâmetros "[CallerFilePath]" e "[CallerLineNumber]"
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Add a placeholder justification to '[Ignore]'
- Adicione uma justificativa do espaço reservado para '[Ignorar]'
-
+ Adicione uma justificativa do espaço reservado para '[Ignorar]'
+ {Locked="[Ignore]"}Add '[TestClass]'
- Adicionar '[TestClass]'
-
+ Adicionar '[TestClass]'
+ {Locked="[TestClass]"}Add '[TestMethod]'
- Adicionar ''[TestMethod]"
-
+ Adicionar ''[TestMethod]"
+ {Locked="[TestMethod]"}Move conditional access in assertion to separate 'Assert.IsNotNull' check
- Mover o acesso condicional na asserção para separar o 'Assert.IsNotNull' marcar
-
+ Mover o acesso condicional na asserção para separar o 'Assert.IsNotNull' marcar
+ {Locked="Assert.IsNotNull"}Use deep structural comparison ('Assert.{0}')
- Usar a comparação estrutural profunda ('Assert.{0}')
-
+ Usar a comparação estrutural profunda ('Assert.{0}')
+ {0} is the replacement Assert method name. {Locked="Assert"}Use ordered, element-wise comparison ('Assert.{0}')
- Usar a comparação ordenada e o elemento a elemento ('Assert.{0}')
-
+ Usar a comparação ordenada e o elemento a elemento ('Assert.{0}')
+ {0} is the replacement Assert method name. {Locked="Assert"}Use '{0}'
- Usar '{0}'
-
+ Usar '{0}'
+ {0} is the replacement assert method name.Use assignment instead of 'out' parameter
- Usar atribuição em vez do parâmetro "out"
-
+ Usar atribuição em vez do parâmetro "out"
+ {Locked="out"}Remove 'out' and 'ref' modifiers
- Remova os modificadores ''out'' e ''ref''
-
+ Remova os modificadores ''out'' e ''ref''
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
- Alterar o tipo de retorno para "Task"
-
+ Alterar o tipo de retorno para "Task"
+ {Locked="Task"}Change method accessibility to 'private'
- Alterar a acessibilidade do método para 'privado'
-
+ Alterar a acessibilidade do método para 'privado'
+ {Locked="private"}Change to 'class' and add '[TestClass]'
- Alterar para 'classe' e adicionar '[TestClass]'
-
+ Alterar para 'classe' e adicionar '[TestClass]'
+ {Locked="[TestClass]"}{Locked="class"}Use 'Assert.{0}' instead of 'CollectionAssert'
- Usar 'Assert.{0}' em vez de 'CollectionAssert.'
-
+ Usar 'Assert.{0}' em vez de 'CollectionAssert.'
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Fix actual/expected arguments order
- Corrigir ordem de argumentos real/esperada
-
+ Corrigir ordem de argumentos real/esperada
+ {Locked="actual"}{Locked="expected"}Fix signature
@@ -84,68 +84,68 @@
Pass 'TestContext.CancellationToken' argument to method call
- Passar o argumento 'TestContext.CancellationToken' para a chamada de método
-
+ Passar o argumento 'TestContext.CancellationToken' para a chamada de método
+ {Locked="TestContext.CancellationToken"}Remove 'ClassCleanupBehavior' argument
- Remover o argumento "ClassCleanupBehavior"
-
+ Remover o argumento "ClassCleanupBehavior"
+ {Locked="ClassCleanupBehavior"}Remove duplicate 'DataRow'
- Remover 'DataRow' duplicado
-
+ Remover 'DataRow' duplicado
+ {Locked="DataRow"}Remove duplicate TestMethod attribute
- Remover o atributo TestMethod duplicado
-
+ Remover o atributo TestMethod duplicado
+ {Locked="TestMethod"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
- Remover o parâmetro "DynamicDataSourceType" para usar o padrão "AutoDetect"
-
+ Remover o parâmetro "DynamicDataSourceType" para usar o padrão "AutoDetect"
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Replace 'DataTestMethod' with 'TestMethod'
- Substitua 'DataTestMethod' por 'TestMethod'
-
+ Substitua 'DataTestMethod' por 'TestMethod'
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Replace TestInitialize method with constructor
- Substituir o método TestInitialize pelo construtor.
-
+ Substituir o método TestInitialize pelo construtor.
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
- Substituir TestCleanup pelo método Dispose
-
+ Substituir TestCleanup pelo método Dispose
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace the assertion with 'Assert.Fail()'
- Substituir a asserção por "Assert.Fail()"
-
+ Substituir a asserção por "Assert.Fail()"
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
- Substituir "Dispose" por um método TestCleanup
-
+ Substituir "Dispose" por um método TestCleanup
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
- Substitua o construtor pelo método TestInitialize.
-
+ Substitua o construtor pelo método TestInitialize.
+ {Locked="TestInitialize"}Use 'Assert.{0}' instead of 'StringAssert'
- Use 'Assert'{0}. em vez de 'StringAssert'
-
+ Use 'Assert'{0}. em vez de 'StringAssert'
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Fix test class signature
- Correção da assinatura de classe do teste
-
+ Correção da assinatura de classe do teste
+ {Locked="class"}Fix test context
@@ -159,53 +159,53 @@
Transform 'Execute' override to 'ExecuteAsync'
- Transformar a substituição "Execute" em "ExecuteAsync"
-
+ Transformar a substituição "Execute" em "ExecuteAsync"
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use async assertion
- Usar asserção assíncrona
-
+ Usar asserção assíncrona
+ {Locked="async"}Add '[TestMethod]'
- Adicionar ''[TestMethod]"
-
+ Adicionar ''[TestMethod]"
+ {Locked="[TestMethod]"}Use 'ContainsKey' instead of 'Contains'
- Usar "ContainsKey" em vez de "Contains"
-
+ Usar "ContainsKey" em vez de "Contains"
+ {Locked="ContainsKey"}{Locked="Contains"}Use 'TestContext.CancellationToken' instead
- Usar 'TestContext.CancellationToken' em vez disso
-
+ Usar 'TestContext.CancellationToken' em vez disso
+ {Locked="TestContext.CancellationToken"}Use 'CooperativeCancellation = true'
- Usar “CooperativoCancellation = true”
-
+ Usar “CooperativoCancellation = true”
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'DisplayName' property instead of string argument
- Usar a propriedade "DisplayName" em vez do argumento de cadeia de caracteres
-
+ Usar a propriedade "DisplayName" em vez do argumento de cadeia de caracteres
+ {Locked="DisplayName"}Use MSTest 'Description' attribute instead
- Em vez disso, use o atributo 'Description' do MSTest
-
+ Em vez disso, use o atributo 'Description' do MSTest
+ {Locked="Description"}{Locked="MSTest"}Use '{0}'
- Usar '{0}'
-
+ Usar '{0}'
+ {0} is the replacement assert method name.Use '[OSCondition]' attribute
- Usar o atributo "[OSCondition]"
-
+ Usar o atributo "[OSCondition]"
+ {Locked="[OSCondition]"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.ru.xlf b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.ru.xlf
index 8079db35f9..20977e0306 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.ru.xlf
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.ru.xlf
@@ -4,78 +4,78 @@
Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
- Добавить параметры "[CallerFilePath]" и "[CallerLineNumber]"
-
+ Добавить параметры "[CallerFilePath]" и "[CallerLineNumber]"
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Add a placeholder justification to '[Ignore]'
- Добавьте заполнитель обоснования для действия "[Игнорировать]"
-
+ Добавьте заполнитель обоснования для действия "[Игнорировать]"
+ {Locked="[Ignore]"}Add '[TestClass]'
- Добавить "[TestClass]"
-
+ Добавить "[TestClass]"
+ {Locked="[TestClass]"}Add '[TestMethod]'
- Добавить "[TestMethod]"
-
+ Добавить "[TestMethod]"
+ {Locked="[TestMethod]"}Move conditional access in assertion to separate 'Assert.IsNotNull' check
- Переместить условный доступ в утверждении, чтобы разделить "Assert.IsNotNull" проверка
-
+ Переместить условный доступ в утверждении, чтобы разделить "Assert.IsNotNull" проверка
+ {Locked="Assert.IsNotNull"}Use deep structural comparison ('Assert.{0}')
- Использовать глубокое структурное сравнение ("Assert.{0}")
-
+ Использовать глубокое структурное сравнение ("Assert.{0}")
+ {0} is the replacement Assert method name. {Locked="Assert"}Use ordered, element-wise comparison ('Assert.{0}')
- Использовать упорядоченное поэлементное сравнение ("Assert.{0}")
-
+ Использовать упорядоченное поэлементное сравнение ("Assert.{0}")
+ {0} is the replacement Assert method name. {Locked="Assert"}Use '{0}'
- Использовать "{0}"
-
+ Использовать "{0}"
+ {0} is the replacement assert method name.Use assignment instead of 'out' parameter
- Использовать назначение вместо параметра "out"
-
+ Использовать назначение вместо параметра "out"
+ {Locked="out"}Remove 'out' and 'ref' modifiers
- Удалите модификаторы "out" и "ref"
-
+ Удалите модификаторы "out" и "ref"
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
- Изменить типа возвращаемого значения на "Task"
-
+ Изменить типа возвращаемого значения на "Task"
+ {Locked="Task"}Change method accessibility to 'private'
- Изменить доступность метода на "private"
-
+ Изменить доступность метода на "private"
+ {Locked="private"}Change to 'class' and add '[TestClass]'
- Изменить на "class" и добавить "[TestClass]"
-
+ Изменить на "class" и добавить "[TestClass]"
+ {Locked="[TestClass]"}{Locked="class"}Use 'Assert.{0}' instead of 'CollectionAssert'
- Использовать "Assert.{0}" вместо "CollectionAssert"
-
+ Использовать "Assert.{0}" вместо "CollectionAssert"
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Fix actual/expected arguments order
- Исправить порядок фактических и ожидаемых аргументов
-
+ Исправить порядок фактических и ожидаемых аргументов
+ {Locked="actual"}{Locked="expected"}Fix signature
@@ -84,68 +84,68 @@
Pass 'TestContext.CancellationToken' argument to method call
- Передайте аргумент "TestContext.CancellationToken" в вызов метода
-
+ Передайте аргумент "TestContext.CancellationToken" в вызов метода
+ {Locked="TestContext.CancellationToken"}Remove 'ClassCleanupBehavior' argument
- Удалить аргумент "ClassCleanupBehavior"
-
+ Удалить аргумент "ClassCleanupBehavior"
+ {Locked="ClassCleanupBehavior"}Remove duplicate 'DataRow'
- Удалить дубликат DataRow
-
+ Удалить дубликат DataRow
+ {Locked="DataRow"}Remove duplicate TestMethod attribute
- Удалить дублирующий атрибут TestMethod
-
+ Удалить дублирующий атрибут TestMethod
+ {Locked="TestMethod"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
- Удалите параметр "DynamicDataSourceType", чтобы использовать значение по умолчанию "AutoDetect"
-
+ Удалите параметр "DynamicDataSourceType", чтобы использовать значение по умолчанию "AutoDetect"
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Replace 'DataTestMethod' with 'TestMethod'
- Заменить "DataTestMethod" на "TestMethod"
-
+ Заменить "DataTestMethod" на "TestMethod"
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Replace TestInitialize method with constructor
- Заменить метод TestInitialize конструктором
-
+ Заменить метод TestInitialize конструктором
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
- Заменить TestCleanup методом Dispose
-
+ Заменить TestCleanup методом Dispose
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace the assertion with 'Assert.Fail()'
- Заменить утверждение на "Assert.Fail()"
-
+ Заменить утверждение на "Assert.Fail()"
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
- Заменить "Dispose" методом TestCleanup
-
+ Заменить "Dispose" методом TestCleanup
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
- Заменить конструктор на метод TestInitialize
-
+ Заменить конструктор на метод TestInitialize
+ {Locked="TestInitialize"}Use 'Assert.{0}' instead of 'StringAssert'
- Используйте "Assert.{0}" вместо "StringAssert"
-
+ Используйте "Assert.{0}" вместо "StringAssert"
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Fix test class signature
- Исправить подпись класса теста
-
+ Исправить подпись класса теста
+ {Locked="class"}Fix test context
@@ -159,53 +159,53 @@
Transform 'Execute' override to 'ExecuteAsync'
- Преобразовать переопределение "Execute" в "ExecuteAsync"
-
+ Преобразовать переопределение "Execute" в "ExecuteAsync"
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use async assertion
- Использовать асинхронное утверждение
-
+ Использовать асинхронное утверждение
+ {Locked="async"}Add '[TestMethod]'
- Добавить "[TestMethod]"
-
+ Добавить "[TestMethod]"
+ {Locked="[TestMethod]"}Use 'ContainsKey' instead of 'Contains'
- Использовать "ContainsKey" вместо "Contains"
-
+ Использовать "ContainsKey" вместо "Contains"
+ {Locked="ContainsKey"}{Locked="Contains"}Use 'TestContext.CancellationToken' instead
- Вместо этого используйте "TestContext.CancellationToken"
-
+ Вместо этого используйте "TestContext.CancellationToken"
+ {Locked="TestContext.CancellationToken"}Use 'CooperativeCancellation = true'
- Использовать "CooperativeCancellation = true"
-
+ Использовать "CooperativeCancellation = true"
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'DisplayName' property instead of string argument
- Использовать свойство "DisplayName" вместо строкового аргумента
-
+ Использовать свойство "DisplayName" вместо строкового аргумента
+ {Locked="DisplayName"}Use MSTest 'Description' attribute instead
- Вместо этого используйте атрибут MSTest "Description"
-
+ Вместо этого используйте атрибут MSTest "Description"
+ {Locked="Description"}{Locked="MSTest"}Use '{0}'
- Использовать "{0}"
-
+ Использовать "{0}"
+ {0} is the replacement assert method name.Use '[OSCondition]' attribute
- Использовать атрибут "[OSCondition]"
-
+ Использовать атрибут "[OSCondition]"
+ {Locked="[OSCondition]"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.tr.xlf b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.tr.xlf
index 54522a95ad..b2d6f44964 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.tr.xlf
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.tr.xlf
@@ -4,78 +4,78 @@
Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
- '[CallerFilePath]' ve '[CallerLineNumber]' parametrelerini ekleyin
-
+ '[CallerFilePath]' ve '[CallerLineNumber]' parametrelerini ekleyin
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Add a placeholder justification to '[Ignore]'
- '[Ignore]' için yer tutucu gerekçe ekleyin
-
+ '[Ignore]' için yer tutucu gerekçe ekleyin
+ {Locked="[Ignore]"}Add '[TestClass]'
- '[TestClass]' Ekle
-
+ '[TestClass]' Ekle
+ {Locked="[TestClass]"}Add '[TestMethod]'
- '[TestMethod]' ekle
-
+ '[TestMethod]' ekle
+ {Locked="[TestMethod]"}Move conditional access in assertion to separate 'Assert.IsNotNull' check
- Onaylamadaki koşullu erişimi 'Assert.IsNotNull' denetimine ayırmaya taşı
-
+ Onaylamadaki koşullu erişimi 'Assert.IsNotNull' denetimine ayırmaya taşı
+ {Locked="Assert.IsNotNull"}Use deep structural comparison ('Assert.{0}')
- Derin yapısal karşılaştırma ('Assert.{0}') kullanın
-
+ Derin yapısal karşılaştırma ('Assert.{0}') kullanın
+ {0} is the replacement Assert method name. {Locked="Assert"}Use ordered, element-wise comparison ('Assert.{0}')
- Sıralı, öğe bazında karşılaştırma kullanın ('Assert.{0}')
-
+ Sıralı, öğe bazında karşılaştırma kullanın ('Assert.{0}')
+ {0} is the replacement Assert method name. {Locked="Assert"}Use '{0}'
- '{0}' kullan
-
+ '{0}' kullan
+ {0} is the replacement assert method name.Use assignment instead of 'out' parameter
- 'out' parametresi yerine atama kullanın
-
+ 'out' parametresi yerine atama kullanın
+ {Locked="out"}Remove 'out' and 'ref' modifiers
- 'out' ve 'ref' değiştiricilerini kaldırın
-
+ 'out' ve 'ref' değiştiricilerini kaldırın
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
- Dönüş türünü 'Task' olarak değiştirin
-
+ Dönüş türünü 'Task' olarak değiştirin
+ {Locked="Task"}Change method accessibility to 'private'
- Yöntem erişilebilirliğini ‘özel’ olarak değiştir
-
+ Yöntem erişilebilirliğini ‘özel’ olarak değiştir
+ {Locked="private"}Change to 'class' and add '[TestClass]'
- ‘class’ olarak değiştirin ve ‘[TestClass]’ ekleyin.
-
+ ‘class’ olarak değiştirin ve ‘[TestClass]’ ekleyin.
+ {Locked="[TestClass]"}{Locked="class"}Use 'Assert.{0}' instead of 'CollectionAssert'
- 'CollectionAssert' yerine 'Assert.{0}' kullanın
-
+ 'CollectionAssert' yerine 'Assert.{0}' kullanın
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Fix actual/expected arguments order
- Fiili/beklenen bağımsız değişken sırasını düzelt
-
+ Fiili/beklenen bağımsız değişken sırasını düzelt
+ {Locked="actual"}{Locked="expected"}Fix signature
@@ -84,68 +84,68 @@
Pass 'TestContext.CancellationToken' argument to method call
- 'TestContext.CancellationToken' bağımsız değişkenini metot çağrısına aktarın
-
+ 'TestContext.CancellationToken' bağımsız değişkenini metot çağrısına aktarın
+ {Locked="TestContext.CancellationToken"}Remove 'ClassCleanupBehavior' argument
- 'ClassCleanupBehavior' bağımsız değişkenini kaldırın
-
+ 'ClassCleanupBehavior' bağımsız değişkenini kaldırın
+ {Locked="ClassCleanupBehavior"}Remove duplicate 'DataRow'
- Yinelenen 'DataRow' öğelerini kaldır
-
+ Yinelenen 'DataRow' öğelerini kaldır
+ {Locked="DataRow"}Remove duplicate TestMethod attribute
- Yinelenen TestMethod özniteliğini kaldırın
-
+ Yinelenen TestMethod özniteliğini kaldırın
+ {Locked="TestMethod"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
- Varsayılan ‘AutoDetect’ değerini kullanmak için ‘DynamicDataSourceType’ parametresini kaldırın
-
+ Varsayılan ‘AutoDetect’ değerini kullanmak için ‘DynamicDataSourceType’ parametresini kaldırın
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Replace 'DataTestMethod' with 'TestMethod'
- 'DataTestMethod' yöntemini 'TestMethod' ile değiştirin
-
+ 'DataTestMethod' yöntemini 'TestMethod' ile değiştirin
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Replace TestInitialize method with constructor
- TestInitialize yöntemini oluşturucuyla değiştir
-
+ TestInitialize yöntemini oluşturucuyla değiştir
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
- TestCleanup'i Dispose yöntemiyle değiştir
-
+ TestCleanup'i Dispose yöntemiyle değiştir
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace the assertion with 'Assert.Fail()'
- Onaylamayı 'Assert.Fail()' ile değiştir
-
+ Onaylamayı 'Assert.Fail()' ile değiştir
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
- 'Dispose' öğesini bir TestCleanup yöntemiyle değiştir
-
+ 'Dispose' öğesini bir TestCleanup yöntemiyle değiştir
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
- Oluşturucuyu TestInitialize yöntemiyle değiştir
-
+ Oluşturucuyu TestInitialize yöntemiyle değiştir
+ {Locked="TestInitialize"}Use 'Assert.{0}' instead of 'StringAssert'
- ‘StringAssert’ yerine ‘Assert.{0}’ kullanın
-
+ ‘StringAssert’ yerine ‘Assert.{0}’ kullanın
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Fix test class signature
- Test sınıfı imzasını düzeltme
-
+ Test sınıfı imzasını düzeltme
+ {Locked="class"}Fix test context
@@ -159,53 +159,53 @@
Transform 'Execute' override to 'ExecuteAsync'
- 'Execute' geçersiz kılmasını 'ExecuteAsync' olarak dönüştür
-
+ 'Execute' geçersiz kılmasını 'ExecuteAsync' olarak dönüştür
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use async assertion
- Zaman uyumsuz onay belgesi kullanın
-
+ Zaman uyumsuz onay belgesi kullanın
+ {Locked="async"}Add '[TestMethod]'
- '[TestMethod]' ekle
-
+ '[TestMethod]' ekle
+ {Locked="[TestMethod]"}Use 'ContainsKey' instead of 'Contains'
- 'Contains' yerine 'ContainsKey' kullanın
-
+ 'Contains' yerine 'ContainsKey' kullanın
+ {Locked="ContainsKey"}{Locked="Contains"}Use 'TestContext.CancellationToken' instead
- Bunun yerine 'TestContext.CancellationToken' kullanın
-
+ Bunun yerine 'TestContext.CancellationToken' kullanın
+ {Locked="TestContext.CancellationToken"}Use 'CooperativeCancellation = true'
- 'CooperativeCancellation = true' kullanın
-
+ 'CooperativeCancellation = true' kullanın
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'DisplayName' property instead of string argument
- Dize bağımsız değişkeni yerine 'DisplayName' özelliğini kullanın
-
+ Dize bağımsız değişkeni yerine 'DisplayName' özelliğini kullanın
+ {Locked="DisplayName"}Use MSTest 'Description' attribute instead
- Bunun yerine MSTest 'Description' özniteliğini kullanın
-
+ Bunun yerine MSTest 'Description' özniteliğini kullanın
+ {Locked="Description"}{Locked="MSTest"}Use '{0}'
- '{0}' kullan
-
+ '{0}' kullan
+ {0} is the replacement assert method name.Use '[OSCondition]' attribute
- '[OSCondition]' özniteliğini kullanın
-
+ '[OSCondition]' özniteliğini kullanın
+ {Locked="[OSCondition]"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.zh-Hans.xlf b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.zh-Hans.xlf
index 14e7465b9b..1a52b29cc0 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.zh-Hans.xlf
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.zh-Hans.xlf
@@ -4,78 +4,78 @@
Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
- 添加参数‘[CallerFilePath]’和‘[CallerLineNumber]’
-
+ 添加参数‘[CallerFilePath]’和‘[CallerLineNumber]’
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Add a placeholder justification to '[Ignore]'
- 向 "[Ignore]" 添加占位符理由
-
+ 向 "[Ignore]" 添加占位符理由
+ {Locked="[Ignore]"}Add '[TestClass]'
- 添加 “[TestClass]”
-
+ 添加 “[TestClass]”
+ {Locked="[TestClass]"}Add '[TestMethod]'
- 添加“[TestMethod]”
-
+ 添加“[TestMethod]”
+ {Locked="[TestMethod]"}Move conditional access in assertion to separate 'Assert.IsNotNull' check
- 将断言中的条件访问移动到分隔 “Assert.IsNotNull” 检查
-
+ 将断言中的条件访问移动到分隔 “Assert.IsNotNull” 检查
+ {Locked="Assert.IsNotNull"}Use deep structural comparison ('Assert.{0}')
- 使用深度结构比较('Assert.{0}')
-
+ 使用深度结构比较('Assert.{0}')
+ {0} is the replacement Assert method name. {Locked="Assert"}Use ordered, element-wise comparison ('Assert.{0}')
- 使用有序的按元素比较('Assert.{0}')
-
+ 使用有序的按元素比较('Assert.{0}')
+ {0} is the replacement Assert method name. {Locked="Assert"}Use '{0}'
- 使用“{0}”
-
+ 使用“{0}”
+ {0} is the replacement assert method name.Use assignment instead of 'out' parameter
- 使用赋值替代参数‘out’
-
+ 使用赋值替代参数‘out’
+ {Locked="out"}Remove 'out' and 'ref' modifiers
- 移除 "out" 或 "ref" 修饰符
-
+ 移除 "out" 或 "ref" 修饰符
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
- 将返回类型更改为 "Task"
-
+ 将返回类型更改为 "Task"
+ {Locked="Task"}Change method accessibility to 'private'
- 将方法可访问性更改为“private”
-
+ 将方法可访问性更改为“private”
+ {Locked="private"}Change to 'class' and add '[TestClass]'
- 更改为 "class" 并添加 "[TestClass]"
-
+ 更改为 "class" 并添加 "[TestClass]"
+ {Locked="[TestClass]"}{Locked="class"}Use 'Assert.{0}' instead of 'CollectionAssert'
- 使用('Assert.{0}')而不是'CollectionAssert'
-
+ 使用('Assert.{0}')而不是'CollectionAssert'
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Fix actual/expected arguments order
- 修复实际/预期参数顺序
-
+ 修复实际/预期参数顺序
+ {Locked="actual"}{Locked="expected"}Fix signature
@@ -84,68 +84,68 @@
Pass 'TestContext.CancellationToken' argument to method call
- 将 'TestContext.CancellationToken' 参数传递给方法调用
-
+ 将 'TestContext.CancellationToken' 参数传递给方法调用
+ {Locked="TestContext.CancellationToken"}Remove 'ClassCleanupBehavior' argument
- 删除参数‘ClassCleanupBehavior’
-
+ 删除参数‘ClassCleanupBehavior’
+ {Locked="ClassCleanupBehavior"}Remove duplicate 'DataRow'
- 删除重复的 "DataRow"
-
+ 删除重复的 "DataRow"
+ {Locked="DataRow"}Remove duplicate TestMethod attribute
- 移除重复的 TestMethod 属性
-
+ 移除重复的 TestMethod 属性
+ {Locked="TestMethod"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
- 移除 ‘DynamicDataSourceType’ 参数以使用默认的 ‘AutoDetect’
-
+ 移除 ‘DynamicDataSourceType’ 参数以使用默认的 ‘AutoDetect’
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Replace 'DataTestMethod' with 'TestMethod'
- 将 'DataTestMethod' 替换为 'TestMethod'
-
+ 将 'DataTestMethod' 替换为 'TestMethod'
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Replace TestInitialize method with constructor
- 将 TestInitialize 方法替换为构造函数
-
+ 将 TestInitialize 方法替换为构造函数
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
- 将 TestCleanup 替换为 Dispose 方法
-
+ 将 TestCleanup 替换为 Dispose 方法
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace the assertion with 'Assert.Fail()'
- 将断言替换为 "Assert.Fail()"
-
+ 将断言替换为 "Assert.Fail()"
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
- 将“Dispose”替换为 TestCleanup 方法
-
+ 将“Dispose”替换为 TestCleanup 方法
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
- 将构造函数替换为 TestInitialize 方法
-
+ 将构造函数替换为 TestInitialize 方法
+ {Locked="TestInitialize"}Use 'Assert.{0}' instead of 'StringAssert'
- 使用 'Assert.{0}' 而不是 'StringAssert'
-
+ 使用 'Assert.{0}' 而不是 'StringAssert'
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Fix test class signature
- 修复测试类签名
-
+ 修复测试类签名
+ {Locked="class"}Fix test context
@@ -159,53 +159,53 @@
Transform 'Execute' override to 'ExecuteAsync'
- 将‘Execute’重写为‘ExecuteAsync’
-
+ 将‘Execute’重写为‘ExecuteAsync’
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use async assertion
- 使用异步断言
-
+ 使用异步断言
+ {Locked="async"}Add '[TestMethod]'
- 添加“[TestMethod]”
-
+ 添加“[TestMethod]”
+ {Locked="[TestMethod]"}Use 'ContainsKey' instead of 'Contains'
- 使用‘ContainsKey’而不是‘Contains’
-
+ 使用‘ContainsKey’而不是‘Contains’
+ {Locked="ContainsKey"}{Locked="Contains"}Use 'TestContext.CancellationToken' instead
- 请改用 'TestContext.CancellationToken'
-
+ 请改用 'TestContext.CancellationToken'
+ {Locked="TestContext.CancellationToken"}Use 'CooperativeCancellation = true'
- 使用 'CooperativeCancellation = true'
-
+ 使用 'CooperativeCancellation = true'
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'DisplayName' property instead of string argument
- 使用属性‘DisplayName’替代字符串参数
-
+ 使用属性‘DisplayName’替代字符串参数
+ {Locked="DisplayName"}Use MSTest 'Description' attribute instead
- 请改用 MSTest 'Description' 属性
-
+ 请改用 MSTest 'Description' 属性
+ {Locked="Description"}{Locked="MSTest"}Use '{0}'
- 使用“{0}”
-
+ 使用“{0}”
+ {0} is the replacement assert method name.Use '[OSCondition]' attribute
- 使用 “[OSCondition]” 属性
-
+ 使用 “[OSCondition]” 属性
+ {Locked="[OSCondition]"}
diff --git a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.zh-Hant.xlf b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.zh-Hant.xlf
index 96b4135e2c..b12b2319b0 100644
--- a/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.zh-Hant.xlf
+++ b/src/Analyzers/MSTest.Analyzers.CodeFixes/xlf/CodeFixResources.zh-Hant.xlf
@@ -4,78 +4,78 @@
Add '[CallerFilePath]' and '[CallerLineNumber]' parameters
- 新增 '[CallerFilePath]' 和 '[CallerLineNumber]' 參數
-
+ 新增 '[CallerFilePath]' 和 '[CallerLineNumber]' 參數
+ {Locked="[CallerLineNumber]"}{Locked="[CallerFilePath]"}Add a placeholder justification to '[Ignore]'
- 將預留位置理由新增至 '[Ignore]'
-
+ 將預留位置理由新增至 '[Ignore]'
+ {Locked="[Ignore]"}Add '[TestClass]'
- 新增 '[TestClass]'
-
+ 新增 '[TestClass]'
+ {Locked="[TestClass]"}Add '[TestMethod]'
- 新增 '[TestMethod]'
-
+ 新增 '[TestMethod]'
+ {Locked="[TestMethod]"}Move conditional access in assertion to separate 'Assert.IsNotNull' check
- 將判斷提示中的條件式存取移動到個別的 『Assert.IsNotNull』 檢查
-
+ 將判斷提示中的條件式存取移動到個別的 『Assert.IsNotNull』 檢查
+ {Locked="Assert.IsNotNull"}Use deep structural comparison ('Assert.{0}')
- 使用深層結構比較 ('Assert.{0}')
-
+ 使用深層結構比較 ('Assert.{0}')
+ {0} is the replacement Assert method name. {Locked="Assert"}Use ordered, element-wise comparison ('Assert.{0}')
- 使用已排序的整個元素比較 ('Assert.{0}')
-
+ 使用已排序的整個元素比較 ('Assert.{0}')
+ {0} is the replacement Assert method name. {Locked="Assert"}Use '{0}'
- 使用 '{0}'
-
+ 使用 '{0}'
+ {0} is the replacement assert method name.Use assignment instead of 'out' parameter
- 使用指派而非 'out' 參數
-
+ 使用指派而非 'out' 參數
+ {Locked="out"}Remove 'out' and 'ref' modifiers
- 移除 'out' 和 'ref' 修飾元
-
+ 移除 'out' 和 'ref' 修飾元
+ {Locked="out"}{Locked="ref"}Change return type to 'Task'
- 將傳回類型變更為 'Task'
-
+ 將傳回類型變更為 'Task'
+ {Locked="Task"}Change method accessibility to 'private'
- 將方法協助工具變更為 'private'
-
+ 將方法協助工具變更為 'private'
+ {Locked="private"}Change to 'class' and add '[TestClass]'
- 變更為 'class',並新增 '[TestClass]'
-
+ 變更為 'class',並新增 '[TestClass]'
+ {Locked="[TestClass]"}{Locked="class"}Use 'Assert.{0}' instead of 'CollectionAssert'
- 使用 'Assert.{0}' 而不是 'CollectionAssert'
-
+ 使用 'Assert.{0}' 而不是 'CollectionAssert'
+ {0} is the replacement Assert method name. {Locked="CollectionAssert"}{Locked="Assert"}Fix actual/expected arguments order
- 修正實際/預期的引數順序
-
+ 修正實際/預期的引數順序
+ {Locked="actual"}{Locked="expected"}Fix signature
@@ -84,68 +84,68 @@
Pass 'TestContext.CancellationToken' argument to method call
- 將 'TestContext.CancellationToken' 引數傳遞給方法呼叫
-
+ 將 'TestContext.CancellationToken' 引數傳遞給方法呼叫
+ {Locked="TestContext.CancellationToken"}Remove 'ClassCleanupBehavior' argument
- 移除 'ClassCleanupBehavior' 參數
-
+ 移除 'ClassCleanupBehavior' 參數
+ {Locked="ClassCleanupBehavior"}Remove duplicate 'DataRow'
- 移除重複的 'DataRow'
-
+ 移除重複的 'DataRow'
+ {Locked="DataRow"}Remove duplicate TestMethod attribute
- 移除重複的 TestMethod 屬性
-
+ 移除重複的 TestMethod 屬性
+ {Locked="TestMethod"}Remove 'DynamicDataSourceType' parameter to use default 'AutoDetect'
- 移除 'DynamicDataSourceType' 參數,以使用預設的 'AutoDetect'
-
+ 移除 'DynamicDataSourceType' 參數,以使用預設的 'AutoDetect'
+ {Locked="DynamicDataSourceType"}{Locked="AutoDetect"}Replace 'DataTestMethod' with 'TestMethod'
- 將 'DataTestMethod' 取代為 'TestMethod'
-
+ 將 'DataTestMethod' 取代為 'TestMethod'
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Replace TestInitialize method with constructor
- 以建構函式取代 TestInitialize 方法
-
+ 以建構函式取代 TestInitialize 方法
+ {Locked="TestInitialize"}Replace TestCleanup with Dispose method
- 以 Dispose 方法取代 TestCleanup
-
+ 以 Dispose 方法取代 TestCleanup
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace the assertion with 'Assert.Fail()'
- 使用 'Assert.Fail()' 取代判斷提示
-
+ 使用 'Assert.Fail()' 取代判斷提示
+ {Locked="Assert.Fail"}Replace 'Dispose' with a TestCleanup method
- 以 TestCleanup 方法取代 'Dispose'
-
+ 以 TestCleanup 方法取代 'Dispose'
+ {Locked="TestCleanup"}{Locked="Dispose"}Replace constructor with TestInitialize method
- 使用 TestInitialize 方法取代建構函式
-
+ 使用 TestInitialize 方法取代建構函式
+ {Locked="TestInitialize"}Use 'Assert.{0}' instead of 'StringAssert'
- 使用 'Assert.{0}' 而不是 'StringAssert'
-
+ 使用 'Assert.{0}' 而不是 'StringAssert'
+ {0} is the replacement Assert method name. {Locked="StringAssert"}{Locked="Assert"}Fix test class signature
- 修正測試類別簽章
-
+ 修正測試類別簽章
+ {Locked="class"}Fix test context
@@ -159,53 +159,53 @@
Transform 'Execute' override to 'ExecuteAsync'
- 將 'Execute' 覆寫改為 'ExecuteAsync'
-
+ 將 'Execute' 覆寫改為 'ExecuteAsync'
+ {Locked="ExecuteAsync"}{Locked="Execute"}Use async assertion
- 使用非同步判斷提示
-
+ 使用非同步判斷提示
+ {Locked="async"}Add '[TestMethod]'
- 新增 '[TestMethod]'
-
+ 新增 '[TestMethod]'
+ {Locked="[TestMethod]"}Use 'ContainsKey' instead of 'Contains'
- 使用 'ContainsKey' 而非 'Contains'
-
+ 使用 'ContainsKey' 而非 'Contains'
+ {Locked="ContainsKey"}{Locked="Contains"}Use 'TestContext.CancellationToken' instead
- 請改為使用 'TestContext.CancellationToken'
-
+ 請改為使用 'TestContext.CancellationToken'
+ {Locked="TestContext.CancellationToken"}Use 'CooperativeCancellation = true'
- 使用 'CooperativeCancellation = true'
-
+ 使用 'CooperativeCancellation = true'
+ {Locked="CooperativeCancellation = true"}{Locked="true"}Use 'DisplayName' property instead of string argument
- 使用 'DisplayName' 屬性取代字串引數
-
+ 使用 'DisplayName' 屬性取代字串引數
+ {Locked="DisplayName"}Use MSTest 'Description' attribute instead
- 請改用 MSTest 的 'Description' 屬性取代
-
+ 請改用 MSTest 的 'Description' 屬性取代
+ {Locked="Description"}{Locked="MSTest"}Use '{0}'
- 使用 '{0}'
-
+ 使用 '{0}'
+ {0} is the replacement assert method name.Use '[OSCondition]' attribute
- 使用 '[OSCondition]' 屬性
-
+ 使用 '[OSCondition]' 屬性
+ {Locked="[OSCondition]"}
diff --git a/src/Analyzers/MSTest.Analyzers/Resources.resx b/src/Analyzers/MSTest.Analyzers/Resources.resx
index 0a39c4d5ea..0db7f0d359 100644
--- a/src/Analyzers/MSTest.Analyzers/Resources.resx
+++ b/src/Analyzers/MSTest.Analyzers/Resources.resx
@@ -134,12 +134,15 @@ The type declaring these methods should also respect the following rules:
-The class shouldn't be 'static'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.
+ {Locked="[DiscoverInternals]"}{Locked="[AssemblyCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}AssemblyCleanup method '{0}' signature is invalid
+ {0} is the method name. {Locked="AssemblyCleanup"}AssemblyCleanup methods should have valid layout
+ {Locked="AssemblyCleanup"}Methods marked with '[AssemblyInitialize]' should follow the following layout to be valid:
@@ -158,24 +161,30 @@ The type declaring these methods should also respect the following rules:
-The class shouldn't be 'static'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.
+ {Locked="[AssemblyInitialize]"}{Locked="[DiscoverInternals]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}AssemblyInitialize method '{0}' signature is invalid
+ {0} is the method name. {Locked="AssemblyInitialize"}AssemblyInitialize methods should have valid layout
+ {Locked="AssemblyInitialize"}Prefer adding an additional assertion that checks for null
+ {Locked="null"}Avoid conditional access in assertions'Assert.AreEqual', 'Assert.AreNotEqual', 'Assert.AreSame' and 'Assert.AreNotSame' expects the expected value to be passed first and the actual value to be passed as second argument.
+ {Locked="Assert.AreNotEqual"}{Locked="Assert.AreNotSame"}{Locked="Assert.AreEqual"}{Locked="Assert.AreSame"}{Locked="actual"}{Locked="expected"}Assertion arguments should be passed in the correct order. 'actual' and 'expected'/'notExpected' arguments have been swapped.
+ {Locked="actual"}{Locked="expected"}{Locked="notExpected"}Assertion arguments should be passed in the correct order
@@ -199,12 +208,15 @@ The type declaring these methods should also respect the following rules:
-The class shouldn't be 'static'
-If the class is 'sealed', it should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.
+ {Locked="InheritanceBehavior.BeforeEachDerivedClass"}{Locked="[DiscoverInternals]"}{Locked="[ClassCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="abstract"}{Locked="sealed"}{Locked="async"}{Locked="class"}ClassCleanup method '{0}' signature is invalid
+ {0} is the method name. {Locked="ClassCleanup"}ClassCleanup methods should have valid layout
+ {Locked="ClassCleanup"}Methods marked with '[ClassInitialize]' should follow the following layout to be valid:
@@ -225,33 +237,42 @@ The type declaring these methods should also respect the following rules:
-The class shouldn't be 'static'
-If the class is 'sealed', it should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.
+ {Locked="InheritanceBehavior.BeforeEachDerivedClass"}{Locked="[DiscoverInternals]"}{Locked="[ClassInitialize]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="abstract"}{Locked="sealed"}{Locked="async"}{Locked="class"}ClassInitialize method '{0}' signature is invalid
+ {0} is the method name. {Locked="ClassInitialize"}ClassInitialize methods should have valid layout
+ {Locked="ClassInitialize"}DataRow entry should have the following layout to be valid:
- should only be set on a test method;
- argument count should match method argument count;
- argument type should match method argument type.
+ {Locked="DataRow"}DataRow argument count should match method parameter count (constructor arguments: {0}, method parameters: {1})
+ {0} is the number of constructor arguments. {1} is the number of method parameters. {Locked="DataRow"}DataRow argument types do not match method parameter types. {0}
+ {0} is the argument type mismatch details. {Locked="DataRow"}Parameter '{0}' expects type '{1}', but the provided value has type '{2}'
+ {0} is the parameter name. {1} is the expected parameter type. {2} is the provided value type.DataRow should only be set on a test method
+ {Locked="DataRow"}DataRow should be valid
+ {Locked="DataRow"}Do not negate boolean assertions, instead use the opposite assertion
@@ -261,54 +282,70 @@ The type declaring these methods should also respect the following rules:
Do not store TestContext in a static member
+ {Locked="TestContext"}{Locked="static"}Do not store TestContext in a static member
+ {Locked="TestContext"}{Locked="static"}Use 'Assert.Fail' instead of an always-failing 'Assert.{0}' assert
+ {0} is the assert method name. {Locked="Assert.Fail"}{Locked="Assert"}Use 'Assert.Fail' instead of an always-failing assert
+ {Locked="Assert.Fail"}Prefer constructors over TestInitialize methods
+ {Locked="TestInitialize"}Prefer constructors over TestInitialize methods
+ {Locked="TestInitialize"}Prefer 'Dispose' over TestCleanup methods
+ {Locked="TestCleanup"}{Locked="Dispose"}Prefer 'Dispose' over TestCleanup methods
+ {Locked="TestCleanup"}{Locked="Dispose"}Prefer TestCleanup over 'Dispose' methods
+ {Locked="TestCleanup"}{Locked="Dispose"}Prefer TestCleanup over 'Dispose' methods
+ {Locked="TestCleanup"}{Locked="Dispose"}Prefer TestInitialize methods over constructors
+ {Locked="TestInitialize"}Prefer TestInitialize methods over constructors
+ {Locked="TestInitialize"}Public methods should be test methods (marked with `[TestMethod]`).
+ {Locked="[TestMethod]"}Public method '{0}' should be a test method
+ {0} is the method name.Public methods should be test methodsIt's considered a good practice to have only test classes marked public in a test project.
+ {Locked="public"}Public type '{0}' should be marked with '[TestClass]' or changed to 'internal'
+ {0} is the type name. {Locked="[TestClass]"}{Locked="internal"}Public types should be test classes
@@ -318,18 +355,22 @@ The type declaring these methods should also respect the following rules:
- it should be 'public' (or 'internal' if '[assembly: DiscoverInternals]' attribute is set)
- it should not be 'static' (except if it contains only 'AssemblyInitialize' and/or 'AssemblyCleanup' methods)
- it should not be generic.
+ {Locked="AssemblyInitialize"}{Locked="AssemblyCleanup"}{Locked="[TestClass]"}{Locked="MSTest"}{Locked="public"}{Locked="internal"}{Locked="static"}Test classes should have valid layoutTest class should have at least one test method or be 'static' with method(s) marked by '[AssemblyInitialize]' and/or '[AssemblyCleanup]'.
+ {Locked="[AssemblyInitialize]"}{Locked="[AssemblyCleanup]"}{Locked="static"}{Locked="class"}Test class '{0}' should have at least one test method or be 'static' with method(s) marked by '[AssemblyInitialize]' and/or '[AssemblyCleanup]'
+ {0} is the test class name. {Locked="[AssemblyInitialize]"}{Locked="[AssemblyCleanup]"}{Locked="static"}{Locked="class"}Test class should have test method
+ {Locked="class"}Methods marked with '[TestCleanup]' should follow the following layout to be valid:
@@ -347,21 +388,26 @@ The type declaring these methods should also respect the following rules:
-The class should be 'public' or 'internal' (if the test project is using the '[DiscoverInternals]' attribute)
-The class shouldn't be 'static'
-If the class is 'sealed', it should be marked with '[TestClass]' (or a derived attribute).
+ {Locked="[DiscoverInternals]"}{Locked="[TestCleanup]"}{Locked="[TestClass]"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="abstract"}{Locked="sealed"}{Locked="async"}{Locked="class"}TestCleanup method '{0}' signature is invalid
+ {0} is the method name. {Locked="TestCleanup"}TestCleanup method should have valid layout
+ {Locked="TestCleanup"}'TestContext' should be a non-static property assigned in constructor or set by MSTest. To be set by MSTest, it should follow the layout:
- it should be 'public' regardless of whether '[assembly: DiscoverInternals]' attribute is set or not.
- it should not be 'static'
- it should have a setter.
+ {Locked="TestContext"}{Locked="MSTest"}{Locked="public"}{Locked="static"}Property 'TestContext' should be valid
+ {Locked="TestContext"}Test context property should have valid layout
@@ -382,12 +428,15 @@ The type declaring these methods should also respect the following rules:
-The class should be 'public' or 'internal' (if the test project is using the '[DiscoverInternals]' attribute)
-The class shouldn't be 'static'
-If the class is 'sealed', it should be marked with '[TestClass]' (or a derived attribute).
+ {Locked="[DiscoverInternals]"}{Locked="[TestInitialize]"}{Locked="[TestClass]"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="abstract"}{Locked="sealed"}{Locked="async"}{Locked="class"}TestInitialize method '{0}' signature is invalid
+ {0} is the method name. {Locked="TestInitialize"}TestInitialize method should have valid layout
+ {Locked="TestInitialize"}Test methods, methods marked with the '[TestMethod]' attribute, should respect the following layout to be considered valid by MSTest:
@@ -398,39 +447,49 @@ The type declaring these methods should also respect the following rules:
- return type should be 'void', 'Task' or 'ValueTask'
- it should not be 'async void'
- it should not be a special method (finalizer, operator...).
+ {Locked="[TestMethod]"}{Locked="ValueTask"}{Locked="MSTest"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="abstract"}{Locked="async"}Test method '{0}' signature is invalid
+ {0} is the method name.Test methods should have valid layoutTest methods should not be ignored (marked with '[Ignore]').
+ {Locked="[Ignore]"}Test method '{0}' should not be ignored
+ {0} is the method name.Test method should not be ignoredAsynchronous test fixture methods do not require the 'Async' suffix
+ {Locked="Async"}Asynchronous test methods do not require the 'Async' suffix
+ {Locked="Async"}TestContext parameter is required by MSTest for AssemblyInitialize and ClassInitialize methods
+ {Locked="AssemblyInitialize"}{Locked="ClassInitialize"}{Locked="TestContext"}{Locked="MSTest"}[{0}] can only be set on methods marked with [TestMethod]
+ {0} is the attribute name without brackets. {Locked="[TestMethod]"}[{0}] can only be set on methods marked with [TestMethod]
+ {0} is the attribute name without brackets. {Locked="[TestMethod]"}By default, MSTest runs tests within the same assembly sequentially, which can lead to severe performance limitations. It is recommended to enable assembly attribute '[Parallelize]' to run tests in parallel, or if the assembly is known to not be parallelizable, to use explicitly the assembly level attribute '[DoNotParallelize]'.
+ {Locked="[DoNotParallelize]"}{Locked="[Parallelize]"}{Locked="MSTest"}Explicitly enable or disable tests parallelization
@@ -440,210 +499,276 @@ The type declaring these methods should also respect the following rules:
Type containing '[TestMethod]' should be marked with '[TestClass]'
+ {Locked="[TestMethod]"}{Locked="[TestClass]"}Type containing '[TestMethod]' should be marked with '[TestClass]', otherwise the test method will be silently ignored.
+ {Locked="[TestMethod]"}{Locked="[TestClass]"}Type '{0}' contains test methods and should be marked with '[TestClass]'
+ {0} is the type name. {Locked="[TestClass]"}'System.ComponentModel.DescriptionAttribute' has no effect on test methods
+ {Locked="System.ComponentModel.DescriptionAttribute"}Did you mean to be using 'Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute'?
+ {Locked="Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute"}'System.ComponentModel.DescriptionAttribute' has no effect in the context of tests and you likely wanted to use 'Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute' instead.
+ {Locked="Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute"}{Locked="System.ComponentModel.DescriptionAttribute"}Assertion condition is always true
+ {Locked="true"}Review or remove the assertion as its condition is known to be always true
+ {Locked="true"}DynamicData should be valid
+ {Locked="DynamicData"}'DynamicData' entry should have the following layout to be valid:
- should only be set on a test method;
- member should be defined on the type specified;
- member should be a method if DynamicDataSourceType.Method is specified or a property otherwise.
+ {Locked="DynamicDataSourceType.Method"}{Locked="DynamicData"}'[DynamicData]' should only be set on a test method
+ {Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' cannot be found
+ {0} is the containing type name. {1} is the member name. {Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' is found more than once
+ {0} is the containing type name. {1} is the member name. {Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' is a property so you should use 'DynamicDataSourceType.AutoDetect' or 'DynamicDataSourceType.Property' (auto detect is the default when not specified explicitly, and is recommended)
+ {0} is the containing type name. {1} is the member name. {Locked="DynamicDataSourceType.AutoDetect"}{Locked="DynamicDataSourceType.Property"}{Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' should be a method
+ {0} is the containing type name. {1} is the member name. {Locked="[DynamicData]"}'[DynamicData]' referenced member '{0}.{1}' should return 'IEnumerable<object[]>', 'IEnumerable<Tuple>` or 'IEnumerable<ValueTuple>'
+ {0} is the containing type name. {1} is the member name. {Locked="IEnumerable<ValueTuple>"}{Locked="IEnumerable<object[]>"}{Locked="IEnumerable<Tuple>"}{Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' is a method so you should use 'DynamicDataSourceType.AutoDetect' or 'DynamicDataSourceType.Method' (auto detect is the default when not specified explicitly, and is recommended)
+ {0} is the containing type name. {1} is the member name. {Locked="DynamicDataSourceType.AutoDetect"}{Locked="DynamicDataSourceType.Method"}{Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' is a field so you should use 'DynamicDataSourceType.AutoDetect' or 'DynamicDataSourceType.Field' (auto detect is the default when not specified explicitly, and is recommended)
+ {0} is the containing type name. {1} is the member name. {Locked="DynamicDataSourceType.AutoDetect"}{Locked="DynamicDataSourceType.Field"}{Locked="[DynamicData]"}'[DynamicData]' display name method '{0}.{1}' signature is invalid
+ {0} is the containing type name. {1} is the display name method name. {Locked="[DynamicData]"}'[DynamicData]' data member '{0}.{1}' signature is invalid
+ {0} is the containing type name. {1} is the data member name. {Locked="[DynamicData]"}'[DeploymentItem]' can be specified only on test class or test method
+ {Locked="[DeploymentItem]"}{Locked="class"}'[DeploymentItem]' can be specified only on test class or test method
+ {Locked="[DeploymentItem]"}{Locked="class"}Test class '{0}' should be valid
+ {0} is the test class name. {Locked="class"}Shadowing test members could cause testing issues (such as NRE).Member '{0}' already exists in the base class
+ {0} is the member name. {Locked="class"}Do not use shadowingUse proper 'Assert' methods
+ {Locked="Assert"}Use 'Assert.{0}' instead of 'Assert.{1}'
+ {0} is the preferred assert method name. {1} is the current assert method name. {Locked="Assert"}Use 'Assert' instead of 'StringAssert'
+ {Locked="StringAssert"}{Locked="Assert"}Use 'Assert.{0}' instead of 'StringAssert.{1}'
+ {0} is the preferred Assert method name. {1} is the current StringAssert method name. {Locked="StringAssert"}{Locked="Assert"}Use 'Assert' instead of 'CollectionAssert'
+ {Locked="CollectionAssert"}{Locked="Assert"}Use 'Assert.{0}' instead of 'CollectionAssert.{1}'
+ {0} is the preferred Assert method name. {1} is the current CollectionAssert method name. {Locked="CollectionAssert"}{Locked="Assert"}The type of the generic parameter '{0}' could not be inferred.
+ {0} is the generic type parameter name.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
+ {0} is the generic type parameter name. {1} and {2} are the conflicting type names.'[DynamicData]' member '{0}.{1}' is not a property nor a method. Only properties and methods are supported.
+ {0} is the containing type name. {1} is the member name. {Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' is not a property, method, or field. Only properties, methods, and fields are supported.
+ {0} is the containing type name. {1} is the member name. {Locked="[DynamicData]"}Don't use 'Assert.AreSame' or 'Assert.AreNotSame' with value types
+ {Locked="Assert.AreNotSame"}{Locked="Assert.AreSame"}Use '{0}' instead of '{1}' when comparing value types
+ {0} is the preferred assertion method name. {1} is the current assertion method name.Use 'Assert.AreEqual'/'Assert.AreNotEqual' instead of 'Assert.AreSame'/'Assert.AreNotSame' when comparing value types. Passing a value type to 'Assert.AreSame'/'Assert.AreNotSame' will be boxed (creating a new object). Because 'Assert.AreSame'/'Assert.AreNotSame' does the comparison by reference, 'Assert.AreSame' will fail when boxing happens, and 'Assert.AreNotSame' will always pass.
+ {Locked="Assert.AreNotEqual"}{Locked="Assert.AreNotSame"}{Locked="Assert.AreEqual"}{Locked="Assert.AreSame"}Avoid Assert.AreEqual on collection types
+ {Locked="Assert.AreEqual"}`{0}` on {1} (which implements IEnumerable<T>) does not perform element-wise sequence comparison. Use `Assert.AreSequenceEqual` for ordered element-wise comparison, `Assert.AreSequenceEqual(..., SequenceOrder.InAnyOrder)` for unordered, or `Assert.AreEquivalent` for deep structural comparison.
+ {0} is the current assert method call. {1} is the collection type name. {Locked="Assert.AreSequenceEqual(..., SequenceOrder.InAnyOrder)"}{Locked="Assert.AreSequenceEqual"}{Locked="Assert.AreEquivalent"}{Locked="IEnumerable<T>"}`Assert.AreEqual` and `Assert.AreNotEqual` use `EqualityComparer<T>.Default`. For collection-like types this relies on the type's own equality semantics instead of comparing sequence elements, so `Assert.AreSequenceEqual`/`Assert.AreNotSequenceEqual` or `Assert.AreEquivalent`/`Assert.AreNotEquivalent` are usually the better fit.
+ {Locked="EqualityComparer<T>.Default"}{Locked="Assert.AreNotSequenceEqual"}{Locked="Assert.AreSequenceEqual"}{Locked="Assert.AreNotEquivalent"}{Locked="Assert.AreEquivalent"}{Locked="Assert.AreNotEqual"}{Locked="Assert.AreEqual"}Do not assert inside 'async void' contexts
+ {Locked="async void"}{Locked="void"}{Locked="async"}Do not assert inside 'async void' methods, local functions, or lambdas because they may not fail the test
+ {Locked="async void"}{Locked="void"}{Locked="async"}Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.
+ {Locked="Microsoft.Testing.Platform"}{Locked=".NET Framework"}{Locked="VSTest"}{Locked=".NET"}{Locked="async void"}{Locked="void"}{Locked="async"}Use 'ConditionBaseAttribute' on test classes
+ {Locked="ConditionBaseAttribute"}The attribute '{0}' which derives from 'ConditionBaseAttribute' should be used only on classes marked with `TestClassAttribute`
+ {0} is the attribute name. {Locked="ConditionBaseAttribute"}{Locked="TestClassAttribute"}Avoid duplicated 'DataRow' entries
+ {Locked="DataRow"}Do not duplicate 'DataRow' attributes. This is usually a copy/paste error. The attribute indices are '{0}' and '{1}'.
+ {0} is the first duplicate attribute index. {1} is the second duplicate attribute index. {Locked="DataRow"}Use retry attribute on test method or test class
+ {Locked="class"}An attribute that derives from 'RetryBaseAttribute' can be specified only on a test method or a test class
+ {Locked="RetryBaseAttribute"}{Locked="class"}Prefer 'TestMethod' over 'DataTestMethod'
+ {Locked="DataTestMethod"}{Locked="TestMethod"}'DataTestMethod' is obsolete. Use 'TestMethod' instead.
+ {Locked="DataTestMethod"}{Locked="TestMethod"}'DataTestMethodAttribute' is obsolete and provides no additional functionality over 'TestMethodAttribute'. Use 'TestMethodAttribute' for all test methods, including parameterized tests.
+ {Locked="DataTestMethodAttribute"}{Locked="TestMethodAttribute"}Use 'CooperativeCancellation = true' with '[Timeout]'
+ {Locked="CooperativeCancellation = true"}{Locked="[Timeout]"}{Locked="true"}Use 'CooperativeCancellation = true' with '[Timeout]' to enable cooperative cancellation behavior
+ {Locked="CooperativeCancellation = true"}{Locked="[Timeout]"}{Locked="true"}Using '[Timeout]' without explicitly setting 'CooperativeCancellation = true' is discouraged. In a future version, cooperative cancellation will become the default behavior. Set 'CooperativeCancellation = true' to opt into the recommended behavior and avoid breaking changes.
+ {Locked="CooperativeCancellation = true"}{Locked="[Timeout]"}{Locked="true"}TestContext property cannot be accessed in this context
+ {Locked="TestContext"}TestContext property '{0}' cannot be accessed in '{1}' method
+ {0} is the TestContext property name. {1} is the lifecycle method name. {Locked="TestContext"}Some TestContext properties are only available during test execution and cannot be accessed in assembly initialize, class initialize, class cleanup, or assembly cleanup methods.
+ {Locked="TestContext"}{Locked="class"}Flow TestContext.CancellationToken to async operations
+ {Locked="TestContext.CancellationToken"}{Locked="async"}Consider using the overload that accepts a CancellationToken and pass 'TestContext.CancellationToken'
+ {Locked="TestContext.CancellationToken"}{Locked="CancellationToken"}When calling async methods that have overloads accepting a CancellationToken parameter, prefer using the overload with TestContext.CancellationToken to enable cooperative cancellation and respect test timeouts.
+ {Locked="TestContext.CancellationToken"}{Locked="CancellationToken"}{Locked="async"}Assert.Throws should contain only a single statement/expression
+ {Locked="Assert.Throws"}Assert.Throws should contain only a single statement/expression
+ {Locked="Assert.Throws"}Assert.Throws methods should contain only a single statement or expression. Multiple statements can be misleading - if the first statement throws, subsequent statements are never executed; if it doesn't throw, it should be moved outside the Assert.Throws.
+ {Locked="Assert.Throws"}GlobalTestInitialize and GlobalTestCleanup methods should have valid layout
+ {Locked="GlobalTestInitialize"}{Locked="GlobalTestCleanup"}Global test fixture method '{0}' signature is invalid
+ {0} is the method name.Methods marked with '[GlobalTestInitialize]' or '[GlobalTestCleanup]' should follow the following layout to be valid:
@@ -662,57 +787,74 @@ The type declaring these methods should also respect the following rules:
-The class shouldn't be 'static'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.
+ {Locked="[GlobalTestInitialize]"}{Locked="[GlobalTestCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}Avoid passing an explicit 'DynamicDataSourceType' and use the default auto detect behavior
+ {Locked="DynamicDataSourceType"}Remove the 'DynamicDataSourceType' argument to use the default auto detect behavior
+ {Locked="DynamicDataSourceType"}TestMethodAttribute should set DisplayName correctly
+ {Locked="TestMethodAttribute"}{Locked="DisplayName"}Use the 'DisplayName' property instead of passing a string argument to TestMethodAttribute
+ {Locked="TestMethodAttribute"}{Locked="DisplayName"}TestMethodAttribute derived class should propagate source information
+ {Locked="TestMethodAttribute"}{Locked="class"}TestMethodAttribute derived class '{0}' should add CallerFilePath and CallerLineNumber parameters to its constructor
+ {0} is the derived TestMethodAttribute class name. {Locked="TestMethodAttribute"}{Locked="CallerLineNumber"}{Locked="CallerFilePath"}{Locked="class"}Use TestContext.CancellationToken instead of TestContext.CancellationTokenSource.Token
+ {Locked="TestContext.CancellationTokenSource.Token"}{Locked="TestContext.CancellationToken"}Use 'TestContext.CancellationToken' instead of 'TestContext.CancellationTokenSource.Token'
+ {Locked="TestContext.CancellationTokenSource.Token"}{Locked="TestContext.CancellationToken"}TestContext.CancellationToken provides a more direct way to access the cancellation token compared to TestContext.CancellationTokenSource.Token.
+ {Locked="TestContext.CancellationTokenSource.Token"}{Locked="TestContext.CancellationToken"}Do not ignore the return value of string methodsThe return value of '{0}' should not be ignored
+ {0} is the string method name.Methods like Contains, StartsWith, and EndsWith return boolean values that indicate whether the condition was met. Ignoring these return values is likely a mistake.
+ {Locked="StartsWith"}{Locked="Contains"}{Locked="EndsWith"}Use 'Assert.{0}' instead
+ {0} is the assert method name. {Locked="Assert"}Use proper Assert methods for all negated assertions
+ {Locked="Assert"}Do not use asserts in catch blocks
+ {Locked="catch"}Do not use asserts in catch blocks because they may not fail the test if no exception is thrown
+ {Locked="catch"}Using asserts in catch blocks is problematic because the test will pass even if no exception is thrown and the catch block is never executed. Use 'Assert.Throws', 'Assert.ThrowsExactly', 'Assert.ThrowsAsync' or 'Assert.ThrowsExactlyAsync' to verify that an exception is thrown, and then make additional assertions on the caught exception without using the try-catch block. The rule also flags 'throw new AssertFailedException(...)' and 'throw new AssertInconclusiveException(...)' (the desugared forms of 'Assert.Fail' and 'Assert.Inconclusive'). 'Assert.Inconclusive' (and 'throw new AssertInconclusiveException(...)') is exempt when used inside a filtered catch ('catch (...) when (...)'), because demoting a caught failure to an Inconclusive outcome is the only use case that cannot be expressed without a catch block. For other intentional bypasses (for example, attaching a runtime-built message to the failure), suppress the diagnostic with '#pragma warning disable MSTEST0058'.
+ {Locked="#pragma warning disable MSTEST0058"}{Locked="AssertInconclusiveException"}{Locked="Assert.ThrowsExactlyAsync"}{Locked="AssertFailedException"}{Locked="Assert.ThrowsExactly"}{Locked="Assert.Inconclusive"}{Locked="Assert.ThrowsAsync"}{Locked="Assert.Throws"}{Locked="Assert.Fail"}{Locked="throw new AssertFailedException(...)"}{Locked="throw new AssertInconclusiveException(...)"}{Locked="catch"}Do not use both '[Parallelize]' and '[DoNotParallelize]' attributes
@@ -728,65 +870,84 @@ The type declaring these methods should also respect the following rules:
Use '[OSCondition]' attribute instead of 'RuntimeInformation.IsOSPlatform' calls with early return or 'Assert.Inconclusive'
+ {Locked="RuntimeInformation.IsOSPlatform"}{Locked="Assert.Inconclusive"}{Locked="[OSCondition]"}Use '[OSCondition]' attribute instead of 'RuntimeInformation.IsOSPlatform' calls with early return or 'Assert.Inconclusive'
+ {Locked="RuntimeInformation.IsOSPlatform"}{Locked="Assert.Inconclusive"}{Locked="[OSCondition]"}Test methods that use 'RuntimeInformation.IsOSPlatform' with early return or 'Assert.Inconclusive' should use the '[OSCondition]' attribute instead. This attribute provides a more declarative and discoverable way to specify OS-specific test requirements.
+ {Locked="RuntimeInformation.IsOSPlatform"}{Locked="Assert.Inconclusive"}{Locked="[OSCondition]"}Avoid duplicate test method attributesTest method '{0}' has multiple attributes that inherit from 'TestMethodAttribute'. Only one test method attribute should be used.
+ {0} is the test method name. {Locked="TestMethodAttribute"}A test method should be marked with exactly one attribute that is or inherits from 'TestMethodAttribute'. When multiple such attributes are present, only the first one returned by reflection will be used.
+ {Locked="TestMethodAttribute"}Avoid using 'out' or 'ref' parameters in test methods
+ {Locked="out"}{Locked="ref"}Test method '{0}' has 'out' or 'ref' parameters for which support will be dropped in a future major version
+ {0} is the test method name. {Locked="out"}{Locked="ref"}'out' and 'ref' parameters add no value in test methods and they can safely be replaced by normal parameters.
+ {Locked="out"}{Locked="ref"}Test classes should have valid constructorsTest class '{0}' does not have a valid constructor. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
+ {0} is the test class name. {Locked="TestContext"}{Locked="public"}{Locked="class"}Test classes must have a public constructor that is either parameterless or accepts a single TestContext parameter. This allows the test framework to instantiate the test class properly.
+ {Locked="TestContext"}{Locked="public"}{Locked="class"}Avoid synchronously blocking calls such as 'Thread.Sleep', 'Task.Wait', 'Task.WaitAll', 'Task.WaitAny' or 'Task<TResult>.Result' in test code
+ {Locked="Task<TResult>.Result"}{Locked="Thread.Sleep"}{Locked="Task.WaitAll"}{Locked="Task.WaitAny"}{Locked="Task.Wait"}Avoid '{0}' in test code as it can cause test flakiness; consider an asynchronous alternative such as 'await Task.Delay' or 'await' the task
+ {0} is the synchronous blocking call. {Locked="Task.Delay"}{Locked="await"}{Locked="await Task.Delay"}Synchronously blocking the current thread with 'Thread.Sleep', 'Task.Wait', 'Task.WaitAll', 'Task.WaitAny' or 'Task<TResult>.Result' inside test methods or test fixtures is a common source of flakiness and can also deadlock when the test framework runs tests on a SynchronizationContext that requires cooperative scheduling. Prefer 'await Task.Delay' for time-based waits and 'await' the task to observe its result.
+ {Locked="Task<TResult>.Result"}{Locked="Thread.Sleep"}{Locked="Task.WaitAll"}{Locked="Task.WaitAny"}{Locked="Task.Delay"}{Locked="Task.Wait"}{Locked="await"}{Locked="await Task.Delay"}Prefer async assertion methods
+ {Locked="async"}Use 'Assert.{0}' instead of blocking an async call in 'Assert.{1}'
+ {0} is the async assert method name. {1} is the blocking assert method name. {Locked="Assert"}{Locked="async"}When verifying exceptions from asynchronous code, use the async assertion methods instead of blocking the asynchronous operation with GetAwaiter().GetResult().
+ {Locked="GetAwaiter().GetResult()"}{Locked="async"}'[Ignore]' should specify a justification
+ {Locked="[Ignore]"}'[Ignore]' should specify a message explaining why '{0}' is ignored
+ {0} is the ignored target name. {Locked="[Ignore]"}An '[Ignore]' attribute applied to a test method or test class should include a non-empty message explaining why the test or class is ignored. A justification message makes it easier to triage skipped tests, helps reviewers understand the intent, and prevents tests from being silently disabled forever.
+ {Locked="[Ignore]"}{Locked="class"}
diff --git a/src/Analyzers/MSTest.Analyzers/xlf/Resources.cs.xlf b/src/Analyzers/MSTest.Analyzers/xlf/Resources.cs.xlf
index 78cbd2d2b2..e63c0a8428 100644
--- a/src/Analyzers/MSTest.Analyzers/xlf/Resources.cs.xlf
+++ b/src/Analyzers/MSTest.Analyzers/xlf/Resources.cs.xlf
@@ -19,7 +19,7 @@ The type declaring these methods should also respect the following rules:
-The class shouldn't be 'static'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.
- Aby byly metody s označením [AssemblyCleanup] platné, musí se řídit následujícím rozložením:
+ Aby byly metody s označením [AssemblyCleanup] platné, musí se řídit následujícím rozložením:
– Nesmí být deklarované pro obecnou třídu.
– Musí být public.
– Musí být static.
@@ -35,17 +35,17 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
– Třída by neměla být static.
– Třída by měla být označena atributem [TestClass] (nebo odvozeným atributem).
– Třída by neměla být obecná.
-
+ {Locked="[DiscoverInternals]"}{Locked="[AssemblyCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}AssemblyCleanup method '{0}' signature is invalid
- Signatura „{0}“ metody AssemblyCleanup je neplatná
-
+ Signatura „{0}“ metody AssemblyCleanup je neplatná
+ {0} is the method name. {Locked="AssemblyCleanup"}AssemblyCleanup methods should have valid layout
- Metody AssemblyCleanup musí mít platné rozložení
-
+ Metody AssemblyCleanup musí mít platné rozložení
+ {Locked="AssemblyCleanup"}Methods marked with '[AssemblyInitialize]' should follow the following layout to be valid:
@@ -64,7 +64,7 @@ The type declaring these methods should also respect the following rules:
-The class shouldn't be 'static'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.
- Aby byly metody s označením [AssemblyInitialize] platné, musí se řídit následujícím rozložením:
+ Aby byly metody s označením [AssemblyInitialize] platné, musí se řídit následujícím rozložením:
– Nesmí být deklarované pro obecnou třídu.
– Musí být public.
– Musí být static.
@@ -80,22 +80,22 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
– Třída by neměla být static.
– Třída by měla být označena atributem [TestClass] (nebo odvozeným atributem).
– Třída by neměla být obecná.
-
+ {Locked="[AssemblyInitialize]"}{Locked="[DiscoverInternals]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}AssemblyInitialize method '{0}' signature is invalid
- Signatura „{0}“ metody AssemblyInitialize je neplatná
-
+ Signatura „{0}“ metody AssemblyInitialize je neplatná
+ {0} is the method name. {Locked="AssemblyInitialize"}AssemblyInitialize methods should have valid layout
- Metody AssemblyInitialize musí mít platné rozložení
-
+ Metody AssemblyInitialize musí mít platné rozložení
+ {Locked="AssemblyInitialize"}Prefer adding an additional assertion that checks for null
- Preferovat přidání dalšího kontrolního výrazu, který kontroluje hodnotu null
-
+ Preferovat přidání dalšího kontrolního výrazu, který kontroluje hodnotu null
+ {Locked="null"}Avoid conditional access in assertions
@@ -104,13 +104,13 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
'Assert.AreEqual', 'Assert.AreNotEqual', 'Assert.AreSame' and 'Assert.AreNotSame' expects the expected value to be passed first and the actual value to be passed as second argument.
- Assert.AreEqual, Assert.AreNotEqual, Assert.AreSame a Assert.AreNotSame očekává, že se jako první argument předá očekávaná hodnota a jako druhý argument skutečná hodnota.
-
+ Assert.AreEqual, Assert.AreNotEqual, Assert.AreSame a Assert.AreNotSame očekává, že se jako první argument předá očekávaná hodnota a jako druhý argument skutečná hodnota.
+ {Locked="Assert.AreNotEqual"}{Locked="Assert.AreNotSame"}{Locked="Assert.AreEqual"}{Locked="Assert.AreSame"}{Locked="actual"}{Locked="expected"}Assertion arguments should be passed in the correct order. 'actual' and 'expected'/'notExpected' arguments have been swapped.
- Argumenty kontrolního výrazu musí být předány ve správném pořadí. Argumenty actual a expected/notExpected byly prohozeny.
-
+ Argumenty kontrolního výrazu musí být předány ve správném pořadí. Argumenty actual a expected/notExpected byly prohozeny.
+ {Locked="actual"}{Locked="expected"}{Locked="notExpected"}Assertion arguments should be passed in the correct order
@@ -119,73 +119,73 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
`Assert.AreEqual` and `Assert.AreNotEqual` use `EqualityComparer<T>.Default`. For collection-like types this relies on the type's own equality semantics instead of comparing sequence elements, so `Assert.AreSequenceEqual`/`Assert.AreNotSequenceEqual` or `Assert.AreEquivalent`/`Assert.AreNotEquivalent` are usually the better fit.
- `Assert.AreEqual` a `Assert.AreNotEqual` používají `EqualityComparer<T>.Default`. U typů podobných kolekcím se používá vlastní sémantika rovnosti daného typu místo porovnávání elementů sekvence, takže vhodnější volbou obvykle bývá `Assert.AreSequenceEqual`/`Assert.AreNotSequenceEqual` nebo `Assert.AreEquivalent`/`Assert.AreNotEquivalent`.
-
+ `Assert.AreEqual` a `Assert.AreNotEqual` používají `EqualityComparer<T>.Default`. U typů podobných kolekcím se používá vlastní sémantika rovnosti daného typu místo porovnávání elementů sekvence, takže vhodnější volbou obvykle bývá `Assert.AreSequenceEqual`/`Assert.AreNotSequenceEqual` nebo `Assert.AreEquivalent`/`Assert.AreNotEquivalent`.
+ {Locked="EqualityComparer<T>.Default"}{Locked="Assert.AreNotSequenceEqual"}{Locked="Assert.AreSequenceEqual"}{Locked="Assert.AreNotEquivalent"}{Locked="Assert.AreEquivalent"}{Locked="Assert.AreNotEqual"}{Locked="Assert.AreEqual"}`{0}` on {1} (which implements IEnumerable<T>) does not perform element-wise sequence comparison. Use `Assert.AreSequenceEqual` for ordered element-wise comparison, `Assert.AreSequenceEqual(..., SequenceOrder.InAnyOrder)` for unordered, or `Assert.AreEquivalent` for deep structural comparison.
- `{0}` na {1} (implementující rozhraní IEnumerable<T>) neprovádí porovnání sekvencí po elementech. Pro uspořádané porovnání elementů použijte `Assert.AreSequenceEqual`, pro neuspořádané `Assert.AreSequenceEqual(..., SequenceOrder.InAnyOrder)` nebo pro hloubkové strukturální porovnání `Assert.AreEquivalent`.
-
+ `{0}` na {1} (implementující rozhraní IEnumerable<T>) neprovádí porovnání sekvencí po elementech. Pro uspořádané porovnání elementů použijte `Assert.AreSequenceEqual`, pro neuspořádané `Assert.AreSequenceEqual(..., SequenceOrder.InAnyOrder)` nebo pro hloubkové strukturální porovnání `Assert.AreEquivalent`.
+ {0} is the current assert method call. {1} is the collection type name. {Locked="Assert.AreSequenceEqual(..., SequenceOrder.InAnyOrder)"}{Locked="Assert.AreSequenceEqual"}{Locked="Assert.AreEquivalent"}{Locked="IEnumerable<T>"}Avoid Assert.AreEqual on collection types
- Nepoužívat Assert.AreEqual u typů kolekcí
-
+ Nepoužívat Assert.AreEqual u typů kolekcí
+ {Locked="Assert.AreEqual"}Use 'Assert.AreEqual'/'Assert.AreNotEqual' instead of 'Assert.AreSame'/'Assert.AreNotSame' when comparing value types. Passing a value type to 'Assert.AreSame'/'Assert.AreNotSame' will be boxed (creating a new object). Because 'Assert.AreSame'/'Assert.AreNotSame' does the comparison by reference, 'Assert.AreSame' will fail when boxing happens, and 'Assert.AreNotSame' will always pass.
- Při porovnávání typů hodnot použijte Assert.AreEqual/Assert.AreNotEqual místo Assert.AreSame/Assert.AreNotSame. Předání typu hodnoty do assert.AreSame/Assert.AreNotSame bude zabaleno (vytváření nového objektu). Protože Assert.AreSame/Assert.AreNotSame provádí porovnání podle odkazu, Assert.AreSame selže, když dojde k zabalení, a Assert.AreNotSame vždy proběhne.
-
+ Při porovnávání typů hodnot použijte Assert.AreEqual/Assert.AreNotEqual místo Assert.AreSame/Assert.AreNotSame. Předání typu hodnoty do assert.AreSame/Assert.AreNotSame bude zabaleno (vytváření nového objektu). Protože Assert.AreSame/Assert.AreNotSame provádí porovnání podle odkazu, Assert.AreSame selže, když dojde k zabalení, a Assert.AreNotSame vždy proběhne.
+ {Locked="Assert.AreNotEqual"}{Locked="Assert.AreNotSame"}{Locked="Assert.AreEqual"}{Locked="Assert.AreSame"}Use '{0}' instead of '{1}' when comparing value types
- Při porovnávání typů hodnot použít '{0}' místo '{1}'
-
+ Při porovnávání typů hodnot použít '{0}' místo '{1}'
+ {0} is the preferred assertion method name. {1} is the current assertion method name.Don't use 'Assert.AreSame' or 'Assert.AreNotSame' with value types
- Nepoužívejte Assert.AreSame ani Assert.AreNotSame s typy hodnot.
-
+ Nepoužívejte Assert.AreSame ani Assert.AreNotSame s typy hodnot.
+ {Locked="Assert.AreNotSame"}{Locked="Assert.AreSame"}Remove the 'DynamicDataSourceType' argument to use the default auto detect behavior
- Pokud chcete použít výchozí chování automatického zjišťování, odeberte argument DynamicDataSourceType.
-
+ Pokud chcete použít výchozí chování automatického zjišťování, odeberte argument DynamicDataSourceType.
+ {Locked="DynamicDataSourceType"}Avoid passing an explicit 'DynamicDataSourceType' and use the default auto detect behavior
- Vyhněte se předávání explicitního typu DynamicDataSourceType a použijte výchozí chování automatického zjišťování.
-
+ Vyhněte se předávání explicitního typu DynamicDataSourceType a použijte výchozí chování automatického zjišťování.
+ {Locked="DynamicDataSourceType"}Synchronously blocking the current thread with 'Thread.Sleep', 'Task.Wait', 'Task.WaitAll', 'Task.WaitAny' or 'Task<TResult>.Result' inside test methods or test fixtures is a common source of flakiness and can also deadlock when the test framework runs tests on a SynchronizationContext that requires cooperative scheduling. Prefer 'await Task.Delay' for time-based waits and 'await' the task to observe its result.
- Synchronní blokování aktuálního vlákna pomocí „Thread.Sleep“, „Task.Wait“, „Task.WaitAll“, „Task.WaitAny“ nebo „Task<TResult>.Result“ uvnitř testovacích metod nebo testovacích přípravků je běžným zdrojem nestability a může také způsobit zablokování, když testovací rámec spouští testy na SynchronizationContextu, který vyžaduje kooperativní plánování. Pokud chcete sledovat příslušný výsledek, upřednostňujte „await Task.Delay“ pro čekání na základě času a „await“.
-
+ Synchronní blokování aktuálního vlákna pomocí „Thread.Sleep“, „Task.Wait“, „Task.WaitAll“, „Task.WaitAny“ nebo „Task<TResult>.Result“ uvnitř testovacích metod nebo testovacích přípravků je běžným zdrojem nestability a může také způsobit zablokování, když testovací rámec spouští testy na SynchronizationContextu, který vyžaduje kooperativní plánování. Pokud chcete sledovat příslušný výsledek, upřednostňujte „await Task.Delay“ pro čekání na základě času a „await“.
+ {Locked="Task<TResult>.Result"}{Locked="Thread.Sleep"}{Locked="Task.WaitAll"}{Locked="Task.WaitAny"}{Locked="Task.Delay"}{Locked="Task.Wait"}{Locked="await"}{Locked="await Task.Delay"}Avoid '{0}' in test code as it can cause test flakiness; consider an asynchronous alternative such as 'await Task.Delay' or 'await' the task
- Vyhněte se v testovacím kódu „{0}“, protože to může způsobit nestabilitu testů; zvažte asynchronní alternativu, například „await Task.Delay“ nebo „await“ pro danou úlohu
-
+ Vyhněte se v testovacím kódu „{0}“, protože to může způsobit nestabilitu testů; zvažte asynchronní alternativu, například „await Task.Delay“ nebo „await“ pro danou úlohu
+ {0} is the synchronous blocking call. {Locked="Task.Delay"}{Locked="await"}{Locked="await Task.Delay"}Avoid synchronously blocking calls such as 'Thread.Sleep', 'Task.Wait', 'Task.WaitAll', 'Task.WaitAny' or 'Task<TResult>.Result' in test code
- Vyhněte se synchronnímu blokování volání, jako jsou „Thread.Sleep“, „Task.Wait“, „Task.WaitAll“, „Task.WaitAny“ nebo „Task<TResult>.Result“ v testovacím kódu
-
+ Vyhněte se synchronnímu blokování volání, jako jsou „Thread.Sleep“, „Task.Wait“, „Task.WaitAll“, „Task.WaitAny“ nebo „Task<TResult>.Result“ v testovacím kódu
+ {Locked="Task<TResult>.Result"}{Locked="Thread.Sleep"}{Locked="Task.WaitAll"}{Locked="Task.WaitAny"}{Locked="Task.Wait"}Do not assert inside 'async void' methods, local functions, or lambdas. Exceptions that are thrown in this context will be unhandled exceptions. When using VSTest under .NET Framework, they will be silently swallowed. When using Microsoft.Testing.Platform or VSTest under modern .NET, they may crash the process.
- Nepoužívejte výraz uvnitř metod async void, místních funkcí nebo výrazů lambda. Výjimky vyvolané v tomto kontextu budou neošetřené výjimky. Když používáte VSTest v .NET Framework, budou se bezobslužně používat. Když používáte Microsoft.Testing.Platform nebo VSTest v moderním rozhraní .NET, může dojít k chybovému ukončení procesu.
-
+ Nepoužívejte výraz uvnitř metod async void, místních funkcí nebo výrazů lambda. Výjimky vyvolané v tomto kontextu budou neošetřené výjimky. Když používáte VSTest v .NET Framework, budou se bezobslužně používat. Když používáte Microsoft.Testing.Platform nebo VSTest v moderním rozhraní .NET, může dojít k chybovému ukončení procesu.
+ {Locked="Microsoft.Testing.Platform"}{Locked=".NET Framework"}{Locked="VSTest"}{Locked=".NET"}{Locked="async void"}{Locked="void"}{Locked="async"}Do not assert inside 'async void' methods, local functions, or lambdas because they may not fail the test
- Neprosazovat uvnitř metod async void, místních funkcí nebo výrazů lambda, protože test nemusí selhat
-
+ Neprosazovat uvnitř metod async void, místních funkcí nebo výrazů lambda, protože test nemusí selhat
+ {Locked="async void"}{Locked="void"}{Locked="async"}Do not assert inside 'async void' contexts
- Neprosazovat uvnitř kontextů async void
-
+ Neprosazovat uvnitř kontextů async void
+ {Locked="async void"}{Locked="void"}{Locked="async"}Methods marked with '[ClassCleanup]' should follow the following layout to be valid:
@@ -206,7 +206,7 @@ The type declaring these methods should also respect the following rules:
-The class shouldn't be 'static'
-If the class is 'sealed', it should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.
- Aby byly metody s označením [ClassCleanup] platné, musí se řídit následujícím rozložením:
+ Aby byly metody s označením [ClassCleanup] platné, musí se řídit následujícím rozložením:
– Nesmí být deklarované pro obecnou třídu bez nastavení režimu InheritanceBehavior.
– Musí být public.
– Musí být static.
@@ -224,17 +224,17 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
– Třída by neměla být static.
– Pokud je třída sealed, měla by být označena atributem [TestClass] (nebo odvozeným atributem).
– Třída by neměla být obecná.
-
+ {Locked="InheritanceBehavior.BeforeEachDerivedClass"}{Locked="[DiscoverInternals]"}{Locked="[ClassCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="abstract"}{Locked="sealed"}{Locked="async"}{Locked="class"}ClassCleanup method '{0}' signature is invalid
- Signatura „{0}“ metody ClassCleanup je neplatná
-
+ Signatura „{0}“ metody ClassCleanup je neplatná
+ {0} is the method name. {Locked="ClassCleanup"}ClassCleanup methods should have valid layout
- Metody ClassCleanup musí mít platné rozložení
-
+ Metody ClassCleanup musí mít platné rozložení
+ {Locked="ClassCleanup"}Methods marked with '[ClassInitialize]' should follow the following layout to be valid:
@@ -255,7 +255,7 @@ The type declaring these methods should also respect the following rules:
-The class shouldn't be 'static'
-If the class is 'sealed', it should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.
- Aby byly metody s označením [ClassInitialize] platné, musí se řídit následujícím rozložením:
+ Aby byly metody s označením [ClassInitialize] platné, musí se řídit následujícím rozložením:
– Nesmí být deklarované pro obecnou třídu bez nastavení režimu InheritanceBehavior.
– Musí být public.
– Musí být static.
@@ -273,83 +273,83 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
– Třída by neměla být static.
– Pokud je třída sealed, měla by být označena atributem [TestClass] (nebo odvozeným atributem).
– Třída by neměla být obecná.
-
+ {Locked="InheritanceBehavior.BeforeEachDerivedClass"}{Locked="[DiscoverInternals]"}{Locked="[ClassInitialize]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="abstract"}{Locked="sealed"}{Locked="async"}{Locked="class"}ClassInitialize method '{0}' signature is invalid
- Signatura „{0}“ metody ClassInitialize je neplatná
-
+ Signatura „{0}“ metody ClassInitialize je neplatná
+ {0} is the method name. {Locked="ClassInitialize"}ClassInitialize methods should have valid layout
- Metody ClassInitialize musí mít platné rozložení
-
+ Metody ClassInitialize musí mít platné rozložení
+ {Locked="ClassInitialize"}Use 'Assert.{0}' instead of 'CollectionAssert.{1}'
- Použijte Assert.{0} namísto CollectionAssert.{1}
-
+ Použijte Assert.{0} namísto CollectionAssert.{1}
+ {0} is the preferred Assert method name. {1} is the current CollectionAssert method name. {Locked="CollectionAssert"}{Locked="Assert"}Use 'Assert' instead of 'CollectionAssert'
- Použijte Assert namísto CollectionAssert
-
+ Použijte Assert namísto CollectionAssert
+ {Locked="CollectionAssert"}{Locked="Assert"}DataRow entry should have the following layout to be valid:
- should only be set on a test method;
- argument count should match method argument count;
- argument type should match method argument type.
- Položka DataRow by měla mít platné následující rozložení:
+ Položka DataRow by měla mít platné následující rozložení:
- by se mělo nastavovat jenom pro testovací metodu;
- počet argumentů by měl odpovídat počtu argumentů metody;
- typ argumentu by měl odpovídat typu argumentu metody.
-
+ {Locked="DataRow"}DataRow argument count should match method parameter count (constructor arguments: {0}, method parameters: {1})
- Počet argumentů dataRow by měl odpovídat počtu parametrů metody (argumenty konstruktoru: {0}, parametry metody: {1})
-
+ Počet argumentů dataRow by měl odpovídat počtu parametrů metody (argumenty konstruktoru: {0}, parametry metody: {1})
+ {0} is the number of constructor arguments. {1} is the number of method parameters. {Locked="DataRow"}DataRow argument types do not match method parameter types. {0}
- Typy argumentů DataRow neodpovídají typům parametrů metody. {0}
-
+ Typy argumentů DataRow neodpovídají typům parametrů metody. {0}
+ {0} is the argument type mismatch details. {Locked="DataRow"}Parameter '{0}' expects type '{1}', but the provided value has type '{2}'
- Parametr '{0}' očekává typ '{1}', ale zadaná hodnota má typ '{2}'
-
+ Parametr '{0}' očekává typ '{1}', ale zadaná hodnota má typ '{2}'
+ {0} is the parameter name. {1} is the expected parameter type. {2} is the provided value type.Found two conflicting types for generic parameter '{0}'. The conflicting types are '{1}' and '{2}'.
- Byly nalezeny dva konfliktní typy pro obecný parametr '{0}'. Konfliktní typy jsou '{1}' a '{2}'.
-
+ Byly nalezeny dva konfliktní typy pro obecný parametr '{0}'. Konfliktní typy jsou '{1}' a '{2}'.
+ {0} is the generic type parameter name. {1} and {2} are the conflicting type names.The type of the generic parameter '{0}' could not be inferred.
- Typ obecného parametru '{0}' nelze odvodit.
-
+ Typ obecného parametru '{0}' nelze odvodit.
+ {0} is the generic type parameter name.DataRow should only be set on a test method
- Objekt DataRow by měl být nastaven pouze pro testovací metodu
-
+ Objekt DataRow by měl být nastaven pouze pro testovací metodu
+ {Locked="DataRow"}DataRow should be valid
- Argument DataRow by měl být platný
-
+ Argument DataRow by měl být platný
+ {Locked="DataRow"}Use 'Assert.{0}' instead
- Použijte místo toho Assert.{0}.
-
+ Použijte místo toho Assert.{0}.
+ {0} is the assert method name. {Locked="Assert"}Use proper Assert methods for all negated assertions
- Použijte správné metody Assert pro všechny negované kontrolní výrazy
-
+ Použijte správné metody Assert pro všechny negované kontrolní výrazy
+ {Locked="Assert"}Do not negate boolean assertions, instead use the opposite assertion
@@ -363,13 +363,13 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
Do not store TestContext in a static member
- Neukládejte TestContext ve statickém členu
-
+ Neukládejte TestContext ve statickém členu
+ {Locked="TestContext"}{Locked="static"}Do not store TestContext in a static member
- Neukládejte TestContext ve statickém členu
-
+ Neukládejte TestContext ve statickém členu
+ {Locked="TestContext"}{Locked="static"}Shadowing test members could cause testing issues (such as NRE).
@@ -378,8 +378,8 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
Member '{0}' already exists in the base class
- Člen {0} už v základní (kořenové) třídě existuje.
-
+ Člen {0} už v základní (kořenové) třídě existuje.
+ {0} is the member name. {Locked="class"}Do not use shadowing
@@ -388,119 +388,119 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
'System.ComponentModel.DescriptionAttribute' has no effect in the context of tests and you likely wanted to use 'Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute' instead.
- System.ComponentModel.DescriptionAttribute nemá v kontextu testů žádný účinek a pravděpodobně jste místo toho chtěli použít Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute.
-
+ System.ComponentModel.DescriptionAttribute nemá v kontextu testů žádný účinek a pravděpodobně jste místo toho chtěli použít Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute.
+ {Locked="Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute"}{Locked="System.ComponentModel.DescriptionAttribute"}Did you mean to be using 'Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute'?
- Nechtěli jste použít Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute?
-
+ Nechtěli jste použít Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute?
+ {Locked="Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute"}'System.ComponentModel.DescriptionAttribute' has no effect on test methods
- System.ComponentModel.DescriptionAttribute nemá žádný vliv na testovací metody
-
+ System.ComponentModel.DescriptionAttribute nemá žádný vliv na testovací metody
+ {Locked="System.ComponentModel.DescriptionAttribute"}Do not duplicate 'DataRow' attributes. This is usually a copy/paste error. The attribute indices are '{0}' and '{1}'.
- Neduplikujte atributy DataRow. Obvykle se jedná o chybu kopírování a vložení. Indexy atributů jsou {0} a {1}.
-
+ Neduplikujte atributy DataRow. Obvykle se jedná o chybu kopírování a vložení. Indexy atributů jsou {0} a {1}.
+ {0} is the first duplicate attribute index. {1} is the second duplicate attribute index. {Locked="DataRow"}Avoid duplicated 'DataRow' entries
- Vyhněte se duplicitním položkám DataRow
-
+ Vyhněte se duplicitním položkám DataRow
+ {Locked="DataRow"}'DynamicData' entry should have the following layout to be valid:
- should only be set on a test method;
- member should be defined on the type specified;
- member should be a method if DynamicDataSourceType.Method is specified or a property otherwise.
- Aby byla položka DynamicData platná, musí se řídit následujícím rozložením:
+ Aby byla položka DynamicData platná, musí se řídit následujícím rozložením:
– měla by být nastavena jenom pro testovací metodu;
– člen by měl být definovaný pro zadaný typ;
– pokud je zadáno DynamicDataSourceType.Method, měl by být člen metoda, jinak vlastnost.
-
+ {Locked="DynamicDataSourceType.Method"}{Locked="DynamicData"}'[DynamicData]' data member '{0}.{1}' signature is invalid
- Signatura datového členu [DynamicData] {0}.{1} je neplatná.
-
+ Signatura datového členu [DynamicData] {0}.{1} je neplatná.
+ {0} is the containing type name. {1} is the data member name. {Locked="[DynamicData]"}'[DynamicData]' display name method '{0}.{1}' signature is invalid
- Signatura metody zobrazovaného názvu [DynamicData] {0}.{1} je neplatná.
-
+ Signatura metody zobrazovaného názvu [DynamicData] {0}.{1} je neplatná.
+ {0} is the containing type name. {1} is the display name method name. {Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' should be a method
- Člen [DynamicData] {0}.{1} by měla být metoda.
-
+ Člen [DynamicData] {0}.{1} by měla být metoda.
+ {0} is the containing type name. {1} is the member name. {Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' cannot be found
- Člen [DynamicData] {0}.{1} nelze najít.
-
+ Člen [DynamicData] {0}.{1} nelze najít.
+ {0} is the containing type name. {1} is the member name. {Locked="[DynamicData]"}'[DynamicData]' referenced member '{0}.{1}' should return 'IEnumerable<object[]>', 'IEnumerable<Tuple>` or 'IEnumerable<ValueTuple>'
- Odkazovaný člen [DynamicData] {0}.{1} by měl vracet IEnumerable<object[]>, IEnumerable<Tuple> nebo IEnumerable<ValueTuple>.
-
+ Odkazovaný člen [DynamicData] {0}.{1} by měl vracet IEnumerable<object[]>, IEnumerable<Tuple> nebo IEnumerable<ValueTuple>.
+ {0} is the containing type name. {1} is the member name. {Locked="IEnumerable<ValueTuple>"}{Locked="IEnumerable<object[]>"}{Locked="IEnumerable<Tuple>"}{Locked="[DynamicData]"}'[DynamicData]' should only be set on a test method
- Položka [DynamicData] by měla být nastavená jenom u testovací metody.
-
+ Položka [DynamicData] by měla být nastavená jenom u testovací metody.
+ {Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' is a field so you should use 'DynamicDataSourceType.AutoDetect' or 'DynamicDataSourceType.Field' (auto detect is the default when not specified explicitly, and is recommended)
- Člen [DynamicData] {0}.{1} je pole, měli byste použít DynamicDataSourceType.AutoDetect nebo DynamicDataSourceType.Field (výchozí nastavení je automatické rozpoznávání, pokud není zadané explicitně, a je doporučeno).
-
+ Člen [DynamicData] {0}.{1} je pole, měli byste použít DynamicDataSourceType.AutoDetect nebo DynamicDataSourceType.Field (výchozí nastavení je automatické rozpoznávání, pokud není zadané explicitně, a je doporučeno).
+ {0} is the containing type name. {1} is the member name. {Locked="DynamicDataSourceType.AutoDetect"}{Locked="DynamicDataSourceType.Field"}{Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' is a method so you should use 'DynamicDataSourceType.AutoDetect' or 'DynamicDataSourceType.Method' (auto detect is the default when not specified explicitly, and is recommended)
- '[DynamicData]' člen {0}.{1} je metoda, takže byste měli použít DynamicDataSourceType.AutoDetect nebo DynamicDataSourceType.Method (automatické zjišťování je výchozí, pokud není explicitně zadáno, a doporučuje se)
-
+ '[DynamicData]' člen {0}.{1} je metoda, takže byste měli použít DynamicDataSourceType.AutoDetect nebo DynamicDataSourceType.Method (automatické zjišťování je výchozí, pokud není explicitně zadáno, a doporučuje se)
+ {0} is the containing type name. {1} is the member name. {Locked="DynamicDataSourceType.AutoDetect"}{Locked="DynamicDataSourceType.Method"}{Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' is not a property, method, or field. Only properties, methods, and fields are supported.
- Člen [DynamicData] {0}.{1} není vlastnost, metoda ani pole. Podporují se jen vlastnosti, metody a pole.
-
+ Člen [DynamicData] {0}.{1} není vlastnost, metoda ani pole. Podporují se jen vlastnosti, metody a pole.
+ {0} is the containing type name. {1} is the member name. {Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' is not a property nor a method. Only properties and methods are supported.
- '[DynamicData]' člen {0}.{1} není vlastnost ani metoda. Jsou podporovány pouze vlastnosti a metody.
-
+ '[DynamicData]' člen {0}.{1} není vlastnost ani metoda. Jsou podporovány pouze vlastnosti a metody.
+ {0} is the containing type name. {1} is the member name. {Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' is a property so you should use 'DynamicDataSourceType.AutoDetect' or 'DynamicDataSourceType.Property' (auto detect is the default when not specified explicitly, and is recommended)
- '[DynamicData]' člen {0}.{1} je vlastnost, takže byste měli použít DynamicDataSourceType.AutoDetect nebo DynamicDataSourceType.Property (automatické zjišťování je výchozí, pokud není explicitně zadáno, a doporučuje se)
-
+ '[DynamicData]' člen {0}.{1} je vlastnost, takže byste měli použít DynamicDataSourceType.AutoDetect nebo DynamicDataSourceType.Property (automatické zjišťování je výchozí, pokud není explicitně zadáno, a doporučuje se)
+ {0} is the containing type name. {1} is the member name. {Locked="DynamicDataSourceType.AutoDetect"}{Locked="DynamicDataSourceType.Property"}{Locked="[DynamicData]"}'[DynamicData]' member '{0}.{1}' is found more than once
- Člen [DynamicData] {0}.{1} byl nalezen více než jednou.
-
+ Člen [DynamicData] {0}.{1} byl nalezen více než jednou.
+ {0} is the containing type name. {1} is the member name. {Locked="[DynamicData]"}DynamicData should be valid
- Položka DynamicData by měla být platná.
-
+ Položka DynamicData by měla být platná.
+ {Locked="DynamicData"}When calling async methods that have overloads accepting a CancellationToken parameter, prefer using the overload with TestContext.CancellationToken to enable cooperative cancellation and respect test timeouts.
- Při volání asynchronních metod, které mají přetížení akceptující parametr CancellationToken, upřednostňujte použití přetížení s TestContext.CancellationToken, aby se umožnilo kooperativní rušení a dodržování časových limitů testů.
-
+ Při volání asynchronních metod, které mají přetížení akceptující parametr CancellationToken, upřednostňujte použití přetížení s TestContext.CancellationToken, aby se umožnilo kooperativní rušení a dodržování časových limitů testů.
+ {Locked="TestContext.CancellationToken"}{Locked="CancellationToken"}{Locked="async"}Consider using the overload that accepts a CancellationToken and pass 'TestContext.CancellationToken'
- Zvažte použití přetížení, které přijímá CancellationToken a předejte TestContext.CancellationToken.
-
+ Zvažte použití přetížení, které přijímá CancellationToken a předejte TestContext.CancellationToken.
+ {Locked="TestContext.CancellationToken"}{Locked="CancellationToken"}Flow TestContext.CancellationToken to async operations
- Přenesení TestContext.CancellationToken do asynchronních operací
-
+ Přenesení TestContext.CancellationToken do asynchronních operací
+ {Locked="TestContext.CancellationToken"}{Locked="async"}Methods marked with '[GlobalTestInitialize]' or '[GlobalTestCleanup]' should follow the following layout to be valid:
@@ -519,7 +519,7 @@ The type declaring these methods should also respect the following rules:
-The class shouldn't be 'static'
-The class should be marked with '[TestClass]' (or a derived attribute)
-the class should not be generic.
- Aby byly metody s označením [GlobalTestInitialize] nebo [GlobalTestCleanup] platné, musí se řídit následujícím rozložením:
+ Aby byly metody s označením [GlobalTestInitialize] nebo [GlobalTestCleanup] platné, musí se řídit následujícím rozložením:
– Nesmí být deklarované pro obecnou třídu.
– Musí být „public“.
– Musí být „static“.
@@ -535,42 +535,42 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
– Třída by neměla být „static“.
– Třída by měla být označena atributem [TestClass] (nebo odvozeným atributem).
– Třída by neměla být obecná.
-
+ {Locked="[GlobalTestInitialize]"}{Locked="[GlobalTestCleanup]"}{Locked="[TestClass]"}{Locked="TestContext"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="async"}{Locked="class"}Global test fixture method '{0}' signature is invalid
- Podpis metody globálního testovacího přípravku {0} je neplatný.
-
+ Podpis metody globálního testovacího přípravku {0} je neplatný.
+ {0} is the method name.GlobalTestInitialize and GlobalTestCleanup methods should have valid layout
- Metody GlobalTestInitialize a GlobalTestCleanup by měly mít platné rozložení.
-
+ Metody GlobalTestInitialize a GlobalTestCleanup by měly mít platné rozložení.
+ {Locked="GlobalTestInitialize"}{Locked="GlobalTestCleanup"}An '[Ignore]' attribute applied to a test method or test class should include a non-empty message explaining why the test or class is ignored. A justification message makes it easier to triage skipped tests, helps reviewers understand the intent, and prevents tests from being silently disabled forever.
- Atribut „[Ignore]“ použitý u testovací metody nebo testovací třídy by měl obsahovat neprázdnou zprávu vysvětlující, proč jsou test nebo třída ignorovány. Zpráva o odůvodnění usnadňuje třídění přeskočených testů, pomáhá revidujícím porozumět záměru a zabránit tomu, aby se testy navždy bezobslužně zakázaly.
-
+ Atribut „[Ignore]“ použitý u testovací metody nebo testovací třídy by měl obsahovat neprázdnou zprávu vysvětlující, proč jsou test nebo třída ignorovány. Zpráva o odůvodnění usnadňuje třídění přeskočených testů, pomáhá revidujícím porozumět záměru a zabránit tomu, aby se testy navždy bezobslužně zakázaly.
+ {Locked="[Ignore]"}{Locked="class"}'[Ignore]' should specify a message explaining why '{0}' is ignored
- [Ignore] by měl určovat zprávu vysvětlující, proč se {0} ignoruje
-
+ [Ignore] by měl určovat zprávu vysvětlující, proč se {0} ignoruje
+ {0} is the ignored target name. {Locked="[Ignore]"}'[Ignore]' should specify a justification
- „[Ignore]“ by mělo určovat odůvodnění
-
+ „[Ignore]“ by mělo určovat odůvodnění
+ {Locked="[Ignore]"}Methods like Contains, StartsWith, and EndsWith return boolean values that indicate whether the condition was met. Ignoring these return values is likely a mistake.
- Metody jako Contains, StartsWith a EndsWith vracejí logické hodnoty, které označují, jestli byla podmínka splněna. Ignorování těchto vrácených hodnot je pravděpodobně chyba.
-
+ Metody jako Contains, StartsWith a EndsWith vracejí logické hodnoty, které označují, jestli byla podmínka splněna. Ignorování těchto vrácených hodnot je pravděpodobně chyba.
+ {Locked="StartsWith"}{Locked="Contains"}{Locked="EndsWith"}The return value of '{0}' should not be ignored
- Návratová hodnota {0} by neměla být ignorována
-
+ Návratová hodnota {0} by neměla být ignorována
+ {0} is the string method name.Do not ignore the return value of string methods
@@ -579,103 +579,103 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
Use 'Assert.Fail' instead of an always-failing 'Assert.{0}' assert
- Místo trvalého neúspěšného vyhodnocovacího výrazu „Assert.{0}“ použijte „Assert.Fail“.
-
+ Místo trvalého neúspěšného vyhodnocovacího výrazu „Assert.{0}“ použijte „Assert.Fail“.
+ {0} is the assert method name. {Locked="Assert.Fail"}{Locked="Assert"}Use 'Assert.Fail' instead of an always-failing assert
- Místo trvalého neúspěšného vyhodnocovacího výrazu použijte „Assert.Fail“.
-
+ Místo trvalého neúspěšného vyhodnocovacího výrazu použijte „Assert.Fail“.
+ {Locked="Assert.Fail"}When verifying exceptions from asynchronous code, use the async assertion methods instead of blocking the asynchronous operation with GetAwaiter().GetResult().
- Při ověřování výjimek z asynchronního kódu používejte asynchronní metody kontrolních výrazů místo blokování asynchronní operace pomocí GetAwaiter().GetResult().
-
+ Při ověřování výjimek z asynchronního kódu používejte asynchronní metody kontrolních výrazů místo blokování asynchronní operace pomocí GetAwaiter().GetResult().
+ {Locked="GetAwaiter().GetResult()"}{Locked="async"}Use 'Assert.{0}' instead of blocking an async call in 'Assert.{1}'
- Místo blokování asynchronního volání v Assert.{1} použijte Assert.{0}.
-
+ Místo blokování asynchronního volání v Assert.{1} použijte Assert.{0}.
+ {0} is the async assert method name. {1} is the blocking assert method name. {Locked="Assert"}{Locked="async"}Prefer async assertion methods
- Upřednostňovat asynchronní metody kontrolních výrazů
-
+ Upřednostňovat asynchronní metody kontrolních výrazů
+ {Locked="async"}'DataTestMethodAttribute' is obsolete and provides no additional functionality over 'TestMethodAttribute'. Use 'TestMethodAttribute' for all test methods, including parameterized tests.
- Možnost DataTestMethodAttribute je zastaralá a neposkytuje žádné funkce navíc oproti možnosti TestMethodAttribute. Pro všechny testovací metody, včetně parametrizovaných testů, použijte možnost TestMethodAttribute.
-
+ Možnost DataTestMethodAttribute je zastaralá a neposkytuje žádné funkce navíc oproti možnosti TestMethodAttribute. Pro všechny testovací metody, včetně parametrizovaných testů, použijte možnost TestMethodAttribute.
+ {Locked="DataTestMethodAttribute"}{Locked="TestMethodAttribute"}'DataTestMethod' is obsolete. Use 'TestMethod' instead.
- Možnost DataTestMethod je zastaralá. Místo ní použijte možnost TestMethod.
-
+ Možnost DataTestMethod je zastaralá. Místo ní použijte možnost TestMethod.
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Prefer 'TestMethod' over 'DataTestMethod'
- Preferovat TestMethod před DataTestMethod
-
+ Preferovat TestMethod před DataTestMethod
+ {Locked="DataTestMethod"}{Locked="TestMethod"}Review or remove the assertion as its condition is known to be always true
- Zkontrolujte nebo odeberte kontrolní výraz, protože jeho podmínka je vždy true.
-
+ Zkontrolujte nebo odeberte kontrolní výraz, protože jeho podmínka je vždy true.
+ {Locked="true"}Assertion condition is always true
- Podmínka kontrolního výrazu je vždy true.
-
+ Podmínka kontrolního výrazu je vždy true.
+ {Locked="true"}Prefer constructors over TestInitialize methods
- Upřednostňovat konstruktory před metodami TestInitialize
-
+ Upřednostňovat konstruktory před metodami TestInitialize
+ {Locked="TestInitialize"}Prefer constructors over TestInitialize methods
- Upřednostňovat konstruktory před metodami TestInitialize
-
+ Upřednostňovat konstruktory před metodami TestInitialize
+ {Locked="TestInitialize"}Prefer 'Dispose' over TestCleanup methods
- Upřednostňovat metody Dispose před metodami TestCleanup
-
+ Upřednostňovat metody Dispose před metodami TestCleanup
+ {Locked="TestCleanup"}{Locked="Dispose"}Prefer 'Dispose' over TestCleanup methods
- Upřednostňovat metody Dispose před metodami TestCleanup
-
+ Upřednostňovat metody Dispose před metodami TestCleanup
+ {Locked="TestCleanup"}{Locked="Dispose"}Prefer TestCleanup over 'Dispose' methods
- Upřednostňovat metody TestCleanup před metodami Dispose
-
+ Upřednostňovat metody TestCleanup před metodami Dispose
+ {Locked="TestCleanup"}{Locked="Dispose"}Prefer TestCleanup over 'Dispose' methods
- Upřednostňovat metody TestCleanup před metodami Dispose
-
+ Upřednostňovat metody TestCleanup před metodami Dispose
+ {Locked="TestCleanup"}{Locked="Dispose"}Prefer TestInitialize methods over constructors
- Upřednostňovat metody TestInitialize před konstruktory
-
+ Upřednostňovat metody TestInitialize před konstruktory
+ {Locked="TestInitialize"}Prefer TestInitialize methods over constructors
- Upřednostňovat metody TestInitialize před konstruktory
-
+ Upřednostňovat metody TestInitialize před konstruktory
+ {Locked="TestInitialize"}Public methods should be test methods (marked with `[TestMethod]`).
- Veřejné metody by měly být testovací metody (označené jako [TestMethod]).
-
+ Veřejné metody by měly být testovací metody (označené jako [TestMethod]).
+ {Locked="[TestMethod]"}Public method '{0}' should be a test method
- Veřejná metoda {0} by měla být testovací metoda.
-
+ Veřejná metoda {0} by měla být testovací metoda.
+ {0} is the method name.Public methods should be test methods
@@ -684,13 +684,13 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
It's considered a good practice to have only test classes marked public in a test project.
- Osvědčeným postupem je označit jako veřejné v testovacím projektu jen testovací třídy.
-
+ Osvědčeným postupem je označit jako veřejné v testovacím projektu jen testovací třídy.
+ {Locked="public"}Public type '{0}' should be marked with '[TestClass]' or changed to 'internal'
- Veřejný typ {0} by měl být označen jako [TestClass] nebo změněn na internal.
-
+ Veřejný typ {0} by měl být označen jako [TestClass] nebo změněn na internal.
+ {0} is the type name. {Locked="[TestClass]"}{Locked="internal"}Public types should be test classes
@@ -699,74 +699,74 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
Use 'Assert.{0}' instead of 'StringAssert.{1}'
- Použijte Assert.{0}' místo StringAssert.{1}'
-
+ Použijte Assert.{0}' místo StringAssert.{1}'
+ {0} is the preferred Assert method name. {1} is the current StringAssert method name. {Locked="StringAssert"}{Locked="Assert"}Use 'Assert' instead of 'StringAssert'
- Použijte Assert místo StringAssert
-
+ Použijte Assert místo StringAssert
+ {Locked="StringAssert"}{Locked="Assert"}Test class '{0}' should be valid
- Testovací třída {0} by měla být platná.
-
+ Testovací třída {0} by měla být platná.
+ {0} is the test class name. {Locked="class"}Property 'TestContext' should be valid
- Vlastnost TestContext by měla být platná.
-
+ Vlastnost TestContext by měla být platná.
+ {Locked="TestContext"}TestMethodAttribute derived class '{0}' should add CallerFilePath and CallerLineNumber parameters to its constructor
- Odvozená třída TestMethodAttribute {0} by měla do svého konstruktoru přidat parametry CallerFilePath a CallerLineNumber
-
+ Odvozená třída TestMethodAttribute {0} by měla do svého konstruktoru přidat parametry CallerFilePath a CallerLineNumber
+ {0} is the derived TestMethodAttribute class name. {Locked="TestMethodAttribute"}{Locked="CallerLineNumber"}{Locked="CallerFilePath"}{Locked="class"}TestMethodAttribute derived class should propagate source information
- Odvozená třída TestMethodAttribute by měla šířit informace o zdroji
-
+ Odvozená třída TestMethodAttribute by měla šířit informace o zdroji
+ {Locked="TestMethodAttribute"}{Locked="class"}Use the 'DisplayName' property instead of passing a string argument to TestMethodAttribute
- Místo předání řetězcového argumentu atributu TestMethodAttribute použijte vlastnost DisplayName
-
+ Místo předání řetězcového argumentu atributu TestMethodAttribute použijte vlastnost DisplayName
+ {Locked="TestMethodAttribute"}{Locked="DisplayName"}TestMethodAttribute should set DisplayName correctly
- TestMethodAttribute by měl správně nastavit DisplayName
-
+ TestMethodAttribute by měl správně nastavit DisplayName
+ {Locked="TestMethodAttribute"}{Locked="DisplayName"}Test method '{0}' signature is invalid
- Signatura {0} metody Test je neplatná.
-
+ Signatura {0} metody Test je neplatná.
+ {0} is the method name.TestContext.CancellationToken provides a more direct way to access the cancellation token compared to TestContext.CancellationTokenSource.Token.
- TestContext.CancellationToken poskytuje přímější způsob přístupu k tokenu zrušení v porovnání s TestContext.CancellationTokenSource.Token.
-
+ TestContext.CancellationToken poskytuje přímější způsob přístupu k tokenu zrušení v porovnání s TestContext.CancellationTokenSource.Token.
+ {Locked="TestContext.CancellationTokenSource.Token"}{Locked="TestContext.CancellationToken"}Use 'TestContext.CancellationToken' instead of 'TestContext.CancellationTokenSource.Token'
- Místo TestContext.CancellationTokenSource.Token použijte TestContext.CancellationToken.
-
+ Místo TestContext.CancellationTokenSource.Token použijte TestContext.CancellationToken.
+ {Locked="TestContext.CancellationTokenSource.Token"}{Locked="TestContext.CancellationToken"}Use TestContext.CancellationToken instead of TestContext.CancellationTokenSource.Token
- Místo TestContext.CancellationTokenSource.Token použijte TestContext.CancellationToken.
-
+ Místo TestContext.CancellationTokenSource.Token použijte TestContext.CancellationToken.
+ {Locked="TestContext.CancellationTokenSource.Token"}{Locked="TestContext.CancellationToken"}Test classes, classes marked with the '[TestClass]' attribute, should respect the following layout to be considered valid by MSTest:
- it should be 'public' (or 'internal' if '[assembly: DiscoverInternals]' attribute is set)
- it should not be 'static' (except if it contains only 'AssemblyInitialize' and/or 'AssemblyCleanup' methods)
- it should not be generic.
- Testovací třídy (třídy označené atributem [TestClass]) by měly respektovat následující rozložení, které MSTest považuje za platné:
+ Testovací třídy (třídy označené atributem [TestClass]) by měly respektovat následující rozložení, které MSTest považuje za platné:
– musí být public (nebo internal, pokud je nastaven atribut [assembly: DiscoverInternals]),
– nesmí být static (s výjimkou případů, kdy obsahuje pouze metody AssemblyInitialize nebo AssemblyCleanup),
– nesmí být obecné.
-
+ {Locked="AssemblyInitialize"}{Locked="AssemblyCleanup"}{Locked="[TestClass]"}{Locked="MSTest"}{Locked="public"}{Locked="internal"}{Locked="static"}Test classes should have valid layout
@@ -775,18 +775,18 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
Test class should have at least one test method or be 'static' with method(s) marked by '[AssemblyInitialize]' and/or '[AssemblyCleanup]'.
- Testovací třída by měla mít aspoň jednu testovací metodu nebo by měla být static s metodami s označením [AssemblyInitialize] a/nebo [AssemblyCleanup].
-
+ Testovací třída by měla mít aspoň jednu testovací metodu nebo by měla být static s metodami s označením [AssemblyInitialize] a/nebo [AssemblyCleanup].
+ {Locked="[AssemblyInitialize]"}{Locked="[AssemblyCleanup]"}{Locked="static"}{Locked="class"}Test class '{0}' should have at least one test method or be 'static' with method(s) marked by '[AssemblyInitialize]' and/or '[AssemblyCleanup]'
- Testovací třída {0} by měla mít aspoň jednu testovací metodu nebo by měla být static s metodami s označením [AssemblyInitialize] a/nebo [AssemblyCleanup].
-
+ Testovací třída {0} by měla mít aspoň jednu testovací metodu nebo by měla být static s metodami s označením [AssemblyInitialize] a/nebo [AssemblyCleanup].
+ {0} is the test class name. {Locked="[AssemblyInitialize]"}{Locked="[AssemblyCleanup]"}{Locked="static"}{Locked="class"}Test class should have test method
- Testovací třída by měla mít testovací metodu
-
+ Testovací třída by měla mít testovací metodu
+ {Locked="class"}Methods marked with '[TestCleanup]' should follow the following layout to be valid:
@@ -804,7 +804,7 @@ The type declaring these methods should also respect the following rules:
-The class should be 'public' or 'internal' (if the test project is using the '[DiscoverInternals]' attribute)
-The class shouldn't be 'static'
-If the class is 'sealed', it should be marked with '[TestClass]' (or a derived attribute).
- Aby byly metody s označením [TestCleanup] platné, musí se řídit následujícím rozložením:
+ Aby byly metody s označením [TestCleanup] platné, musí se řídit následujícím rozložením:
– Musí být public.
– Nesmí být abstract.
– Nesmí být async void.
@@ -819,28 +819,28 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
– Třída by měla být public nebo internal (pokud testovací projekt používá atribut [DiscoverInternals]).
– Třída by neměla být static.
– Pokud je třída sealed, měla by být označena atributem [TestClass] (nebo odvozeným atributem).
-
+ {Locked="[DiscoverInternals]"}{Locked="[TestCleanup]"}{Locked="[TestClass]"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="abstract"}{Locked="sealed"}{Locked="async"}{Locked="class"}TestCleanup method '{0}' signature is invalid
- Signatura „{0}“ metody TestCleanup je neplatná
-
+ Signatura „{0}“ metody TestCleanup je neplatná
+ {0} is the method name. {Locked="TestCleanup"}TestCleanup method should have valid layout
- Metoda TestCleanup by měla mít platné rozložení
-
+ Metoda TestCleanup by měla mít platné rozložení
+ {Locked="TestCleanup"}'TestContext' should be a non-static property assigned in constructor or set by MSTest. To be set by MSTest, it should follow the layout:
- it should be 'public' regardless of whether '[assembly: DiscoverInternals]' attribute is set or not.
- it should not be 'static'
- it should have a setter.
- TestContext musí být nestatická vlastnost přiřazená v konstruktoru nebo nastavená přes MSTest. Pokud se má nastavit přes MSTest, musí splňovat následující rozložení:
+ TestContext musí být nestatická vlastnost přiřazená v konstruktoru nebo nastavená přes MSTest. Pokud se má nastavit přes MSTest, musí splňovat následující rozložení:
– Musí být public bez ohledu na to, jestli je nastavený atribut [assembly: DiscoverInternals].
– Nesmí být static.
– Musí mít metodu setter.
-
+ {Locked="TestContext"}{Locked="MSTest"}{Locked="public"}{Locked="static"}Test context property should have valid layout
@@ -863,7 +863,7 @@ The type declaring these methods should also respect the following rules:
-The class should be 'public' or 'internal' (if the test project is using the '[DiscoverInternals]' attribute)
-The class shouldn't be 'static'
-If the class is 'sealed', it should be marked with '[TestClass]' (or a derived attribute).
- Aby byly metody s označením [TestInitialize] platné, musí se řídit následujícím rozložením:
+ Aby byly metody s označením [TestInitialize] platné, musí se řídit následujícím rozložením:
– Musí být public.
– Nesmí být abstract.
– Nesmí být async void.
@@ -878,17 +878,17 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
– Třída by měla být public nebo internal (pokud testovací projekt používá atribut [DiscoverInternals]).
– Třída by neměla být static.
– Pokud je třída sealed, měla by být označena atributem [TestClass] (nebo odvozeným atributem).
-
+ {Locked="[DiscoverInternals]"}{Locked="[TestInitialize]"}{Locked="[TestClass]"}{Locked="ValueTask"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="abstract"}{Locked="sealed"}{Locked="async"}{Locked="class"}TestInitialize method '{0}' signature is invalid
- Signatura „{0}“ metody TestInitialize je neplatná
-
+ Signatura „{0}“ metody TestInitialize je neplatná
+ {0} is the method name. {Locked="TestInitialize"}TestInitialize method should have valid layout
- Metoda TestInitialize by měla mít platné rozložení
-
+ Metoda TestInitialize by měla mít platné rozložení
+ {Locked="TestInitialize"}Test methods, methods marked with the '[TestMethod]' attribute, should respect the following layout to be considered valid by MSTest:
@@ -899,7 +899,7 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
- return type should be 'void', 'Task' or 'ValueTask'
- it should not be 'async void'
- it should not be a special method (finalizer, operator...).
- Testovací metody (metody označené atributem [TestMethod]) by měly respektovat následující rozložení, které MSTest považuje za platné:
+ Testovací metody (metody označené atributem [TestMethod]) by měly respektovat následující rozložení, které MSTest považuje za platné:
– musí být public (nebo internal, pokud je nastaven atribut [assembly: DiscoverInternals]),
– musí být static,
– můžou být obecné, pokud lze odvodit parametry typu a typy argumentů jsou kompatibilní
@@ -907,7 +907,7 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
– návratový typ by měl být void, Task nebo ValueTask,
– nesmí být async void,
– nesmí být speciální metodou (finalizační metoda, operátor...).
-
+ {Locked="[TestMethod]"}{Locked="ValueTask"}{Locked="MSTest"}{Locked="Task"}{Locked="public"}{Locked="internal"}{Locked="static"}{Locked="void"}{Locked="async void"}{Locked="abstract"}{Locked="async"}Test methods should have valid layout
@@ -916,13 +916,13 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
Test methods should not be ignored (marked with '[Ignore]').
- Testovací metody by se neměly ignorovat (označené jako „[Ignorovat]“.
-
+ Testovací metody by se neměly ignorovat (označené jako „[Ignorovat]“.
+ {Locked="[Ignore]"}Test method '{0}' should not be ignored
- Testovací metoda „{0}“ by se neměla ignorovat
-
+ Testovací metoda „{0}“ by se neměla ignorovat
+ {0} is the method name.Test method should not be ignored
@@ -931,83 +931,83 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
Type containing '[TestMethod]' should be marked with '[TestClass]', otherwise the test method will be silently ignored.
- Typ obsahující [TestMethod] by měl mít označení [TestClass], jinak se bude testovací metoda bez upozornění ignorovat.
-
+ Typ obsahující [TestMethod] by měl mít označení [TestClass], jinak se bude testovací metoda bez upozornění ignorovat.
+ {Locked="[TestMethod]"}{Locked="[TestClass]"}Type '{0}' contains test methods and should be marked with '[TestClass]'
- Třída {0} obsahuje testovací metody a měla by mít označení [TestClass].
-
+ Třída {0} obsahuje testovací metody a měla by mít označení [TestClass].
+ {0} is the type name. {Locked="[TestClass]"}Type containing '[TestMethod]' should be marked with '[TestClass]'
- Typ obsahující [TestMethod] by měl mít označení [TestClass]
-
+ Typ obsahující [TestMethod] by měl mít označení [TestClass]
+ {Locked="[TestMethod]"}{Locked="[TestClass]"}Asynchronous test fixture methods do not require the 'Async' suffix
- Asynchronní metody testovacích přípravků nevyžadují příponu Async.
-
+ Asynchronní metody testovacích přípravků nevyžadují příponu Async.
+ {Locked="Async"}Asynchronous test methods do not require the 'Async' suffix
- Asynchronní testovací metody nevyžadují příponu Async.
-
+ Asynchronní testovací metody nevyžadují příponu Async.
+ {Locked="Async"}TestContext parameter is required by MSTest for AssemblyInitialize and ClassInitialize methods
- Parametr TestContext vyžaduje MSTest pro metody AssemblyInitialize a ClassInitialize.
-
+ Parametr TestContext vyžaduje MSTest pro metody AssemblyInitialize a ClassInitialize.
+ {Locked="AssemblyInitialize"}{Locked="ClassInitialize"}{Locked="TestContext"}{Locked="MSTest"}[{0}] can only be set on methods marked with [TestMethod]
- [{0}] lze nastavit pouze u metod označených pomocí metody [TestMethod].
-
+ [{0}] lze nastavit pouze u metod označených pomocí metody [TestMethod].
+ {0} is the attribute name without brackets. {Locked="[TestMethod]"}[{0}] can only be set on methods marked with [TestMethod]
- [{0}] lze nastavit pouze u metod označených pomocí metody [TestMethod].
-
+ [{0}] lze nastavit pouze u metod označených pomocí metody [TestMethod].
+ {0} is the attribute name without brackets. {Locked="[TestMethod]"}The attribute '{0}' which derives from 'ConditionBaseAttribute' should be used only on classes marked with `TestClassAttribute`
- Atribut '{0}' odvozený od atributu ConditionBaseAttribute by měl být použit pouze u tříd označených atributem TestClassAttribute.
-
+ Atribut '{0}' odvozený od atributu ConditionBaseAttribute by měl být použit pouze u tříd označených atributem TestClassAttribute.
+ {0} is the attribute name. {Locked="ConditionBaseAttribute"}{Locked="TestClassAttribute"}Use 'ConditionBaseAttribute' on test classes
- Použít ConditionBaseAttribute u testovacích tříd
-
+ Použít ConditionBaseAttribute u testovacích tříd
+ {Locked="ConditionBaseAttribute"}Using '[Timeout]' without explicitly setting 'CooperativeCancellation = true' is discouraged. In a future version, cooperative cancellation will become the default behavior. Set 'CooperativeCancellation = true' to opt into the recommended behavior and avoid breaking changes.
- Použití „[Timeout]“ bez explicitního nastavení „CooperativeCancellation = true“ se nedoporučuje. V budoucí verzi se kooperativní zrušení stane výchozím chováním. Nastavte „CooperativeCancellation = true“, abyste zapnuli doporučené chování a vyhnuli se změnám, které by mohly způsobit problémy.
-
+ Použití „[Timeout]“ bez explicitního nastavení „CooperativeCancellation = true“ se nedoporučuje. V budoucí verzi se kooperativní zrušení stane výchozím chováním. Nastavte „CooperativeCancellation = true“, abyste zapnuli doporučené chování a vyhnuli se změnám, které by mohly způsobit problémy.
+ {Locked="CooperativeCancellation = true"}{Locked="[Timeout]"}{Locked="true"}Use 'CooperativeCancellation = true' with '[Timeout]' to enable cooperative cancellation behavior
- Použijte „CooperativeCancellation = true“ s „[Timeout]“, abyste povolili chování kooperativního zrušení
-
+ Použijte „CooperativeCancellation = true“ s „[Timeout]“, abyste povolili chování kooperativního zrušení
+ {Locked="CooperativeCancellation = true"}{Locked="[Timeout]"}{Locked="true"}Use 'CooperativeCancellation = true' with '[Timeout]'
- Použijte „CooperativeCancellation = true“ s „[Timeout]“
-
+ Použijte „CooperativeCancellation = true“ s „[Timeout]“
+ {Locked="CooperativeCancellation = true"}{Locked="[Timeout]"}{Locked="true"}'[DeploymentItem]' can be specified only on test class or test method
- [DeploymentItem] se dá zadat jenom pro testovací třídu nebo testovací metodu.
-
+ [DeploymentItem] se dá zadat jenom pro testovací třídu nebo testovací metodu.
+ {Locked="[DeploymentItem]"}{Locked="class"}'[DeploymentItem]' can be specified only on test class or test method
- [DeploymentItem] se dá zadat jenom pro testovací třídu nebo testovací metodu.
-
+ [DeploymentItem] se dá zadat jenom pro testovací třídu nebo testovací metodu.
+ {Locked="[DeploymentItem]"}{Locked="class"}By default, MSTest runs tests within the same assembly sequentially, which can lead to severe performance limitations. It is recommended to enable assembly attribute '[Parallelize]' to run tests in parallel, or if the assembly is known to not be parallelizable, to use explicitly the assembly level attribute '[DoNotParallelize]'.
- Ve výchozím nastavení spouští MSTest testy v rámci stejného sestavení sekvenčně, což může vést k závažným omezením výkonu. Doporučuje se povolit atribut sestavení [Parallelize] k paralelnímu spouštění testů nebo explicitně použít atribut [DoNotParallelize] na úrovni sestavení, pokud je známo, že sestavení není paralelizovatelné.
-
+ Ve výchozím nastavení spouští MSTest testy v rámci stejného sestavení sekvenčně, což může vést k závažným omezením výkonu. Doporučuje se povolit atribut sestavení [Parallelize] k paralelnímu spouštění testů nebo explicitně použít atribut [DoNotParallelize] na úrovni sestavení, pokud je známo, že sestavení není paralelizovatelné.
+ {Locked="[DoNotParallelize]"}{Locked="[Parallelize]"}{Locked="MSTest"}Explicitly enable or disable tests parallelization
@@ -1021,68 +1021,68 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
Use 'Assert.{0}' instead of 'Assert.{1}'
- Místo Assert.{1} použijte Assert.{0}.
-
+ Místo Assert.{1} použijte Assert.{0}.
+ {0} is the preferred assert method name. {1} is the current assert method name. {Locked="Assert"}Use proper 'Assert' methods
- Použít správné metody Assert
-
+ Použít správné metody Assert
+ {Locked="Assert"}An attribute that derives from 'RetryBaseAttribute' can be specified only on a test method or a test class
- Atribut, který je odvozen od retryBaseAttribute, lze zadat pouze v testovací metodě nebo testovací třídě
-
+ Atribut, který je odvozen od retryBaseAttribute, lze zadat pouze v testovací metodě nebo testovací třídě
+ {Locked="RetryBaseAttribute"}{Locked="class"}Use retry attribute on test method or test class
- Použití atributu retry u testovací metody nebo testovací třídy
-
+ Použití atributu retry u testovací metody nebo testovací třídy
+ {Locked="class"}TestContext property cannot be accessed in this context
- Vlastnost TestContext není v tomto kontextu přístupná
-
+ Vlastnost TestContext není v tomto kontextu přístupná
+ {Locked="TestContext"}TestContext property '{0}' cannot be accessed in '{1}' method
- Vlastnost TestContext {0} není přístupná v metodě {1}
-
+ Vlastnost TestContext {0} není přístupná v metodě {1}
+ {0} is the TestContext property name. {1} is the lifecycle method name. {Locked="TestContext"}Some TestContext properties are only available during test execution and cannot be accessed in assembly initialize, class initialize, class cleanup, or assembly cleanup methods.
- Některé vlastnosti TestContext jsou k dispozici pouze během provádění testu a nelze k nim přistupovat v metodách inicializace sestavení, inicializace třídy, vyčištění třídy nebo vyčištění sestavení.
-
+ Některé vlastnosti TestContext jsou k dispozici pouze během provádění testu a nelze k nim přistupovat v metodách inicializace sestavení, inicializace třídy, vyčištění třídy nebo vyčištění sestavení.
+ {Locked="TestContext"}{Locked="class"}Assert.Throws methods should contain only a single statement or expression. Multiple statements can be misleading - if the first statement throws, subsequent statements are never executed; if it doesn't throw, it should be moved outside the Assert.Throws.
- Metody Assert.Throws by měly obsahovat pouze jeden příkaz nebo výraz. Více příkazů může být zavádějící – pokud se vyvolá první příkaz, následující příkazy se nikdy neprovedou. Pokud se nevyvolá, měl by se přesunout mimo Assert.Throws.
-
+ Metody Assert.Throws by měly obsahovat pouze jeden příkaz nebo výraz. Více příkazů může být zavádějící – pokud se vyvolá první příkaz, následující příkazy se nikdy neprovedou. Pokud se nevyvolá, měl by se přesunout mimo Assert.Throws.
+ {Locked="Assert.Throws"}Assert.Throws should contain only a single statement/expression
- Parametr Assert.Throws by měl obsahovat jenom jeden příkaz nebo výraz
-
+ Parametr Assert.Throws by měl obsahovat jenom jeden příkaz nebo výraz
+ {Locked="Assert.Throws"}Assert.Throws should contain only a single statement/expression
- Parametr Assert.Throws by měl obsahovat jenom jeden příkaz nebo výraz
-
+ Parametr Assert.Throws by měl obsahovat jenom jeden příkaz nebo výraz
+ {Locked="Assert.Throws"}Do not use asserts in catch blocks
- Nepoužívat kontrolní výrazy v blocích catch
-
+ Nepoužívat kontrolní výrazy v blocích catch
+ {Locked="catch"}Do not use asserts in catch blocks because they may not fail the test if no exception is thrown
- Nepoužívejte kontrolní výrazy v blocích catch, protože test nemusí selhat, pokud není vyvolána žádná výjimka.
-
+ Nepoužívejte kontrolní výrazy v blocích catch, protože test nemusí selhat, pokud není vyvolána žádná výjimka.
+ {Locked="catch"}Using asserts in catch blocks is problematic because the test will pass even if no exception is thrown and the catch block is never executed. Use 'Assert.Throws', 'Assert.ThrowsExactly', 'Assert.ThrowsAsync' or 'Assert.ThrowsExactlyAsync' to verify that an exception is thrown, and then make additional assertions on the caught exception without using the try-catch block. The rule also flags 'throw new AssertFailedException(...)' and 'throw new AssertInconclusiveException(...)' (the desugared forms of 'Assert.Fail' and 'Assert.Inconclusive'). 'Assert.Inconclusive' (and 'throw new AssertInconclusiveException(...)') is exempt when used inside a filtered catch ('catch (...) when (...)'), because demoting a caught failure to an Inconclusive outcome is the only use case that cannot be expressed without a catch block. For other intentional bypasses (for example, attaching a runtime-built message to the failure), suppress the diagnostic with '#pragma warning disable MSTEST0058'.
- Používání kontrolních výrazů v blocích catch je problematické, protože test projde, i když se nevyvolá žádná výjimka a blok catch se nikdy nespustí. K ověření, že je vyvolána výjimka, použijte metody Assert.Throws, Assert.ThrowsExactly, Assert.ThrowsAsync nebo Assert.ThrowsExactlyAsync a poté proveďte další kontrolní výrazy nad zachycenou výjimkou bez použití bloku try-catch. Pravidlo také označí výjimku throw new AssertFailedException(...) a throw new AssertInconclusiveException(...). (asynchronní tvary Assert.Fail a Assert.Inconclusive). Assert.Inconclusive (a throw new AssertInconclusiveException(...)) se vyloučí při použití uvnitř filtrovaného catch ('catch (...) when (...)'), protože snížení úrovně zachyceného selhání na neprůkazný výsledek je jediný případ použití, který se nedá vyjádřit bez bloku catch. U jiných záměrných obejití (například při připojení zprávy sestavené za běhu k selhání) potlačte diagnostiku pomocí „#pragma warning disable MSTEST0058“.
-
+ Používání kontrolních výrazů v blocích catch je problematické, protože test projde, i když se nevyvolá žádná výjimka a blok catch se nikdy nespustí. K ověření, že je vyvolána výjimka, použijte metody Assert.Throws, Assert.ThrowsExactly, Assert.ThrowsAsync nebo Assert.ThrowsExactlyAsync a poté proveďte další kontrolní výrazy nad zachycenou výjimkou bez použití bloku try-catch. Pravidlo také označí výjimku throw new AssertFailedException(...) a throw new AssertInconclusiveException(...). (asynchronní tvary Assert.Fail a Assert.Inconclusive). Assert.Inconclusive (a throw new AssertInconclusiveException(...)) se vyloučí při použití uvnitř filtrovaného catch ('catch (...) when (...)'), protože snížení úrovně zachyceného selhání na neprůkazný výsledek je jediný případ použití, který se nedá vyjádřit bez bloku catch. U jiných záměrných obejití (například při připojení zprávy sestavené za běhu k selhání) potlačte diagnostiku pomocí „#pragma warning disable MSTEST0058“.
+ {Locked="#pragma warning disable MSTEST0058"}{Locked="AssertInconclusiveException"}{Locked="Assert.ThrowsExactlyAsync"}{Locked="AssertFailedException"}{Locked="Assert.ThrowsExactly"}{Locked="Assert.Inconclusive"}{Locked="Assert.ThrowsAsync"}{Locked="Assert.Throws"}{Locked="Assert.Fail"}{Locked="throw new AssertFailedException(...)"}{Locked="throw new AssertInconclusiveException(...)"}{Locked="catch"}An assembly should have either '[Parallelize]' or '[DoNotParallelize]' attribute, but not both. Having both attributes creates an ambiguous configuration. When both are present, '[DoNotParallelize]' takes precedence and parallelization will be disabled.
@@ -1101,18 +1101,18 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
Use '[OSCondition]' attribute instead of 'RuntimeInformation.IsOSPlatform' calls with early return or 'Assert.Inconclusive'
- Místo volání „RuntimeInformation.IsOSPlatform“ použijte atribut „[OSCondition]“ s časným vrácením nebo „Assert.Inconclusive“
-
+ Místo volání „RuntimeInformation.IsOSPlatform“ použijte atribut „[OSCondition]“ s časným vrácením nebo „Assert.Inconclusive“
+ {Locked="RuntimeInformation.IsOSPlatform"}{Locked="Assert.Inconclusive"}{Locked="[OSCondition]"}Use '[OSCondition]' attribute instead of 'RuntimeInformation.IsOSPlatform' calls with early return or 'Assert.Inconclusive'
- Místo volání „RuntimeInformation.IsOSPlatform“ použijte atribut „[OSCondition]“ s časným vrácením nebo „Assert.Inconclusive“
-
+ Místo volání „RuntimeInformation.IsOSPlatform“ použijte atribut „[OSCondition]“ s časným vrácením nebo „Assert.Inconclusive“
+ {Locked="RuntimeInformation.IsOSPlatform"}{Locked="Assert.Inconclusive"}{Locked="[OSCondition]"}Test methods that use 'RuntimeInformation.IsOSPlatform' with early return or 'Assert.Inconclusive' should use the '[OSCondition]' attribute instead. This attribute provides a more declarative and discoverable way to specify OS-specific test requirements.
- Testovací metody, které používají „RuntimeInformation.IsOSPlatform“ s časným vrácením nebo „Assert.Inconclusive“, by místo toho měly používat atribut „[OSCondition]“. Tento atribut poskytuje deklarativní a zjistitelný způsob určení požadavků na testy specifické pro operační systém.
-
+ Testovací metody, které používají „RuntimeInformation.IsOSPlatform“ s časným vrácením nebo „Assert.Inconclusive“, by místo toho měly používat atribut „[OSCondition]“. Tento atribut poskytuje deklarativní a zjistitelný způsob určení požadavků na testy specifické pro operační systém.
+ {Locked="RuntimeInformation.IsOSPlatform"}{Locked="Assert.Inconclusive"}{Locked="[OSCondition]"}Avoid duplicate test method attributes
@@ -1121,28 +1121,28 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
Test method '{0}' has multiple attributes that inherit from 'TestMethodAttribute'. Only one test method attribute should be used.
- Testovací metoda {0} má několik atributů, které dědí z atributu TestMethodAttribute. Měl by být použit pouze jeden atribut testovací metody.
-
+ Testovací metoda {0} má několik atributů, které dědí z atributu TestMethodAttribute. Měl by být použit pouze jeden atribut testovací metody.
+ {0} is the test method name. {Locked="TestMethodAttribute"}A test method should be marked with exactly one attribute that is or inherits from 'TestMethodAttribute'. When multiple such attributes are present, only the first one returned by reflection will be used.
- Testovací metoda by měla být označena přesně jedním atributem, který je nebo dědí z atributu TestMethodAttribute. Pokud je přítomno více takových atributů, použije se pouze první vrácený odezvou.
-
+ Testovací metoda by měla být označena přesně jedním atributem, který je nebo dědí z atributu TestMethodAttribute. Pokud je přítomno více takových atributů, použije se pouze první vrácený odezvou.
+ {Locked="TestMethodAttribute"}Avoid using 'out' or 'ref' parameters in test methods
- Vyhněte se použití parametrů out nebo ref v testovacích metodách
-
+ Vyhněte se použití parametrů out nebo ref v testovacích metodách
+ {Locked="out"}{Locked="ref"}Test method '{0}' has 'out' or 'ref' parameters for which support will be dropped in a future major version
- Testovací metoda {0} má parametry out nebo ref, pro které se v budoucí hlavní verzi zruší podpora
-
+ Testovací metoda {0} má parametry out nebo ref, pro které se v budoucí hlavní verzi zruší podpora
+ {0} is the test method name. {Locked="out"}{Locked="ref"}'out' and 'ref' parameters add no value in test methods and they can safely be replaced by normal parameters.
- Parametry out a ref nepřidávají v testovacích metodách žádnou hodnotu a je možné je bezpečně nahradit normálními parametry.
-
+ Parametry out a ref nepřidávají v testovacích metodách žádnou hodnotu a je možné je bezpečně nahradit normálními parametry.
+ {Locked="out"}{Locked="ref"}Test classes should have valid constructors
@@ -1151,13 +1151,13 @@ Typ deklarující tyto metody by měl také respektovat následující pravidla:
Test class '{0}' does not have a valid constructor. Valid constructors are 'public' and either parameterless or with one parameter of type 'TestContext'.
- Testovací třída {0} nemá platný konstruktor. Platné konstruktory jsou public a buď bez parametrů, nebo s jedním parametrem typu TestContext.
-
+ Testovací třída {0} nemá platný konstruktor. Platné konstruktory jsou public a buď bez parametrů, nebo s jedním parametrem typu TestContext.
+ {0} is the test class name. {Locked="TestContext"}{Locked="public"}{Locked="class"}Test classes must have a public constructor that is either parameterless or accepts a single TestContext parameter. This allows the test framework to instantiate the test class properly.
- Testovací třídy musí mít veřejný konstruktor, který je buď bez parametrů, nebo přijímá jeden parametr typu TestContext. To umožňuje testovací architektuře správně vytvořit instanci testovací třídy.
-
+ Testovací třídy musí mít veřejný konstruktor, který je buď bez parametrů, nebo přijímá jeden parametr typu TestContext. To umožňuje testovací architektuře správně vytvořit instanci testovací třídy.
+ {Locked="TestContext"}{Locked="public"}{Locked="class"}