class documentation

class TestLRUSizeCache(TestCase):

View In Hierarchy

Undocumented

Method test_add__null_key Undocumented
Method test_add_tracks_size Undocumented
Method test_adding_clears_cache_based_on_size The cache is cleared in LRU order until small enough
Method test_adding_clears_to_after_cleanup_size Undocumented
Method test_basic_init Undocumented
Method test_cleanup Undocumented
Method test_custom_sizes Undocumented
Method test_keys Undocumented
Method test_no_add_over_size Adding a large value may not be cached at all.
Method test_no_add_over_size_cleanup If a large value is not cached, we will call cleanup right away.
Method test_remove_tracks_size Undocumented
Method test_resize_larger Undocumented
Method test_resize_smaller Undocumented

Inherited from TestCase:

Method overrideEnv Undocumented
Method setUp Undocumented
def test_add__null_key(self):

Undocumented

def test_add_tracks_size(self):

Undocumented

def test_adding_clears_cache_based_on_size(self):

The cache is cleared in LRU order until small enough

def test_adding_clears_to_after_cleanup_size(self):

Undocumented

def test_basic_init(self):

Undocumented

def test_cleanup(self):

Undocumented

def test_custom_sizes(self):

Undocumented

def test_keys(self):

Undocumented

def test_no_add_over_size(self):

Adding a large value may not be cached at all.

def test_no_add_over_size_cleanup(self):

If a large value is not cached, we will call cleanup right away.

def test_remove_tracks_size(self):

Undocumented

def test_resize_larger(self):

Undocumented

def test_resize_smaller(self):

Undocumented