Lines Matching full:creationinfo
35 if doc.CreationInfo == nil {
36 t.Fatalf("expected non-nil CreationInfo section, got nil")
54 if len(doc.CreationInfo.Creators) != 2 {
55 t.Fatalf("expected %d, got %d", 2, len(doc.CreationInfo.Creators))
57 if doc.CreationInfo.Creators[1].Creator != "John Doe" {
58 t.Errorf("expected %s, got %+v", "John Doe", doc.CreationInfo.Creators[1])
60 if doc.CreationInfo.Creators[0].Creator != "github.com/spdx/tools-golang/builder" {
61 …t.Errorf("expected %s, got %+v", "github.com/spdx/tools-golang/builder", doc.CreationInfo.Creators…
63 if doc.CreationInfo.Created != "2018-10-19T04:38:00Z" {
64 t.Errorf("expected %s, got %s", "2018-10-19T04:38:00Z", doc.CreationInfo.Created)
446 if doc.CreationInfo == nil {
447 t.Fatalf("expected non-nil CreationInfo section, got nil")
465 if len(doc.CreationInfo.Creators) != 2 {
466 t.Fatalf("expected %d, got %d", 2, len(doc.CreationInfo.Creators))
468 if doc.CreationInfo.Creators[1].Creator != "John Doe" {
469 t.Errorf("expected %s, got %+v", "John Doe", doc.CreationInfo.Creators[1])
471 if doc.CreationInfo.Creators[0].Creator != "github.com/spdx/tools-golang/builder" {
472 …t.Errorf("expected %s, got %+v", "github.com/spdx/tools-golang/builder", doc.CreationInfo.Creators…
474 if doc.CreationInfo.Created != "2018-10-19T04:38:00Z" {
475 t.Errorf("expected %s, got %s", "2018-10-19T04:38:00Z", doc.CreationInfo.Created)