]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: CrushWrapper unit tests 899/head
authorLoic Dachary <loic@dachary.org>
Thu, 5 Dec 2013 13:09:16 +0000 (14:09 +0100)
committerLoic Dachary <loic@dachary.org>
Thu, 5 Dec 2013 17:07:03 +0000 (18:07 +0100)
commitccc6014512382cca393b7f41e9da77df3fdd598a
treebdd0b2ab08dc1b5487f7966acc524d8d5b118455
parentb9bff8e8cb7b039a8fe34b2e0880e829be8e2be7
crush: CrushWrapper unit tests

Covers all cases for the following methods. All but insert_item are trivial.

* insert_item
* set_item_name
* name_exists
* item_exists
* get_item_id
* get_item_name
* get_num_type_names
* get_type_id
* get_type_name
* is_valid_crush_name

Signed-off-by: Loic Dachary <loic@dachary.org>
src/test/Makefile.am
src/test/crush/TestCrushWrapper.cc [new file with mode: 0644]