You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1783e8f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/Analyzers/MSTest.Analyzers/xlf/Resources.fr.xlf
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -563,21 +563,21 @@ The type declaring these methods should also respect the following rules:
563
563
-The class should be 'public'
564
564
-The class should be marked with '[TestClass]' (or a derived attribute)
565
565
-the class should not be generic.</source>
566
-
<targetstate="translated">Les méthodes marquées par « [GlobalTestInitialize] » ou « [GlobalTestCleanup] » doivent respecter le schéma suivant pour être valides :
567
-
- elle ne peut pas être déclarée dans une classe générique
568
-
– elle doit être « public »
569
-
– cela devrait être « static ».
570
-
– cela ne devrait pas être « async void ».
571
-
– il ne doit pas s'agir d'une méthode spéciale (finaliseur, opérateur...).
572
-
– elle ne doit pas être générique
573
-
– il doit prendre un paramètre de type « TestContext »
574
-
– le type de retour doit être « void », « Task » ou « ValueTask ».
575
-
{0}
576
-
Le type déclarant ces méthodes doit également respecter les règles suivantes :
577
-
- le type doit être une classe
578
-
- la classe doit être « public »
579
-
-La classe doit être marquée avec « [TestClass] » (ou un attribut dérivé).
580
-
- la classe ne doit pas être générique.</target>
566
+
<targetstate="new">Methods marked with '[GlobalTestInitialize]' or '[GlobalTestCleanup]' should follow the following layout to be valid:
567
+
-it can't be declared on a generic class
568
+
-it should be 'public'
569
+
-it should be 'static'
570
+
-it should not be 'async void'
571
+
-it should not be a special method (finalizer, operator...).
572
+
-it should not be generic
573
+
-it should take one parameter of type 'TestContext'
574
+
-return type should be 'void', 'Task' or 'ValueTask'
575
+
576
+
The type declaring these methods should also respect the following rules:
577
+
-The type should be a class
578
+
-The class should be 'public'
579
+
-The class should be marked with '[TestClass]' (or a derived attribute)
0 commit comments