-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch DataTestMethod to TestMethod (#849)
* Switch DataTestMethod to TestMethod * Fix duplicate TestMethod attribute * Add missing [TestMethod] attributes in tests Minor tweaks for consistency --------- Co-authored-by: Dave Tryon <[email protected]> Co-authored-by: Sarah Oslund <[email protected]>
- Loading branch information
1 parent
c0b7668
commit a9410b2
Showing
6 changed files
with
15 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,10 +77,9 @@ public void AddPackageUrlsTest_WithNonNullExternalRef_Success() | |
Assert.AreEqual(0, spdxPackage.ExternalReferences.Count()); | ||
} | ||
|
||
[DataTestMethod] | ||
[TestMethod] | ||
[DataRow("pkg:npm/[email protected]", "pkg:npm/[email protected]")] | ||
[DataRow("https://github.com/actions/virtual-environments", "https://github.com/actions/virtual-environments")] | ||
|
||
public void AddPackageUrlsTest_WithSpecialCharacter_Success(string inputUrl, string expectedUrl) | ||
{ | ||
spdxPackage = new SPDXPackage(); | ||
|