Skip to content

Conversation

@jonathanpeppers
Copy link
Member

Context: #1916

These tests were never quite right, since they were just looking for
instances of TargetFrameworkVersion in the build log. This would
match for inputs and outputs, and wasn't actually testing anything
because it appeared to always pass.

In #1916 I improved them by looking for
Output Property: TargetFrameworkVersion=v2.3, but they were
not passing.

Two issues to fix:

  • These tests should set AndroidUseLatestPlatformSdk=False
  • These tests shouldn't use StringAssertEx.Contains because it calls
    Assert.Pass, skipping any future assertions...

When testing on Windows, these tests get skipped, so I had to fix
things on Mac. The PR builder also skips them, so we did not see the
issue until it was merged into master.

Context: dotnet#1916

These tests were never quite right, since they were just looking for
instances of `TargetFrameworkVersion` in the build log. This would
match for inputs and outputs, and wasn't actually testing anything
because it appeared to always pass.

In dotnet#1916 I improved them by looking for `Output Property:
TargetFrameworkVersion=v2.3`, but they were not passing.

Two issues to fix:
- These tests should set `AndroidUseLatestPlatformSdk=False`
- These tests shouldn't use `StringAssertEx.Contains` because it calls
  `Assert.Pass`, skipping any future assertions...

When testing on Windows, these tests get skipped, so I had to fix
things on Mac. The PR builder also skips them, so we did not see the
issue until it was merged into master.
@grendello grendello merged commit a1dd804 into dotnet:master Jul 11, 2018
@jonathanpeppers jonathanpeppers deleted the targetframeworkversion-tests branch July 11, 2018 20:16
jonpryor pushed a commit that referenced this pull request Aug 3, 2018
Context: #1916

These tests were never quite right, since they were just looking for
instances of `TargetFrameworkVersion` in the build log. This would
match for inputs and outputs, and wasn't actually testing anything
because it appeared to always pass.

In #1916 I improved them by looking for `Output Property:
TargetFrameworkVersion=v2.3`, but they were not passing.

Two issues to fix:
- These tests should set `AndroidUseLatestPlatformSdk=False`
- These tests shouldn't use `StringAssertEx.Contains` because it calls
  `Assert.Pass`, skipping any future assertions...

When testing on Windows, these tests get skipped, so I had to fix
things on Mac. The PR builder also skips them, so we did not see the
issue until it was merged into master.
@github-actions github-actions bot locked and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants