summaryrefslogtreecommitdiff
path: root/sal/qa/osl/mutex/osl_Mutex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/qa/osl/mutex/osl_Mutex.cxx')
-rw-r--r--sal/qa/osl/mutex/osl_Mutex.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sal/qa/osl/mutex/osl_Mutex.cxx b/sal/qa/osl/mutex/osl_Mutex.cxx
index fcd00e6927c9..ad91d75cf187 100644
--- a/sal/qa/osl/mutex/osl_Mutex.cxx
+++ b/sal/qa/osl/mutex/osl_Mutex.cxx
@@ -500,7 +500,7 @@ namespace osl_Mutex
if ( bRes2 == sal_True )
aMutex.release( );
- CPPUNIT_ASSERT_MESSAGE( "release Mutex: try to aquire before and after the mutex has been released",
+ CPPUNIT_ASSERT_MESSAGE( "release Mutex: try to acquire before and after the mutex has been released",
bRes1 == sal_False && bRes2 == sal_True && bRunning == sal_True );
}
@@ -514,7 +514,7 @@ namespace osl_Mutex
sal_Bool bRes1 = aMutex.release( );
sal_Bool bRes2 = aMutex.release( );
- CPPUNIT_ASSERT_MESSAGE( "release Mutex: mutex should not be released without aquire, should not release twice. although the behaviour is still under discussion, this test is passed on (LINUX), not passed on (SOLARIS)&(WINDOWS)",
+ CPPUNIT_ASSERT_MESSAGE( "release Mutex: mutex should not be released without acquire, should not release twice. although the behaviour is still under discussion, this test is passed on (LINUX), not passed on (SOLARIS)&(WINDOWS)",
bRes1 == sal_False && bRes2 == sal_False );
#endif
}
@@ -655,7 +655,7 @@ namespace osl_Guard
aMutex.release( );
myThread.join( );
- CPPUNIT_ASSERT_MESSAGE("GuardThread constructor: reference initialization, aquire the mutex before running the thread, then check if it is blocking.",
+ CPPUNIT_ASSERT_MESSAGE("GuardThread constructor: reference initialization, acquire the mutex before running the thread, then check if it is blocking.",
bRes == sal_True);
}
@@ -719,7 +719,7 @@ namespace osl_ClearableGuard
/// it will return sal_False if the aMutex has not been Guarded.
sal_Bool bRes = aMutex.release( );
- CPPUNIT_ASSERT_MESSAGE("ClearableMutexGuard constructor, test the aquire operation when initilized.",
+ CPPUNIT_ASSERT_MESSAGE("ClearableMutexGuard constructor, test the acquire operation when initilized.",
bRes == sal_True );
}
@@ -733,7 +733,7 @@ namespace osl_ClearableGuard
/// it will return sal_False if the aMutex has not been Guarded.
sal_Bool bRes = aMutex.release( );
- CPPUNIT_ASSERT_MESSAGE("ClearableMutexGuard constructor, test the aquire operation when initilized, we use reference constructor this time.",
+ CPPUNIT_ASSERT_MESSAGE("ClearableMutexGuard constructor, test the acquire operation when initilized, we use reference constructor this time.",
bRes == sal_True );
}
@@ -858,7 +858,7 @@ namespace osl_ResettableGuard
/// it will return sal_False if the aMutex has not been Guarded.
sal_Bool bRes = aMutex.release( );
- CPPUNIT_ASSERT_MESSAGE("ResettableMutexGuard constructor, test the aquire operation when initilized.",
+ CPPUNIT_ASSERT_MESSAGE("ResettableMutexGuard constructor, test the acquire operation when initilized.",
bRes == sal_True );
}
@@ -872,7 +872,7 @@ namespace osl_ResettableGuard
/// it will return sal_False if the aMutex has not been Guarded.
sal_Bool bRes = aMutex.release( );
- CPPUNIT_ASSERT_MESSAGE( "ResettableMutexGuard constructor, test the aquire operation when initilized, we use reference constructor this time.",
+ CPPUNIT_ASSERT_MESSAGE( "ResettableMutexGuard constructor, test the acquire operation when initilized, we use reference constructor this time.",
bRes == sal_True );
}
@@ -920,7 +920,7 @@ namespace osl_ResettableGuard
myMutexGuard.reset( );
sal_Bool bRes1 = aMutex.release( );
- CPPUNIT_ASSERT_MESSAGE( "ResettableMutexGuard method: reset, release after clear and reset, on Solaris, the mutex can be release without aquire, so it can not passed on (SOLARIS), but not the reason for reset_002",
+ CPPUNIT_ASSERT_MESSAGE( "ResettableMutexGuard method: reset, release after clear and reset, on Solaris, the mutex can be release without acquire, so it can not passed on (SOLARIS), but not the reason for reset_002",
( sal_False == bRes ) && ( sal_True == bRes1 ) );
}