diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-03-28 06:26:58 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-03-28 06:30:27 +0200 |
commit | 533eadeb46c3db40daf0f18f89096c24e7f9c2bd (patch) | |
tree | 098466ce220c0d8186a945380cd870ffd944255d /sal | |
parent | f1e8da595d7eb52cb14b8931d47dfb4b38d868b8 (diff) |
CPPUNIT_ASSERT_MESSAGE -> CPPUNIT_ASSERT_EQUAL_MESSAGE
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/osl/process/osl_process.cxx | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx index 367d6d94aa23..8580ab2aaed8 100644 --- a/sal/qa/osl/process/osl_process.cxx +++ b/sal/qa/osl/process/osl_process.cxx @@ -159,10 +159,10 @@ public: 0, &process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_createProcess failed", - osl_error == osl_Process_E_None + osl_Process_E_None, osl_error ); TimeValue timeout; @@ -171,18 +171,18 @@ public: osl_error = osl_joinProcessWithTimeout(process, &timeout); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_joinProcessWithTimeout returned without timeout failure", - osl_Process_E_TimedOut == osl_error + osl_Process_E_TimedOut, osl_error ); osl_error = osl_terminateProcess(process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_terminateProcess failed", - osl_error == osl_Process_E_None + osl_Process_E_None, osl_error ); osl_freeProcessHandle(process); @@ -209,10 +209,10 @@ public: 0, &process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_createProcess failed", - osl_error == osl_Process_E_None + osl_Process_E_None, osl_error ); TimeValue timeout; @@ -221,10 +221,10 @@ public: osl_error = osl_joinProcessWithTimeout(process, &timeout); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_joinProcessWithTimeout returned with failure", - osl_Process_E_None == osl_error + osl_Process_E_None, osl_error ); osl_freeProcessHandle(process); @@ -249,18 +249,18 @@ public: 0, &process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_createProcess failed", - osl_error == osl_Process_E_None + osl_Process_E_None, osl_error ); osl_error = osl_joinProcessWithTimeout(process, NULL); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_joinProcessWithTimeout returned with failure", - osl_Process_E_None == osl_error + osl_Process_E_None, osl_error ); osl_freeProcessHandle(process); @@ -285,18 +285,18 @@ public: 0, &process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_createProcess failed", - osl_error == osl_Process_E_None + osl_Process_E_None, osl_error ); osl_error = ::osl_joinProcess(process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_joinProcess returned with failure", - osl_Process_E_None == osl_error + osl_Process_E_None, osl_error ); osl_freeProcessHandle(process); @@ -450,11 +450,11 @@ public: OUString create_temp_file(OUString &temp_file_url) { FileBase::RC rc = FileBase::createTempFile(0, 0, &temp_file_url); - CPPUNIT_ASSERT_MESSAGE("createTempFile failed", FileBase::E_None == rc); + CPPUNIT_ASSERT_EQUAL_MESSAGE("createTempFile failed", FileBase::E_None, rc); OUString temp_file_path; rc = FileBase::getSystemPathFromFileURL(temp_file_url, temp_file_path); - CPPUNIT_ASSERT_MESSAGE("getSystemPathFromFileURL failed", FileBase::E_None == rc); + CPPUNIT_ASSERT_EQUAL_MESSAGE("getSystemPathFromFileURL failed", FileBase::E_None, rc); return temp_file_path; } @@ -584,18 +584,18 @@ public: 0, &process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_createProcess failed", - osl_error == osl_Process_E_None + osl_Process_E_None, osl_error ); osl_error = ::osl_joinProcess(process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_joinProcess returned with failure", - osl_Process_E_None == osl_error + osl_Process_E_None, osl_error ); osl_freeProcessHandle(process); @@ -638,18 +638,18 @@ public: SAL_N_ELEMENTS(child_env), &process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_createProcess failed", - osl_error == osl_Process_E_None + osl_Process_E_None, osl_error ); osl_error = ::osl_joinProcess(process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_joinProcess returned with failure", - osl_Process_E_None == osl_error + osl_Process_E_None, osl_error ); osl_freeProcessHandle(process); @@ -685,18 +685,18 @@ public: 0, &process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_createProcess failed", - osl_error == osl_Process_E_None + osl_Process_E_None, osl_error ); osl_error = ::osl_joinProcess(process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_joinProcess returned with failure", - osl_Process_E_None == osl_error + osl_Process_E_None, osl_error ); osl_freeProcessHandle(process); @@ -721,18 +721,18 @@ public: 0, &process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_createProcess failed", - osl_error == osl_Process_E_None + osl_Process_E_None, osl_error ); osl_error = ::osl_joinProcess(process); - CPPUNIT_ASSERT_MESSAGE + CPPUNIT_ASSERT_EQUAL_MESSAGE ( "osl_joinProcess returned with failure", - osl_Process_E_None == osl_error + osl_Process_E_None, osl_error ); osl_freeProcessHandle(process); |