From: prascle Date: Sat, 15 Oct 2005 10:24:31 +0000 (+0000) Subject: PR: more specific messages on test fails X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5eba7c3cb877ca3d054c65f71684e7532c9613b9;p=modules%2Fkernel.git PR: more specific messages on test fails --- diff --git a/src/LifeCycleCORBA/Test/LifeCycleCORBATest.cxx b/src/LifeCycleCORBA/Test/LifeCycleCORBATest.cxx index dc30adfed..94a42a8cf 100644 --- a/src/LifeCycleCORBA/Test/LifeCycleCORBATest.cxx +++ b/src/LifeCycleCORBA/Test/LifeCycleCORBATest.cxx @@ -495,7 +495,9 @@ LifeCycleCORBATest::testFindOrLoad_Component_RemoteComputer() DEVTRACE("containerName = " << containerName); Engines::Component_var mycompo1 = _LCC.FindOrLoad_Component(containerName.c_str(),"SalomeTestComponent"); - CPPUNIT_ASSERT(!CORBA::is_nil(mycompo1)); + CPPUNIT_ASSERT_MESSAGE("Test validity requires connection to remote "\ + "computers from ResourcesCatalog", + !CORBA::is_nil(mycompo1)); // --- check narrow @@ -531,7 +533,9 @@ LifeCycleCORBATest::testFindOrLoad_Component_ParamsRemoteComputer() Engines::Component_var mycompo1 = _LCC.FindOrLoad_Component(params,"SalomeTestComponent"); - CPPUNIT_ASSERT(!CORBA::is_nil(mycompo1)); + CPPUNIT_ASSERT_MESSAGE("Test validity requires connection to remote "\ + "computers from ResourcesCatalog", + !CORBA::is_nil(mycompo1)); // --- check narrow @@ -568,7 +572,9 @@ LifeCycleCORBATest::testFindOrLoad_Component_ParamsRemoteComputer2() Engines::Component_var mycompo1 = _LCC.FindOrLoad_Component(params,"SalomeTestComponent"); - CPPUNIT_ASSERT(!CORBA::is_nil(mycompo1)); + CPPUNIT_ASSERT_MESSAGE("Test validity requires connection to remote "\ + "computers from ResourcesCatalog", + !CORBA::is_nil(mycompo1)); // --- check narrow