DescriptionHistogramTester::GetHistogramSamplesSinceCreation never returns null
Currently, GetHistogramSamplesSinceCreation can return null if no histogram was generated. But that depends also on tests run prior to the current test. This CL changes this to returning empty samples instead, so that independently of previously run tests, the current test always gets the same response even if it does not generate any histograms.
BUG=473689
Committed: https://crrev.com/ae9604308c926cc7df6205b5207dbf63c6e55314
Cr-Commit-Position: refs/heads/master@{#341498}
Patch Set 1 #Patch Set 2 : Fix compile #Patch Set 3 : Add one test, fix more #Patch Set 4 : Just rebased #
Total comments: 2
Patch Set 5 : sql tests simplified #
Total comments: 2
Patch Set 6 : Just rebased #Patch Set 7 : No static initializers #
Total comments: 2
Messages
Total messages: 19 (6 generated)
|