|
ARB
|
Classes | |
| class | asserter |
| class | containing |
| class | copy |
| class | copy< const char * > |
| class | copy< copy< T > > |
| class | debug_asserter |
| class | epsilon_similar |
| struct | expectation |
| class | expectation_group |
| class | FINAL_TYPE |
| struct | group_match |
| class | locinfo |
| class | match_expectation |
| struct | matchable |
| struct | matcher |
| class | predicate |
| class | predicate_description |
| class | predicate_matcher |
| struct | StaticCode |
| class | str |
| class | value_matcher |
Functions | |
| char * | val2readable (bool b) |
| char * | val2readable (int i) |
| char * | val2hex (int i) |
| char * | val2readable (long L) |
| char * | val2hex (long L) |
| char * | val2readable (size_t z) |
| char * | val2hex (size_t z) |
| char * | val2readable (long unsigned u) |
| char * | val2hex (long unsigned u) |
| char * | val2readable (double d) |
| char * | val2readable (unsigned char c) |
| char * | val2readable (const char *s) |
| template<typename T > | |
| copy< T > | make_copy (const T &t) |
| copy< const char * > | make_copy (const char *p) |
| copy< const char * > | make_copy (char *p) |
| copy< const char * > | make_copy (const unsigned char *p) |
| copy< const char * > | make_copy (unsigned char *p) |
| copy< const char * > | make_copy (const signed char *p) |
| copy< const char * > | make_copy (signed char *p) |
| copy< unsigned char > | make_copy (char p) |
| copy< unsigned char > | make_copy (unsigned char p) |
| copy< unsigned char > | make_copy (signed char p) |
| template<typename T > | |
| str | readable (const copy< T > &v) |
| template<typename T > | |
| str | readableHex (const copy< T > &v) |
| template<typename T > | |
| bool | operator== (const copy< T > &v1, const copy< T > &v2) |
| template<typename T > | |
| bool | operator!= (const copy< T > &v1, const copy< T > &v2) |
| template<> | |
| bool | operator==< const char * > (const copy< const char * > &v1, const copy< const char * > &v2) |
| template<typename T > | |
| void | print (const T &t) |
| template<typename T > | |
| void | print_hex (const T &t) |
| template<typename T1 , typename T2 > | |
| void | print_pair (T1 t1, T2 t2) |
| template<typename T1 , typename T2 > | |
| void | print_hex_pair (T1 t1, T2 t2) |
| void | print (const char *s) |
| void | print (char c) |
| void | print (int i) |
| void | space () |
| void | nl () |
| void | print_indent (int indent) |
| void | spaced (const char *word) |
| void | select_spaced (bool first, const char *singular, const char *plural) |
| template<typename FUNC > | |
| predicate< FUNC > | make_predicate (FUNC func, const char *primary, const char *inverse) |
| template<typename T > | |
| bool | equals (const copy< T > &t1, const copy< T > &t2) |
| template<typename T > | |
| bool | less (const copy< T > &t1, const copy< T > &t2) |
| template<typename T > | |
| bool | more (const copy< T > &t1, const copy< T > &t2) |
| template<typename T , typename U > | |
| const matchable_value< T > | make_matchable_value (const U &other, const char *code_) |
| template<typename T > | |
| const matchable_value< T > | CREATE_matchable (const copy< T > &val, const char *code) |
| group_matcher | all () |
| group_matcher | none () |
| group_matcher | atleast (int min) |
| group_matcher | atmost (int max) |
| group_matcher | exactly (int amount) |
| match_expectation | wrong (const expectation &e) |
| match_expectation | reports_error (const char *error) |
| match_expectation | doesnt_report_error (const char *error) |
| match_expectation | reported_error_contains (const char *error, const char *part) |
| template<typename T , typename U , typename V > | |
| void | expect_broken (const arb_test::matchable_value< T > &That, const U &want, const V &got, const char *file, int line) |
Variables | |
| const int | MAX_GROUP_SIZE = 5 |
|
inline |
Definition at line 278 of file test_unit.h.
Referenced by arb_test::asserter::expect_brokenif(), print(), and readable().
Definition at line 280 of file test_unit.h.
References arb_test::StaticCode::strf().
Definition at line 281 of file test_unit.h.
References arb_test::StaticCode::strf().
Referenced by print_hex().
Definition at line 283 of file test_unit.h.
References arb_test::StaticCode::strf().
Definition at line 284 of file test_unit.h.
References arb_test::StaticCode::strf().
Definition at line 286 of file test_unit.h.
References arb_test::StaticCode::strf().
Definition at line 287 of file test_unit.h.
References arb_test::StaticCode::strf().
Definition at line 294 of file test_unit.h.
References arb_test::StaticCode::strf().
Definition at line 295 of file test_unit.h.
References arb_test::StaticCode::strf().
|
inline |
Definition at line 298 of file test_unit.h.
References arb_test::StaticCode::strf().
Definition at line 300 of file test_unit.h.
References arb_test::StaticCode::strf().
Definition at line 301 of file test_unit.h.
References arb_test::StaticCode::readable_string().
Definition at line 332 of file test_unit.h.
Referenced by print(), and print_hex().
Definition at line 334 of file test_unit.h.
Definition at line 335 of file test_unit.h.
Definition at line 336 of file test_unit.h.
Definition at line 337 of file test_unit.h.
Definition at line 338 of file test_unit.h.
Definition at line 339 of file test_unit.h.
Definition at line 341 of file test_unit.h.
Definition at line 342 of file test_unit.h.
Definition at line 343 of file test_unit.h.
Definition at line 345 of file test_unit.h.
References val2readable().
Referenced by ARB_date_string(), PT_find_exProb(), readable_combined_protein(), arb_test::FINAL_TYPE< T >::readable_value(), and readableUnknownNames().
Definition at line 346 of file test_unit.h.
Definition at line 348 of file test_unit.h.
References T.
Definition at line 349 of file test_unit.h.
|
inline |
Definition at line 351 of file test_unit.h.
|
inline |
Definition at line 359 of file test_unit.h.
References fputs(), make_copy(), and val2readable().
Referenced by arb_test::group_match::amountzero(), PART::distanceTo(), arb_test::group_match::dump(), arb_test::value_matcher< T >::dump_brief_description(), arb_test::expectation_group::dump_brief_description(), arb_test::FINAL_TYPE< T >::dump_brief_description(), arb_test::value_matcher< T >::dump_expectation(), arb_test::group_match::dump_num_of(), arb_test::expectation_group::dump_some_expectations(), arb_test::asserter::expect_broken(), arb_test::asserter::expect_that(), arb_test::asserter::expect_wanted_behavior(), main(), nl(), print_file(), print_pair(), space(), and spaced().
|
inline |
Definition at line 364 of file test_unit.h.
References fputs(), make_copy(), and val2hex().
Referenced by print_hex_pair().
|
inline |
Definition at line 366 of file test_unit.h.
|
inline |
Definition at line 371 of file test_unit.h.
References fputc(), and print_hex().
|
inline |
Definition at line 410 of file test_unit.h.
References fputs().
|
inline |
Definition at line 411 of file test_unit.h.
References fputc().
|
inline |
Definition at line 412 of file test_unit.h.
|
inline |
Definition at line 414 of file test_unit.h.
References print().
Referenced by arb_test::group_match::dump(), arb_test::group_match::dump_num_of(), extractKeyword(), SEC_root::paintBackgroundColor(), print_indent(), probe_design_event(), and spaced().
|
inline |
Definition at line 415 of file test_unit.h.
References print().
Referenced by dated_info(), arb_test::group_match::dump(), format(), gb_create_header_array(), GB_get_arb_revision_tag(), AWT_configuration::Load(), and readableTime().
|
inline |
Definition at line 417 of file test_unit.h.
References space().
Referenced by arb_test::group_match::dump(), and arb_test::value_matcher< T >::dump_expectation().
|
inline |
Definition at line 419 of file test_unit.h.
References print(), and space().
Referenced by select_spaced().
Definition at line 420 of file test_unit.h.
References spaced().
Referenced by arb_test::group_match::dump(), arb_test::group_match::is(), and arb_test::group_match::was().
| predicate<FUNC> arb_test::make_predicate | ( | FUNC | func, |
| const char * | primary, | ||
| const char * | inverse | ||
| ) |
Definition at line 637 of file test_unit.h.
Definition at line 644 of file test_unit.h.
Referenced by AliData::differs_from(), and elementHasName().
Definition at line 645 of file test_unit.h.
Referenced by Cluster::lessByOrder(), and SortClusterIDsBy::operator()().
Definition at line 646 of file test_unit.h.
|
inline |
Definition at line 679 of file test_unit.h.
References T.
| const matchable_value<T> arb_test::CREATE_matchable | ( | const copy< T > & | val, |
| const char * | code | ||
| ) |
Definition at line 1009 of file test_unit.h.
|
inline |
Definition at line 1011 of file test_unit.h.
Referenced by UNTYPED::awt_create_collect_buttons(), BaseCounter::calcOverallCounter(), BaseCounter::checkOverallCounter(), CharCounter::clear(), CommandOutput::Contains(), CharCounter::countChars(), arb_test::expectation_group::dump_some_expectations(), CommandOutput::Equals(), CommandOutput::has_checksum(), NodeTextBuilder::init(), NT_del_mark_move_REF(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
|
inline |
Definition at line 1012 of file test_unit.h.
Referenced by RootSynchronizer::find_good_roots_for_trees(), FieldTransfer::ReadRule::readFrom(), GroupSearch::setDupCriteria(), and wrong().
|
inline |
Definition at line 1013 of file test_unit.h.
|
inline |
Definition at line 1014 of file test_unit.h.
|
inline |
Definition at line 1015 of file test_unit.h.
|
inline |
Definition at line 1017 of file test_unit.h.
References none().
|
inline |
Definition at line 1104 of file test_unit.h.
References that.
|
inline |
Definition at line 1105 of file test_unit.h.
References that.
|
inline |
Definition at line 1106 of file test_unit.h.
References that.
|
inline |
Definition at line 1289 of file test_unit.h.
References line, and TEST_EXPECTATION__BROKEN_AT_LOC.
| const int arb_test::MAX_GROUP_SIZE = 5 |
Definition at line 783 of file test_unit.h.
1.8.8