|
wibble
1.1
|
Classes | |
| struct | Actual |
| struct | ActualString |
| class | Location |
| struct | LocationInfo |
| struct | TestBool |
| struct | TestContains |
| struct | TestEndsWith |
| struct | TestEquals |
| struct | TestFileExists |
| struct | TestIsGt |
| struct | TestIsGte |
| struct | TestIsLt |
| struct | TestIsLte |
| struct | TestRegexp |
| struct | TestStartsWith |
Functions | |
| void | test_assert_re_match (WIBBLE_TEST_LOCPRM, const std::string ®exp, const std::string &actual) |
| void | test_assert_startswith (WIBBLE_TEST_LOCPRM, const std::string &expected, const std::string &actual) |
| void | test_assert_endswith (WIBBLE_TEST_LOCPRM, const std::string &expected, const std::string &actual) |
| void | test_assert_contains (WIBBLE_TEST_LOCPRM, const std::string &expected, const std::string &actual) |
| void | test_assert_istrue (WIBBLE_TEST_LOCPRM, bool val) |
| void | test_assert_file_exists (WIBBLE_TEST_LOCPRM, const std::string &fname) |
| void | test_assert_not_file_exists (WIBBLE_TEST_LOCPRM, const std::string &fname) |
| void | impl_ensure (const Location &loc, bool res) |
| void | impl_ensure_contains (const wibble::tests::Location &loc, const std::string &haystack, const std::string &needle) |
| void | impl_ensure_not_contains (const wibble::tests::Location &loc, const std::string &haystack, const std::string &needle) |
| template<class Actual , class Expected > | |
| void | impl_ensure_equals (const Location &loc, const Actual &actual, const Expected &expected) |
| template<class Actual , class Expected , class Precision > | |
| void | impl_ensure_similar (const Location &loc, const Actual &actual, const Expected &expected, const Precision &precision) |
| template<typename A > | |
| Actual< A > | actual (const A &actual) |
| ActualString | actual (const std::string &actual) |
| ActualString | actual (const char *actual) |
| ActualString | actual (char *actual) |
|
inline |
Referenced by wibble::tests::TestStartsWith::check(), wibble::tests::TestEndsWith::check(), wibble::tests::TestContains::check(), wibble::tests::TestRegexp::check(), wibble::tests::ActualString::contains(), wibble::tests::ActualString::endswith(), wibble::tests::ActualString::fileexists(), wibble::tests::Actual< std::string >::isfalse(), wibble::tests::Actual< std::string >::istrue(), wibble::tests::ActualString::matches(), wibble::tests::TestEquals< A, E >::operator!(), wibble::tests::TestIsLt< A, E >::operator!(), wibble::tests::TestIsLte< A, E >::operator!(), wibble::tests::TestIsGt< A, E >::operator!(), wibble::tests::TestIsGte< A, E >::operator!(), wibble::tests::Actual< std::string >::operator!=(), wibble::tests::ActualString::operator!=(), wibble::tests::Actual< std::string >::operator<(), wibble::tests::ActualString::operator<(), wibble::tests::Actual< std::string >::operator<=(), wibble::tests::ActualString::operator<=(), wibble::tests::Actual< std::string >::operator==(), wibble::tests::ActualString::operator==(), wibble::tests::Actual< std::string >::operator>(), wibble::tests::ActualString::operator>(), wibble::tests::Actual< std::string >::operator>=(), wibble::tests::ActualString::operator>=(), wibble::tests::ActualString::startswith(), and tut::test_object< Data >::test().
|
inline |
|
inline |
|
inline |
References WIBBLE_TEST_LOCPRM.
| void wibble::tests::impl_ensure | ( | const Location & | loc, |
| bool | res | ||
| ) |
References wibble::tests::Location::fail_test().
| void wibble::tests::impl_ensure_contains | ( | const wibble::tests::Location & | loc, |
| const std::string & | haystack, | ||
| const std::string & | needle | ||
| ) |
References wibble::tests::Location::fail_test().
| void wibble::tests::impl_ensure_equals | ( | const Location & | loc, |
| const Actual & | actual, | ||
| const Expected & | expected | ||
| ) |
References wibble::tests::Location::fail_test().
| void wibble::tests::impl_ensure_not_contains | ( | const wibble::tests::Location & | loc, |
| const std::string & | haystack, | ||
| const std::string & | needle | ||
| ) |
References wibble::tests::Location::fail_test().
| void wibble::tests::impl_ensure_similar | ( | const Location & | loc, |
| const Actual & | actual, | ||
| const Expected & | expected, | ||
| const Precision & | precision | ||
| ) |
References wibble::tests::Location::fail_test().
| void wibble::tests::test_assert_contains | ( | WIBBLE_TEST_LOCPRM | , |
| const std::string & | expected, | ||
| const std::string & | actual | ||
| ) |
References wibble::tests::Location::fail_test().
| void wibble::tests::test_assert_endswith | ( | WIBBLE_TEST_LOCPRM | , |
| const std::string & | expected, | ||
| const std::string & | actual | ||
| ) |
References wibble::str::endsWith(), and wibble::tests::Location::fail_test().
| void wibble::tests::test_assert_file_exists | ( | WIBBLE_TEST_LOCPRM | , |
| const std::string & | fname | ||
| ) |
References wibble::sys::fs::exists(), and wibble::tests::Location::fail_test().
| void wibble::tests::test_assert_istrue | ( | WIBBLE_TEST_LOCPRM | , |
| bool | val | ||
| ) |
References wibble::tests::Location::fail_test().
| void wibble::tests::test_assert_not_file_exists | ( | WIBBLE_TEST_LOCPRM | , |
| const std::string & | fname | ||
| ) |
References wibble::sys::fs::exists(), and wibble::tests::Location::fail_test().
| void wibble::tests::test_assert_re_match | ( | WIBBLE_TEST_LOCPRM | , |
| const std::string & | regexp, | ||
| const std::string & | actual | ||
| ) |
References wibble::tests::Location::fail_test(), and wibble::Regexp::match().
| void wibble::tests::test_assert_startswith | ( | WIBBLE_TEST_LOCPRM | , |
| const std::string & | expected, | ||
| const std::string & | actual | ||
| ) |
References wibble::tests::Location::fail_test(), and wibble::str::startsWith().
1.8.13