7 #define BOOST_TEST_DYN_LINK
8 #define BOOST_TEST_MODULE "Test module for the ui NBrowser class"
20 BOOST_AUTO_TEST_SUITE( uiCoreNBrowserSuite )
40 BOOST_CHECK_EQUAL(b.
generate_name(), std::string(
"Browser_0"));
41 BOOST_CHECK_EQUAL(b.
generate_name(), std::string(
"Browser_1"));
42 BOOST_CHECK_EQUAL(b.
generate_name(), std::string(
"Browser_2"));
44 for(
int i = 0 ; i < 15 ; i++)
47 BOOST_CHECK_EQUAL(b.
generate_name(), std::string(
"Browser_18"));
53 BOOST_AUTO_TEST_SUITE_END()
QApplication * application()
bool AssertionThrows
assertions throw exceptions
bool ExceptionOutputs
if exception contructor should output
static AssertionManager & instance()
Gets the instance of the manager.
Basic Classes for client-core library used by coolfluid-client application.
bool AssertionDumps
assertions dump backtraces
bool ExceptionDumps
if exception contructor should dump backtrace
Component that manages remote browsers. This class subclasses CNode class.
static ExceptionManager & instance()
Gets the instance of the manager.
std::string generate_name()
Generates a name for a browser The name has the format "Browser_i" where "i" is the value of an inter...
Most basic kernel library.
BOOST_AUTO_TEST_CASE(init)