|
Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|

Go to the source code of this file.
Defines | |
| #define | TEST_NOTHROW_WITH_MESSAGE(code) |
| #define | UNIT_TEST_GROUP_ANY_INTEGER(AnyIntegerType) |
| #define | UNIT_TEST_GROUP_SIGNED_INTEGER(SignedIntegerType) TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( asSafe, stringToIntegerNegative, SignedIntegerType ) |
| #define TEST_NOTHROW_WITH_MESSAGE | ( | code | ) |
try { \ (out) << "Test that code {"#code";} does not throw : "; \ code; \ (out) << "passes\n"; \ } \ catch (std::exception& theException) { \ (success) = false; \ out << "failed\n"; \ out << "\nException message for unexpected exception:\n\n"; \ { \ Teuchos::OSTab l_tab(out); \ out << theException.what() << "\n\n"; \ } \ }
Definition at line 48 of file TypeConversions_UnitTest.cpp.
| #define UNIT_TEST_GROUP_ANY_INTEGER | ( | AnyIntegerType | ) |
TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( asSafe, stringToIntegerPositive, AnyIntegerType ) \ TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( asSafe, stringToIntegerShouldThrow, AnyIntegerType )
Definition at line 993 of file TypeConversions_UnitTest.cpp.
| #define UNIT_TEST_GROUP_SIGNED_INTEGER | ( | SignedIntegerType | ) | TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( asSafe, stringToIntegerNegative, SignedIntegerType ) |
Definition at line 997 of file TypeConversions_UnitTest.cpp.
1.7.6.1