Lines Matching full:spdxdocument
36 // TestCase 1: gordfparser without a SpdxDocument node triple:
40 t.Errorf("expected an error because of absence of SpdxDocument node, got %v", err)
45 …<spdx:SpdxDocument rdf:about="http://spdx.org/spdxdocs/spdx-example-444504E0-4F89-41D3-9A0C-0305E8…
47 </spdx:SpdxDocument>
51 t.Errorf("expected an error because of absence of SpdxDocument node, got %v", err)
54 // TestCase 3: >1 type triples for subnode of a SpdxDocument:
56 <spdx:SpdxDocument rdf:about="#SPDXRef-Document"/>
67 <spdx:SpdxDocument rdf:about="#SPDXRef-Document"/>
77 <spdx:SpdxDocument rdf:about="#SPDXRef-Document"/>
85 // TestCase 6: other Tag alongwith the SpdxDocument node mustn't raise any error.
87 <spdx:SpdxDocument rdf:about="#SPDXRef-Document"/>
97 <spdx:SpdxDocument rdf:about="#SPDXRef-Document"/>
126 <spdx:SpdxDocument rdf:about="#SPDXRef-Document"/>
132 …t.Errorf("expected and error due to more than one type triples for the SpdxDocument Node, got %v",…
137 <spdx:SpdxDocument rdf:about="#SPDXRef-Document"/>
149 <spdx:SpdxDocument rdf:about="#SPDXRef-Document-1"/>
150 <spdx:SpdxDocument rdf:about="#SPDXRef-Document-2"/>
154 t.Errorf("expected and error due to more than one type SpdxDocument Node, got %v", err)
161 t.Errorf("expected and error due to no SpdxDocument Node, got %v", err)
164 // TestCase 5: valid spdxDocument node
166 <spdx:SpdxDocument rdf:about="#SPDXRef-Document-1"/>