Top Level Namespace

Includes:
Benchmark, Xampl, XamplExample, XamplGenerator

Defined Under Namespace

Modules: Bench, BenchScript, RedisTest, Xampl, XamplTestRedis Classes: IndexedArray, LFUCache, LRU2Cache, LRUCache, ProjectGenerator, TestRollback, TestXampl

Constant Summary

Constants included from Xampl

Xampl::DEFAULT_CAPACITY

Instance Method Summary collapse

Methods included from Xampl

abnormal_return_from_transactions_are_errors, abnormal_return_from_transactions_are_errors=, add_lexical_indexs, add_numerical_indexs, auto_cache, auto_persistence, auto_uncache, block_future_changes, cache, clear_cache, close_all_persisters, count_changed, create_named_persister, default_persister_format, default_persister_kind, default_persister_options, disable_all_persisters, disable_persister, drop_all_persisters, drop_persister, enable_named_persister, enable_persister, find_known, find_mentions_of, find_meta, find_named_persister, find_pids, find_things_to_delete, find_xampl, flush_persister_caches, from_xml_file, from_xml_string, introduce_to_persister, lazy_load, log, lookup, lookup_in_map, make, optimise, persister, print_known_persisters, print_stats, query, query_implemented, raw_persister_options, read_only, read_only_transaction, register_persister_kind, remove_from_map, rollback, rollback_all, set_default_persister_format, set_default_persister_kind, set_default_persister_properties, store_in_cache, store_in_map, sync, sync_all, transaction, transaction_as_a_method, transaction_not_so_good, verboseTransactions, write_to_cache, xampl_extends_symbols, xampl_extends_symbols=

Instance Method Details

#assert_xampl_exception(name) ⇒ Object



9
10
11
12
13
14
# File 'lib/xamplr/test-support/test.rb', line 9

def assert_xampl_exception(name)
  xampl_exception = assert_raise(XamplException){
    yield
  }
  assert_equal(name, xampl_exception.name)
end