Skip to content

Commit 9605f5d

Browse files
updated testfiles
1 parent 09ade65 commit 9605f5d

File tree

8 files changed

+173
-1157
lines changed

8 files changed

+173
-1157
lines changed

Diff for: src/LCT.PackageIdentifier.UTest/AlpineParserTests.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class AlpineParserTests
2020
public void ParsePackageConfig_GivenAMultipleInputFilePath_ReturnsCounts()
2121
{
2222
//Arrange
23-
int expectednoofcomponents = 9;
23+
int expectednoofcomponents = 5;
2424
string exePath = System.Reflection.Assembly.GetExecutingAssembly().Location;
2525
string OutFolder = Path.GetDirectoryName(exePath);
2626
AlpineProcessor alpineProcessor = new AlpineProcessor();
@@ -45,7 +45,7 @@ public void ParsePackageConfig_GivenAMultipleInputFilePath_ReturnsCounts()
4545
public void ParsePackageConfig_GivenAInputFilePath_ReturnsCounts()
4646
{
4747
//Arrange
48-
int expectednoofcomponents = 8;
48+
int expectednoofcomponents = 4;
4949
string exePath = System.Reflection.Assembly.GetExecutingAssembly().Location;
5050
string OutFolder = Path.GetDirectoryName(exePath);
5151
AlpineProcessor alpineProcessor = new AlpineProcessor();
@@ -69,7 +69,7 @@ public void ParsePackageConfig_GivenAInputFilePath_ReturnsCounts()
6969
public void ParsePackageConfig_GivenMultipleInputFiles_ReturnsCountOfDuplicates()
7070
{
7171
//Arrange
72-
int duplicateComponents = 8;
72+
int duplicateComponents = 4;
7373
string exePath = System.Reflection.Assembly.GetExecutingAssembly().Location;
7474
string OutFolder = Path.GetDirectoryName(exePath);
7575
AlpineProcessor alpineProcessor = new AlpineProcessor();
@@ -119,7 +119,7 @@ public void ParsePackageConfig_GivenAInputFilePath_ReturnsSourceDetails()
119119
public void ParsePackageConfig_GivenAInputFilePathAlongWithSBOMTemplate_ReturnTotalComponentsList()
120120
{
121121
//Arrange
122-
int expectednoofcomponents = 9;
122+
int expectednoofcomponents = 5;
123123
string exePath = System.Reflection.Assembly.GetExecutingAssembly().Location;
124124
string OutFolder = Path.GetDirectoryName(exePath);
125125
AlpineProcessor alpineProcessor = new AlpineProcessor();

0 commit comments

Comments
 (0)