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

Unified Diff: client/cmd/isolate/checker_test.go

Issue 2561543002: Log hit and miss file and byte counts from exparchive. (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/cmd/isolate/checker.go ('k') | client/cmd/isolate/exp_archive.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/cmd/isolate/checker_test.go
diff --git a/client/cmd/isolate/checker_test.go b/client/cmd/isolate/checker_test.go
index aed5c9d01b686483322a29c0e852c8e10a2c9e6f..eb395406f4f42ceee09611fa8446e044667840f7 100644
--- a/client/cmd/isolate/checker_test.go
+++ b/client/cmd/isolate/checker_test.go
@@ -101,6 +101,13 @@ func TestChecker(t *testing.T) {
break
}
}
+
+ if got, want := checker.Hit.Count, 0; got != want {
+ t.Errorf("checker hit count: got %v ; want: %v", got, want)
+ }
+ if got, want := checker.Miss.Count, 150; got != want {
+ t.Errorf("checker hit count: got %v ; want: %v", got, want)
+ }
}
func TestCheckerDelay(t *testing.T) {
« no previous file with comments | « client/cmd/isolate/checker.go ('k') | client/cmd/isolate/exp_archive.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698