Lines Matching refs:VCDiffAddressCacheTest
35 class VCDiffAddressCacheTest : public testing::Test {
39 VCDiffAddressCacheTest() : decode_position_(NULL),
45 virtual ~VCDiffAddressCacheTest() { }
134 typedef VCDiffAddressCacheTest VCDiffAddressCacheDeathTest;
138 TEST_F(VCDiffAddressCacheTest, ZeroCacheSizes) {
143 TEST_F(VCDiffAddressCacheTest, NegativeCacheSizes) {
148 TEST_F(VCDiffAddressCacheTest, OnlySameCacheSizeIsNegative) {
153 TEST_F(VCDiffAddressCacheTest, ExtremePositiveCacheSizes) {
159 TEST_F(VCDiffAddressCacheTest, ExtremeNegativeCacheSizes) {
168 TEST_F(VCDiffAddressCacheTest, NearCacheSizeIsTooBig) {
173 TEST_F(VCDiffAddressCacheTest, SameCacheSizeIsTooBig) {
178 TEST_F(VCDiffAddressCacheTest, CombinedSizesAreTooBig) {
184 TEST_F(VCDiffAddressCacheTest, MaxLegalNearCacheSize) {
189 TEST_F(VCDiffAddressCacheTest, MaxLegalSameCacheSize) {
194 TEST_F(VCDiffAddressCacheTest, MaxLegalCombinedSizes) {
200 TEST_F(VCDiffAddressCacheTest, DestroyWithoutInitialization) {
205 TEST_F(VCDiffAddressCacheTest, DestroyDefaultWithoutInitialization) {
210 TEST_F(VCDiffAddressCacheTest, CacheContentsInitiallyZero) {
224 TEST_F(VCDiffAddressCacheTest, InsertFirstTen) {
242 TEST_F(VCDiffAddressCacheTest, InsertIntMax) {
255 TEST_F(VCDiffAddressCacheTest, EncodeAddressModes) {
272 TEST_F(VCDiffAddressCacheTest, DecodeAddressModes) {
321 TEST_F(VCDiffAddressCacheTest, EncodeAddressZeroCacheSizes) {
342 TEST_F(VCDiffAddressCacheTest, DecodeAddressZeroCacheSizes) {
423 TEST_F(VCDiffAddressCacheTest, DecodeAddressPastHereAddress) {
433 TEST_F(VCDiffAddressCacheTest, HereModeAddressTooLarge) {
443 TEST_F(VCDiffAddressCacheTest, NearModeAddressOverflow) {
468 TEST_F(VCDiffAddressCacheTest, DecodeInvalidVarint) {
485 TEST_F(VCDiffAddressCacheTest, DecodePartialVarint) {
523 TEST_F(VCDiffAddressCacheTest, DecodeInvalidHereAddress) {
533 TEST_F(VCDiffAddressCacheTest, DecodeInvalidNearAddress) {
550 void VCDiffAddressCacheTest::BM_Setup(int test_size) {
562 void VCDiffAddressCacheTest::BM_CacheEncode(int iterations, int test_size) {
587 void VCDiffAddressCacheTest::BM_CacheDecode(int iterations, int test_size) {
607 TEST_F(VCDiffAddressCacheTest, PerformanceTest) {