Skip to content

References to Ubuntu 14.04 can be deleted #61754

Open
@richlander

Description

@richlander

Ubuntu 14.04 is no longer relevant.

public void IsMet_Matches_WhenRunOnMatchIsFalse(string environmentVariableValue)
{
// Arrange
var attribute = new EnvironmentVariableSkipConditionAttribute(
new TestEnvironmentVariable("LinuxFlavor", environmentVariableValue),
"LinuxFlavor",
"Ubuntu14.04")
{
// Example: Run this test on all OSes except on "Ubuntu14.04"
RunOnMatch = false
};
// Act
var isMet = attribute.IsMet;
// Assert
Assert.True(isMet);
}
[Fact]
public void IsMet_DoesNotMatch_WhenRunOnMatchIsFalse()
{
// Arrange
var attribute = new EnvironmentVariableSkipConditionAttribute(
new TestEnvironmentVariable("LinuxFlavor", "Ubuntu14.04"),
"LinuxFlavor",
"Ubuntu14.04")
{
// Example: Run this test on all OSes except on "Ubuntu14.04"
RunOnMatch = false
};
// Act
var isMet = attribute.IsMet;
// Assert
Assert.False(isMet);
}

@wtgodbe

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions