15 references to ExpectedEventCode
Microsoft.Build.Engine.UnitTests (15)
WarningsAsMessagesAndErrors_Tests.cs (15)
49
<MSBuildWarningsAsErrors>{
ExpectedEventCode
}</MSBuildWarningsAsErrors>
55
<Warning Text=""{ExpectedEventMessage}"" Code=""{
ExpectedEventCode
}"" />
75
MockLogger logger = ObjectModelHelpers.BuildProjectExpectFailure(GetTestProject(warningsAsErrors:
ExpectedEventCode
));
103
{
ExpectedEventCode
.ToLowerInvariant()}"),
127
MockLogger logger = ObjectModelHelpers.BuildProjectExpectSuccess(GetTestProject(warningsAsMessages:
ExpectedEventCode
));
143
<MSBuildWarningsAsMessages>{
ExpectedEventCode
}</MSBuildWarningsAsMessages>
149
<Warning Text=""{ExpectedEventMessage}"" Code=""{
ExpectedEventCode
}"" />
173
{"Foo",
ExpectedEventCode
},
189
{
ExpectedEventCode
.ToLowerInvariant()}"),
215
warningsAsMessages:
ExpectedEventCode
,
216
warningsAsErrors:
ExpectedEventCode
));
228
Assert.Equal(
ExpectedEventCode
, actualEvent.Code);
240
Assert.Equal(
ExpectedEventCode
, actualEvent.Code);
251
Assert.Equal(
ExpectedEventCode
, actualEvent.Code);
271
<Warning Text=""{ExpectedEventMessage}"" Code=""{
ExpectedEventCode
}"" />