The lru_cache_test Module
Created on 04.06.2011
@author: joe
-
cloudfusion.tests.lru_cache_test.test_delete()
-
cloudfusion.tests.lru_cache_test.test_exists()
-
cloudfusion.tests.lru_cache_test.test_get_keys()
-
cloudfusion.tests.lru_cache_test.test_get_modified()
-
cloudfusion.tests.lru_cache_test.test_get_size_of_cached_data()
-
cloudfusion.tests.lru_cache_test.test_get_size_of_dirty_data()
-
cloudfusion.tests.lru_cache_test.test_get_value()
-
cloudfusion.tests.lru_cache_test.test_is_dirty()
-
cloudfusion.tests.lru_cache_test.test_is_expired()
-
cloudfusion.tests.lru_cache_test.test_refresh()
-
cloudfusion.tests.lru_cache_test.test_resize()
-
cloudfusion.tests.lru_cache_test.test_resize_dirty()
-
cloudfusion.tests.lru_cache_test.test_resize_zerosize()
-
cloudfusion.tests.lru_cache_test.test_set_modified()
-
cloudfusion.tests.lru_cache_test.test_update()
-
cloudfusion.tests.lru_cache_test.test_write()
The cache_test Module
Created on 04.06.2011
@author: joe
-
cloudfusion.tests.cache_test.test_delete()
-
cloudfusion.tests.cache_test.test_exists()
-
cloudfusion.tests.cache_test.test_get_keys()
-
cloudfusion.tests.cache_test.test_get_modified()
-
cloudfusion.tests.cache_test.test_get_size_of_cached_data()
-
cloudfusion.tests.cache_test.test_get_size_of_dirty_data()
-
cloudfusion.tests.cache_test.test_get_value()
-
cloudfusion.tests.cache_test.test_is_dirty()
-
cloudfusion.tests.cache_test.test_is_expired()
-
cloudfusion.tests.cache_test.test_refresh()
-
cloudfusion.tests.cache_test.test_set_modified()
-
cloudfusion.tests.cache_test.test_update()
-
cloudfusion.tests.cache_test.test_write()
The xmlparser_test Module
Created on 06.05.2011
@author: joe
-
cloudfusion.tests.xmlparser_test.test_populate_dict_with_XML_collection_leaf_textnodes1()
-
cloudfusion.tests.xmlparser_test.test_populate_dict_with_XML_collection_leaf_textnodes2()
-
cloudfusion.tests.xmlparser_test.test_populate_dict_with_XML_leaf_textnodes()
The mp_cache_test Module
Created on 04.06.2011
@author: joe
-
cloudfusion.tests.mp_cache_test.test_delete()
-
cloudfusion.tests.mp_cache_test.test_exists()
-
cloudfusion.tests.mp_cache_test.test_get_keys()
-
cloudfusion.tests.mp_cache_test.test_get_modified()
-
cloudfusion.tests.mp_cache_test.test_get_size_of_cached_data()
-
cloudfusion.tests.mp_cache_test.test_get_size_of_dirty_data()
-
cloudfusion.tests.mp_cache_test.test_get_value()
-
cloudfusion.tests.mp_cache_test.test_is_dirty()
-
cloudfusion.tests.mp_cache_test.test_is_expired()
-
cloudfusion.tests.mp_cache_test.test_refresh()
-
cloudfusion.tests.mp_cache_test.test_set_modified()
-
cloudfusion.tests.mp_cache_test.test_update()
-
cloudfusion.tests.mp_cache_test.test_write()
The persistent_lru_cache_test Module
Created on 04.06.2011
@author: joe
-
cloudfusion.tests.persistent_lru_cache_test.set_up()
-
cloudfusion.tests.persistent_lru_cache_test.tear_down()
-
cloudfusion.tests.persistent_lru_cache_test.test_delete()
-
cloudfusion.tests.persistent_lru_cache_test.test_exists()
-
cloudfusion.tests.persistent_lru_cache_test.test_get_keys()
-
cloudfusion.tests.persistent_lru_cache_test.test_get_modified()
-
cloudfusion.tests.persistent_lru_cache_test.test_get_size_of_cached_data()
-
cloudfusion.tests.persistent_lru_cache_test.test_get_size_of_dirty_data()
-
cloudfusion.tests.persistent_lru_cache_test.test_get_value()
-
cloudfusion.tests.persistent_lru_cache_test.test_is_dirty()
-
cloudfusion.tests.persistent_lru_cache_test.test_is_expired()
-
cloudfusion.tests.persistent_lru_cache_test.test_persistence()
-
cloudfusion.tests.persistent_lru_cache_test.test_refresh()
-
cloudfusion.tests.persistent_lru_cache_test.test_reorder()
-
cloudfusion.tests.persistent_lru_cache_test.test_resize()
-
cloudfusion.tests.persistent_lru_cache_test.test_resize_dirty()
-
cloudfusion.tests.persistent_lru_cache_test.test_resize_zerosize()
-
cloudfusion.tests.persistent_lru_cache_test.test_set_modified()
-
cloudfusion.tests.persistent_lru_cache_test.test_update()
-
cloudfusion.tests.persistent_lru_cache_test.test_write()
The config Module
Functions to provide configuration data for each store during a test run.
Created on Dec 19, 2014
@author: joe
-
cloudfusion.tests.config.get_amazon_config()
-
cloudfusion.tests.config.get_dropbox_config()
-
cloudfusion.tests.config.get_gdrive_config()
-
cloudfusion.tests.config.get_google_config()
-
cloudfusion.tests.config.get_local_config()
-
cloudfusion.tests.config.get_sugarsync_config()
-
cloudfusion.tests.config.get_webdav_box_config()
-
cloudfusion.tests.config.get_webdav_fourshared_config()
-
cloudfusion.tests.config.get_webdav_gmx_config()
-
cloudfusion.tests.config.get_webdav_tonline_config()
-
cloudfusion.tests.config.get_webdav_yandex_config()
The synchronize_proxy_test Module
Created on Jun 11, 2013
@author: joe
-
class cloudfusion.tests.synchronize_proxy_test.TestSubject
Bases: object
-
_TestSubject__change()
-
_TestSubject__unchange()
-
get_value()
-
temporarily_change_value()
-
class cloudfusion.tests.synchronize_proxy_test.TestingThread(test_obj)
Bases: threading.Thread
-
run()
-
cloudfusion.tests.synchronize_proxy_test.random() → x in the interval [0, 1).
-
cloudfusion.tests.synchronize_proxy_test.test()
The store_tests Module
Module to test all implementations of the Store interface,
as well as the extension interface BulkGetMetadata.
The actual test only tests one service; For instance test_dropbox
only tests the Store implementation DropboxStore, but it might
also test integration with various wrapper classes like MetadataCachingStore
or MultiprocessingCachingStore.
The tests can be executed in parallel by calling each test individually
in a separate nosetests process like this:
nosetests -v -s -x cloudfusion.tests.store_tests:test_dropbox &
nosetests -v -s -x cloudfusion.tests.store_tests:test_sugarsync &
nosetests -v -s -x cloudfusion.tests.store_tests:test_local &
nosetests -v -s -x cloudfusion.tests.store_tests:test_amazon &
nosetests -v -s -x cloudfusion.tests.store_tests:test_google &
nosetests -v -s -x cloudfusion.tests.store_tests:test_gdrive &
nosetests -v -s -x cloudfusion.tests.store_tests:test_webdav_tonline &
nosetests -v -s -x cloudfusion.tests.store_tests:test_webdav_gmx &
nosetests -v -s -x cloudfusion.tests.store_tests:test_webdav_box &
nosetests -v -s -x cloudfusion.tests.store_tests:test_webdav_yandex &
Created on Dec 18, 2014
@author: joe
-
cloudfusion.tests.store_tests._assert_all_in(in_list, all_list)
-
cloudfusion.tests.store_tests._assert_equal_with_variance(val1, val2, variance, msg='')
-
cloudfusion.tests.store_tests._create_directories(store, root_dir='/')
-
cloudfusion.tests.store_tests._create_test_directory(store)
-
cloudfusion.tests.store_tests._delete_directories(store, root_dir='/')
-
cloudfusion.tests.store_tests._delete_file(store, filename, root_dir='/')
-
cloudfusion.tests.store_tests._dir_exists(store, path)
-
cloudfusion.tests.store_tests._generate_bulk_get_metadata_tests(store, description_of_store)
-
cloudfusion.tests.store_tests._generate_store_tests(store, description_of_store, include_space_tests=True)
Generate general tests for store.
:param store: The object to test.
:type store: Store
:param description_of_store: String to describe the store instance.
:param include_space_tests: Indicates if tests about the free, used, and overall space should be executed.
:type include_space_tests: boolean
-
cloudfusion.tests.store_tests._test_account_info(store)
-
cloudfusion.tests.store_tests._test_bulk_get_metadata(store)
-
cloudfusion.tests.store_tests._test_create_delete_directory(store)
-
cloudfusion.tests.store_tests._test_duplicate(store)
-
cloudfusion.tests.store_tests._test_exists(store)
-
cloudfusion.tests.store_tests._test_fail_on_get_bytes(store)
-
cloudfusion.tests.store_tests._test_fail_on_get_modified(store)
-
cloudfusion.tests.store_tests._test_fail_on_is_dir(store)
-
cloudfusion.tests.store_tests._test_get_bytes(store)
-
cloudfusion.tests.store_tests._test_get_directory_listing(store)
-
cloudfusion.tests.store_tests._test_get_file(store)
-
cloudfusion.tests.store_tests._test_get_free_space(store)
-
cloudfusion.tests.store_tests._test_get_modified(store)
-
cloudfusion.tests.store_tests._test_get_overall_space(store)
-
cloudfusion.tests.store_tests._test_get_used_space(store)
-
cloudfusion.tests.store_tests._test_is_dir(store)
-
cloudfusion.tests.store_tests._test_move_directory(store)
-
cloudfusion.tests.store_tests._test_move_file(store)
-
cloudfusion.tests.store_tests._test_store_delete_file(store)
-
cloudfusion.tests.store_tests.teardown_func()
-
cloudfusion.tests.store_tests.test_amazon()
-
cloudfusion.tests.store_tests.test_dropbox()
-
cloudfusion.tests.store_tests.test_gdrive()
-
cloudfusion.tests.store_tests.test_google()
-
cloudfusion.tests.store_tests.test_local()
-
cloudfusion.tests.store_tests.test_sugarsync()
-
cloudfusion.tests.store_tests.test_webdav_box()
-
cloudfusion.tests.store_tests.test_webdav_gmx()
-
cloudfusion.tests.store_tests.test_webdav_tonline()
-
cloudfusion.tests.store_tests.test_webdav_yandex()
The transparent_store_test_with_sync Module
-
cloudfusion.tests.transparent_store_test_with_sync._assert_all_in(in_list, all_list)
-
cloudfusion.tests.transparent_store_test_with_sync._assert_equal_with_variance(val1, val2, variance, msg='')
-
cloudfusion.tests.transparent_store_test_with_sync._create_directories(io_api, root_dir='/')
-
cloudfusion.tests.transparent_store_test_with_sync._delete_directories(io_api, root_dir='/')
-
cloudfusion.tests.transparent_store_test_with_sync._delete_file(io_api, filename, root_dir='/')
-
cloudfusion.tests.transparent_store_test_with_sync._dir_exists(io_api, path)
-
cloudfusion.tests.transparent_store_test_with_sync._test_account_info(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_create_delete_directory(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_duplicate(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_exists(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_fail_on_get_bytes(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_fail_on_get_modified(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_fail_on_is_dir(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_get_bytes(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_get_directory_listing(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_get_file(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_get_free_space(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_get_modified(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_get_overall_space(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_get_used_space(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_is_dir(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_move_directory(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_move_file(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync._test_store_delete_file(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync.finish_upload(io_api)
-
cloudfusion.tests.transparent_store_test_with_sync.get_dropbox_config()
-
cloudfusion.tests.transparent_store_test_with_sync.get_sugarsync_config()
-
cloudfusion.tests.transparent_store_test_with_sync.setUp()
-
cloudfusion.tests.transparent_store_test_with_sync.tearDown()
-
cloudfusion.tests.transparent_store_test_with_sync.test_io_apis()
The db_logging_thread_test Module
Created on Oct 27, 2013
@author: joe
-
class cloudfusion.tests.db_logging_thread_test.TestingProcess
Bases: object
-
join()
-
run()
-
start()
-
class cloudfusion.tests.db_logging_thread_test.TestingThread
Bases: threading.Thread
-
run()
-
cloudfusion.tests.db_logging_thread_test.random() → x in the interval [0, 1).
-
cloudfusion.tests.db_logging_thread_test.test()