Lines Matching refs:file4
246 file4 := pkg.Files[3]
247 if file4 == nil {
250 if file4.FileName != "./folder1/file4.testdata.txt" {
251 t.Errorf("expected %v, got %v", "./folder1/file4.testdata.txt", file4.FileName)
253 if file4.FileSPDXIdentifier != common.ElementID("File3") {
254 t.Errorf("expected %v, got %v", "File3", file4.FileSPDXIdentifier)
257 for _, checksum := range file4.Checksums {
273 if file4.LicenseConcluded != "NOASSERTION" {
274 t.Errorf("expected %v, got %v", "NOASSERTION", file4.LicenseConcluded)
276 if len(file4.LicenseInfoInFiles) != 1 {
277 t.Errorf("expected %v, got %v", 1, len(file4.LicenseInfoInFiles))
279 if file4.LicenseInfoInFiles[0] != "NOASSERTION" {
280 t.Errorf("expected %v, got %v", "NOASSERTION", file4.LicenseInfoInFiles[0])
283 if file4.FileCopyrightText != "NOASSERTION" {
284 t.Errorf("expected %v, got %v", "NOASSERTION", file4.FileCopyrightText)
653 file4 := pkg.Files[3]
654 if file4 == nil {
657 if file4.FileName != "./folder1/file4.testdata.txt" {
658 t.Errorf("expected %v, got %v", "./folder1/file4.testdata.txt", file4.FileName)
660 if file4.FileSPDXIdentifier != common.ElementID("File3") {
661 t.Errorf("expected %v, got %v", "File3", file4.FileSPDXIdentifier)
663 for _, checksum := range file4.Checksums {
679 if file4.LicenseConcluded != "NOASSERTION" {
680 t.Errorf("expected %v, got %v", "NOASSERTION", file4.LicenseConcluded)
682 if len(file4.LicenseInfoInFiles) != 1 {
683 t.Errorf("expected %v, got %v", 1, len(file4.LicenseInfoInFiles))
685 if file4.LicenseInfoInFiles[0] != "NOASSERTION" {
686 t.Errorf("expected %v, got %v", "NOASSERTION", file4.LicenseInfoInFiles[0])
689 if file4.FileCopyrightText != "NOASSERTION" {
690 t.Errorf("expected %v, got %v", "NOASSERTION", file4.FileCopyrightText)