diff --git a/unit-tests/btree_counter_t.cc b/unit-tests/btree_counter_t.cc index dbc36f6..0b64585 100644 --- a/unit-tests/btree_counter_t.cc +++ b/unit-tests/btree_counter_t.cc @@ -54,12 +54,6 @@ namespace { block_manager<>::write_ref superblock(bm_->superblock(SUPERBLOCK)); } }; - - void dump_counts(block_counter const &bc) { - block_counter::count_map::const_iterator it, end = bc.get_counts().end(); - for (it = bc.get_counts().begin(); it != end; ++it) - cout << it->first << " -> " << it->second << endl; - } } //---------------------------------------------------------------- diff --git a/unit-tests/btree_damage_visitor_t.cc b/unit-tests/btree_damage_visitor_t.cc index f88ee18..71f6006 100644 --- a/unit-tests/btree_damage_visitor_t.cc +++ b/unit-tests/btree_damage_visitor_t.cc @@ -76,29 +76,6 @@ namespace { run keys; }; - ostream &operator <<(ostream &out, node_info const &ni) { - out << "node_info [leaf = " << ni.leaf - << ", depth " << ni.depth - << ", path ["; - - bool first = true; - btree_detail::btree_path::const_iterator it; - for (it = ni.path.begin(); it != ni.path.end(); ++it) { - if (first) - first = false; - else - out << ", "; - - out << *it; - } - - out << "], b " << ni.b - << ", keys " << ni.keys - << "]"; - - return out; - } - bool is_leaf(node_info const &n) { return n.leaf; } diff --git a/unit-tests/cache_superblock_t.cc b/unit-tests/cache_superblock_t.cc index 03f1a8c..f80b8dd 100644 --- a/unit-tests/cache_superblock_t.cc +++ b/unit-tests/cache_superblock_t.cc @@ -38,19 +38,6 @@ namespace { superblock sb_; }; - bool operator ==(superblock_corrupt const &lhs, superblock_corrupt const &rhs) { - return lhs.get_desc() == rhs.get_desc(); - } - - bool operator ==(superblock_invalid const &lhs, superblock_invalid const &rhs) { - return lhs.get_desc() == rhs.get_desc(); - } - - ostream &operator <<(ostream &out, damage const &d) { - out << d.get_desc(); - return out; - } - ostream &operator <<(ostream &out, superblock_invalid const &d) { out << "superblock_invalid: " << d.get_desc(); return out; diff --git a/unit-tests/copier_t.cc b/unit-tests/copier_t.cc index 1621c4c..d1a6687 100644 --- a/unit-tests/copier_t.cc +++ b/unit-tests/copier_t.cc @@ -33,11 +33,6 @@ namespace { unsigned const BLOCK_SIZE = 64u; using wait_result = io_engine::wait_result; - ostream &operator <<(ostream &out, wait_result const &wr) { - out << "wait_result[" << wr.first << ", " << wr.second << "]"; - return out; - } - ostream &operator <<(ostream &out, optional const &mwr) { if (mwr) { out << "Just[wait_result[" << mwr->first << ", " << mwr->second << "]]";