Skip to content

Commit ad877cd

Browse files
authored
Make MSBuild extension more strict (#7525)
2 parents 82611a6 + a2a2caa commit ad877cd

16 files changed

Lines changed: 152 additions & 1 deletion

src/Platform/Microsoft.Testing.Platform.MSBuild/Resources/MSBuildResources.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,10 @@ You can resolve the problem by installing the '{1}' .NET.
164164
The specified framework can be found at:
165165
- https://aka.ms/dotnet-download</value>
166166
</data>
167+
<data name="DidNotReceiveModuleInfo" xml:space="preserve">
168+
<value>MSBuild extension failed to receive test application information from '{0}'</value>
169+
</data>
170+
<data name="DidNotReceiveRunSummaryInfo" xml:space="preserve">
171+
<value>MSBuild extension failed to receive test run summary from '{0}'</value>
172+
</data>
167173
</root>

src/Platform/Microsoft.Testing.Platform.MSBuild/Resources/xlf/MSBuildResources.cs.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
<target state="translated">Skutečná hodnota: {0}</target>
88
<note />
99
</trans-unit>
10+
<trans-unit id="DidNotReceiveModuleInfo">
11+
<source>MSBuild extension failed to receive test application information from '{0}'</source>
12+
<target state="new">MSBuild extension failed to receive test application information from '{0}'</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unit id="DidNotReceiveRunSummaryInfo">
16+
<source>MSBuild extension failed to receive test run summary from '{0}'</source>
17+
<target state="new">MSBuild extension failed to receive test run summary from '{0}'</target>
18+
<note />
19+
</trans-unit>
1020
<trans-unit id="ExpectedValue">
1121
<source>Expected value: {0}</source>
1222
<target state="translated">Očekávaná hodnota: {0}</target>

src/Platform/Microsoft.Testing.Platform.MSBuild/Resources/xlf/MSBuildResources.de.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
<target state="translated">Tatsächlicher Wert: {0}</target>
88
<note />
99
</trans-unit>
10+
<trans-unit id="DidNotReceiveModuleInfo">
11+
<source>MSBuild extension failed to receive test application information from '{0}'</source>
12+
<target state="new">MSBuild extension failed to receive test application information from '{0}'</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unit id="DidNotReceiveRunSummaryInfo">
16+
<source>MSBuild extension failed to receive test run summary from '{0}'</source>
17+
<target state="new">MSBuild extension failed to receive test run summary from '{0}'</target>
18+
<note />
19+
</trans-unit>
1020
<trans-unit id="ExpectedValue">
1121
<source>Expected value: {0}</source>
1222
<target state="translated">Erwarteter Wert: {0}</target>

src/Platform/Microsoft.Testing.Platform.MSBuild/Resources/xlf/MSBuildResources.es.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
<target state="translated">Valor real: {0}</target>
88
<note />
99
</trans-unit>
10+
<trans-unit id="DidNotReceiveModuleInfo">
11+
<source>MSBuild extension failed to receive test application information from '{0}'</source>
12+
<target state="new">MSBuild extension failed to receive test application information from '{0}'</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unit id="DidNotReceiveRunSummaryInfo">
16+
<source>MSBuild extension failed to receive test run summary from '{0}'</source>
17+
<target state="new">MSBuild extension failed to receive test run summary from '{0}'</target>
18+
<note />
19+
</trans-unit>
1020
<trans-unit id="ExpectedValue">
1121
<source>Expected value: {0}</source>
1222
<target state="translated">Valor esperado: {0}</target>

src/Platform/Microsoft.Testing.Platform.MSBuild/Resources/xlf/MSBuildResources.fr.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
<target state="translated">Valeur réelle : {0}</target>
88
<note />
99
</trans-unit>
10+
<trans-unit id="DidNotReceiveModuleInfo">
11+
<source>MSBuild extension failed to receive test application information from '{0}'</source>
12+
<target state="new">MSBuild extension failed to receive test application information from '{0}'</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unit id="DidNotReceiveRunSummaryInfo">
16+
<source>MSBuild extension failed to receive test run summary from '{0}'</source>
17+
<target state="new">MSBuild extension failed to receive test run summary from '{0}'</target>
18+
<note />
19+
</trans-unit>
1020
<trans-unit id="ExpectedValue">
1121
<source>Expected value: {0}</source>
1222
<target state="translated">Valeur attendue : {0}</target>

src/Platform/Microsoft.Testing.Platform.MSBuild/Resources/xlf/MSBuildResources.it.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
<target state="translated">Valore effettivo: {0}</target>
88
<note />
99
</trans-unit>
10+
<trans-unit id="DidNotReceiveModuleInfo">
11+
<source>MSBuild extension failed to receive test application information from '{0}'</source>
12+
<target state="new">MSBuild extension failed to receive test application information from '{0}'</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unit id="DidNotReceiveRunSummaryInfo">
16+
<source>MSBuild extension failed to receive test run summary from '{0}'</source>
17+
<target state="new">MSBuild extension failed to receive test run summary from '{0}'</target>
18+
<note />
19+
</trans-unit>
1020
<trans-unit id="ExpectedValue">
1121
<source>Expected value: {0}</source>
1222
<target state="translated">Valore previsto: {0}</target>

src/Platform/Microsoft.Testing.Platform.MSBuild/Resources/xlf/MSBuildResources.ja.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
<target state="translated">実際の値: {0}</target>
88
<note />
99
</trans-unit>
10+
<trans-unit id="DidNotReceiveModuleInfo">
11+
<source>MSBuild extension failed to receive test application information from '{0}'</source>
12+
<target state="new">MSBuild extension failed to receive test application information from '{0}'</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unit id="DidNotReceiveRunSummaryInfo">
16+
<source>MSBuild extension failed to receive test run summary from '{0}'</source>
17+
<target state="new">MSBuild extension failed to receive test run summary from '{0}'</target>
18+
<note />
19+
</trans-unit>
1020
<trans-unit id="ExpectedValue">
1121
<source>Expected value: {0}</source>
1222
<target state="translated">想定された値: {0}</target>

src/Platform/Microsoft.Testing.Platform.MSBuild/Resources/xlf/MSBuildResources.ko.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
<target state="translated">실제 값: {0}</target>
88
<note />
99
</trans-unit>
10+
<trans-unit id="DidNotReceiveModuleInfo">
11+
<source>MSBuild extension failed to receive test application information from '{0}'</source>
12+
<target state="new">MSBuild extension failed to receive test application information from '{0}'</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unit id="DidNotReceiveRunSummaryInfo">
16+
<source>MSBuild extension failed to receive test run summary from '{0}'</source>
17+
<target state="new">MSBuild extension failed to receive test run summary from '{0}'</target>
18+
<note />
19+
</trans-unit>
1020
<trans-unit id="ExpectedValue">
1121
<source>Expected value: {0}</source>
1222
<target state="translated">예상 값: {0}</target>

src/Platform/Microsoft.Testing.Platform.MSBuild/Resources/xlf/MSBuildResources.pl.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
<target state="translated">Wartość rzeczywista: {0}.</target>
88
<note />
99
</trans-unit>
10+
<trans-unit id="DidNotReceiveModuleInfo">
11+
<source>MSBuild extension failed to receive test application information from '{0}'</source>
12+
<target state="new">MSBuild extension failed to receive test application information from '{0}'</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unit id="DidNotReceiveRunSummaryInfo">
16+
<source>MSBuild extension failed to receive test run summary from '{0}'</source>
17+
<target state="new">MSBuild extension failed to receive test run summary from '{0}'</target>
18+
<note />
19+
</trans-unit>
1020
<trans-unit id="ExpectedValue">
1121
<source>Expected value: {0}</source>
1222
<target state="translated">Oczekiwana wartość: {0}.</target>

src/Platform/Microsoft.Testing.Platform.MSBuild/Resources/xlf/MSBuildResources.pt-BR.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
<target state="translated">Valor real: {0}</target>
88
<note />
99
</trans-unit>
10+
<trans-unit id="DidNotReceiveModuleInfo">
11+
<source>MSBuild extension failed to receive test application information from '{0}'</source>
12+
<target state="new">MSBuild extension failed to receive test application information from '{0}'</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unit id="DidNotReceiveRunSummaryInfo">
16+
<source>MSBuild extension failed to receive test run summary from '{0}'</source>
17+
<target state="new">MSBuild extension failed to receive test run summary from '{0}'</target>
18+
<note />
19+
</trans-unit>
1020
<trans-unit id="ExpectedValue">
1121
<source>Expected value: {0}</source>
1222
<target state="translated">Valor esperado: {0}</target>

0 commit comments

Comments
 (0)