File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
test/Microsoft.Sbom.Parsers.Spdx30SbomParser.Tests/Parser Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,9 @@ namespace Microsoft.Sbom.Parser;
12
12
[ TestClass ]
13
13
public class SbomFileParserTests : SbomParserTestsBase
14
14
{
15
- [ DataTestMethod ]
15
+ [ TestMethod ]
16
16
[ DataRow ( SbomFullDocWithFilesStrings . SbomFileWithMissingNameJsonString ) ]
17
17
[ DataRow ( SbomFullDocWithFilesStrings . SbomFileWithMissingSpdxIdJsonString ) ]
18
- [ TestMethod ]
19
18
public void MissingPropertiesTest_Throws ( string json )
20
19
{
21
20
var bytes = Encoding . UTF8 . GetBytes ( json ) ;
Original file line number Diff line number Diff line change @@ -120,10 +120,9 @@ public void StreamEmptyTestReturnsNull()
120
120
Assert . ThrowsException < EndOfStreamException > ( ( ) => new SPDXParser ( stream ) ) ;
121
121
}
122
122
123
- [ DataTestMethod ]
123
+ [ TestMethod ]
124
124
[ DataRow ( SbomFullDocWithMetadataJsonStrings . MalformedJsonEmptyObject ) ]
125
125
[ DataRow ( SbomFullDocWithMetadataJsonStrings . MalformedJsonEmptyArray ) ]
126
- [ TestMethod ]
127
126
public void MalformedJsonTest_Throws ( string json )
128
127
{
129
128
var bytes = Encoding . UTF8 . GetBytes ( json ) ;
You can’t perform that action at this time.
0 commit comments