OLD | NEW |
1 package data | 1 package data |
2 | 2 |
3 import "fmt" | 3 import "fmt" |
4 | 4 |
5 func MockReport(category, id string) FuzzReport { | 5 func MockReport(category, id string) FuzzReport { |
6 if category == "skpicture" { | 6 if category == "skpicture" { |
7 return mockPictureDetails[id] | 7 return mockPictureDetails[id] |
8 } | 8 } |
9 if category == "api" { | 9 if category == "api" { |
10 return mockAPIDetails[id] | 10 return mockAPIDetails[id] |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 Frames: []StackTraceFrame{ | 88 Frames: []StackTraceFrame{ |
89 { | 89 { |
90 PackageName: "mock/package/", | 90 PackageName: "mock/package/", |
91 FileName: file, | 91 FileName: file, |
92 LineNumber: line, | 92 LineNumber: line, |
93 FunctionName: function, | 93 FunctionName: function, |
94 }, | 94 }, |
95 }, | 95 }, |
96 } | 96 } |
97 } | 97 } |
OLD | NEW |