Skip to content

Commit 970eeb2

Browse files
committed
test: update test resources
Signed-off-by: Mike de Senna <desenna@gmail.com>
1 parent 9ff5277 commit 970eeb2

3 files changed

Lines changed: 40 additions & 0 deletions

File tree

tools/src/test/resources/1.4/valid-vulnerability-1.4.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,24 @@
116116
}
117117
]
118118
}
119+
],
120+
"properties": [
121+
{
122+
"name": "Foo",
123+
"value": "Bar"
124+
},
125+
{
126+
"name": "Foo",
127+
"value": "You"
128+
},
129+
{
130+
"name": "Foo",
131+
"value": "Two"
132+
},
133+
{
134+
"name": "Bar",
135+
"value": "Foo"
136+
}
119137
]
120138
}
121139
]

tools/src/test/resources/1.4/valid-vulnerability-1.4.textproto

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,20 @@ vulnerabilities {
100100
status: VULNERABILITY_AFFECTED_STATUS_AFFECTED
101101
}
102102
}
103+
properties {
104+
name: "Foo"
105+
value: "Bar"
106+
}
107+
properties {
108+
name: "Foo"
109+
value: "You"
110+
}
111+
properties {
112+
name: "Foo"
113+
value: "Two"
114+
}
115+
properties {
116+
name: "Bar"
117+
value: "Foo"
118+
}
103119
}

tools/src/test/resources/1.4/valid-vulnerability-1.4.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@
116116
</versions>
117117
</target>
118118
</affects>
119+
<properties>
120+
<property name="Foo">Bar</property>
121+
<property name="Foo">You</property>
122+
<property name="Foo">Two</property>
123+
<property name="Bar">Foo</property>
124+
</properties>
119125
</vulnerability>
120126
</vulnerabilities>
121127
</bom>

0 commit comments

Comments
 (0)