Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: fuzzer/go/fuzzcache/fuzzcache_test.go

Issue 1691893002: Fuzzer now deduplicates on the analysis side instead of the download side (Closed) Base URL: https://skia.googlesource.com/buildbot@metrics
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fuzzer/go/fuzzcache/fuzzcache.go ('k') | fuzzer/go/fuzzer-be/main.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 package fuzzcache 1 package fuzzcache
2 2
3 import ( 3 import (
4 "os" 4 "os"
5 "reflect" 5 "reflect"
6 "testing" 6 "testing"
7 7
8 "go.skia.org/infra/fuzzer/go/common" 8 "go.skia.org/infra/fuzzer/go/common"
9 » "go.skia.org/infra/fuzzer/go/frontend/data" 9 » "go.skia.org/infra/fuzzer/go/data"
10 "go.skia.org/infra/go/testutils" 10 "go.skia.org/infra/go/testutils"
11 ) 11 )
12 12
13 const TEST_DB_PATH = "/tmp/test-db" 13 const TEST_DB_PATH = "/tmp/test-db"
14 14
15 func TestBoltDBStoreAndRetrieve(t *testing.T) { 15 func TestBoltDBStoreAndRetrieve(t *testing.T) {
16 deleteBeforeTest(t) 16 deleteBeforeTest(t)
17 db, err := New(TEST_DB_PATH) 17 db, err := New(TEST_DB_PATH)
18 if err != nil { 18 if err != nil {
19 t.Fatalf("Could not open test db: %s", err) 19 t.Fatalf("Could not open test db: %s", err)
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 data.FunctionFuzzReport{ 124 data.FunctionFuzzReport{
125 FunctionName: "beta", Count: 2, LineNumbers: []d ata.LineFuzzReport{ 125 FunctionName: "beta", Count: 2, LineNumbers: []d ata.LineFuzzReport{
126 data.LineFuzzReport{ 126 data.LineFuzzReport{
127 LineNumber: 16, Count: 2, Detail s: []data.FuzzReport{data.MockReport("api", "hhhh"), data.MockReport("api", "iii i")}, 127 LineNumber: 16, Count: 2, Detail s: []data.FuzzReport{data.MockReport("api", "hhhh"), data.MockReport("api", "iii i")},
128 }, 128 },
129 }, 129 },
130 }, 130 },
131 }, 131 },
132 }, 132 },
133 } 133 }
OLDNEW
« no previous file with comments | « fuzzer/go/fuzzcache/fuzzcache.go ('k') | fuzzer/go/fuzzer-be/main.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698